Thread: RE: installation problem 'dbl???' (fwd)

Started: 2006-02-27 19:10:55
Last activity: 2006-02-27 22:23:32
Topics: SAC Help
Arthur Snoke
2006-02-27 19:10:55
Further information on his problem.

---------- Forwarded message ----------
Date: Mon, 27 Feb 2006 15:32:27 +0200
From: Ekrem Zor <Ekrem.Zor<at>mam.gov.tr>
To: Arthur Snoke <snoke<at>vt.edu>
Subject: RE: [SAC-HELP] installation problem 'dbl???'

Hi,
Thanks for your interests,

1. I am working with sac 100.1 beta version.
2. Fedora Core 4 linux on 64 bit intel machine
3. sac2000 in binary package is working well. But, I could not use
sacio.a library into my fortran code. It gives error message like;

** ld: warning: i386 architecture of input file
`/usr/local/sac/lib/sacio.a(getsmsg.o)' is incompatible with i386:x86-64
output

So, I thought that if I get the source code and compile on my linux,
then I can create sacio.a library for my architecture. That was the
idea. Makefile creates sacio.a library, no problem, but it gives error
like below when I compile my fortran code with sacio.a library.

Thanks
Ekrem



/usr/local/sac/lib/sac.a(inissi.o)(.text+0x24): In function `inissi':
inissi.c: undefined reference to `dblClearErrorList'
/usr/local/sac/lib/sac.a(inissi.o)(.text+0x29):inissi.c: undefined
reference to `dbSetQueryDefaults'
/usr/local/sac/lib/sac.a(inissi.o)(.text+0x2e):inissi.c: undefined
reference to `smGetDefaultWorksetName'
/usr/local/sac/lib/sac.a(inissi.o)(.text+0x42):inissi.c: undefined
reference to `smDeleteWorksetByName'
/usr/local/sac/lib/sac.a(inidfm.o)(.text+0xeb5): In function `inidfm':
inidfm.c: undefined reference to `SetIndianSize'
/usr/local/sac/lib/sac.a(enddevice3.o)(.text+0x55): In function
`enddevice3':
enddevice3.c: undefined reference to `XCloseDisplay'
/usr/local/sac/lib/sac.a(setpsctable3.o)(.text+0x419): In function
`setpsctable3':
setpsctable3.c: undefined reference to `XAllocColor'
/usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0xe3): In function
`setpsctable5':
setpsctable5.c: undefined reference to `XCreateColormap'
/usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x11f):setpsctable5.c:
undefined reference to `XAllocColorCells'
/usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x187):setpsctable5.c:
undefined reference to `XQueryColor'
/usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x555):setpsctable5.c:
undefined reference to `XStoreColors'
/usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x57e):setpsctable5.c:
undefined reference to `XSetWindowColormap'
/usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x58a):setpsctable5.c:
undefined reference to `XFlush'


-----Original Message-----
From: Arthur Snoke [snoke<at>vt.edu]
Sent: Monday, February 27, 2006 3:13 PM
To: Ekrem Zor
Cc: sac-help<at>iris.washington.edu
Subject: Re: [SAC-HELP] installation problem 'dbl???'

someone may know the answer based on what you already sent, but it would

help if you provided a little more information:

1. Exactly what version are you working with? The latest is 100.1
beta.
2. What is your operating system?
3. Perhaps not relevant to your question, but do the binaries work for
you?


  • Brian Savage
    2006-02-27 22:23:32

    From my experience, getting SAC to compile and run natively on a 64-bit
    machine is going to be difficult. I attempted this a few months ago and
    ran into problems, mainly from non-portable constructs within the source
    code. I would suggest compiling in 32 bit mode, either on the 64 bit
    machine or a 32 bit machine. This will allow you to run SAC.

    I do not believe that SAC is curently supported on 64 bit linux
    machines, due to their limited availability. It should be supported in
    the future. The more appropriate mailing list for this is sac-dev.

    Cheers,
    Brian Savage
    savage13<at>dtm.ciw.edu

    Arthur Snoke wrote:
    Further information on his problem.

    ---------- Forwarded message ----------
    Date: Mon, 27 Feb 2006 15:32:27 +0200
    From: Ekrem Zor <Ekrem.Zor<at>mam.gov.tr>
    To: Arthur Snoke <snoke<at>vt.edu>
    Subject: RE: [SAC-HELP] installation problem 'dbl???'

    Hi,
    Thanks for your interests,

    1. I am working with sac 100.1 beta version.
    2. Fedora Core 4 linux on 64 bit intel machine
    3. sac2000 in binary package is working well. But, I could not use
    sacio.a library into my fortran code. It gives error message like;

    ** ld: warning: i386 architecture of input file
    `/usr/local/sac/lib/sacio.a(getsmsg.o)' is incompatible with i386:x86-64
    output

    So, I thought that if I get the source code and compile on my linux,
    then I can create sacio.a library for my architecture. That was the
    idea. Makefile creates sacio.a library, no problem, but it gives error
    like below when I compile my fortran code with sacio.a library.

    Thanks
    Ekrem



    /usr/local/sac/lib/sac.a(inissi.o)(.text+0x24): In function `inissi':
    inissi.c: undefined reference to `dblClearErrorList'
    /usr/local/sac/lib/sac.a(inissi.o)(.text+0x29):inissi.c: undefined
    reference to `dbSetQueryDefaults'
    /usr/local/sac/lib/sac.a(inissi.o)(.text+0x2e):inissi.c: undefined
    reference to `smGetDefaultWorksetName'
    /usr/local/sac/lib/sac.a(inissi.o)(.text+0x42):inissi.c: undefined
    reference to `smDeleteWorksetByName'
    /usr/local/sac/lib/sac.a(inidfm.o)(.text+0xeb5): In function `inidfm':
    inidfm.c: undefined reference to `SetIndianSize'
    /usr/local/sac/lib/sac.a(enddevice3.o)(.text+0x55): In function
    `enddevice3':
    enddevice3.c: undefined reference to `XCloseDisplay'
    /usr/local/sac/lib/sac.a(setpsctable3.o)(.text+0x419): In function
    `setpsctable3':
    setpsctable3.c: undefined reference to `XAllocColor'
    /usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0xe3): In function
    `setpsctable5':
    setpsctable5.c: undefined reference to `XCreateColormap'
    /usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x11f):setpsctable5.c:
    undefined reference to `XAllocColorCells'
    /usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x187):setpsctable5.c:
    undefined reference to `XQueryColor'
    /usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x555):setpsctable5.c:
    undefined reference to `XStoreColors'
    /usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x57e):setpsctable5.c:
    undefined reference to `XSetWindowColormap'
    /usr/local/sac/lib/sac.a(setpsctable5.o)(.text+0x58a):setpsctable5.c:
    undefined reference to `XFlush'


    -----Original Message-----
    From: Arthur Snoke [snoke<at>vt.edu]
    Sent: Monday, February 27, 2006 3:13 PM
    To: Ekrem Zor
    Cc: sac-help<at>iris.washington.edu
    Subject: Re: [SAC-HELP] installation problem 'dbl???'

    someone may know the answer based on what you already sent, but it would

    help if you provided a little more information:

    1. Exactly what version are you working with? The latest is 100.1
    beta.
    2. What is your operating system?
    3. Perhaps not relevant to your question, but do the binaries work for
    you?

    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


11:24:23 v.01697673