[SAC-HELP] SAC 64-bit Installation

Katie Boyle kboyle at lbl.gov
Tue Apr 13 14:08:35 PDT 2010


Has anyone been able to successfully compile the SAC source code on a 64-bit
system? I've got both versions of libncurses, and my X11 libraries are
present. It seems like the problem is with linking. I'm stuck!

When I use gcc -m32, I get:

dfr.c:(.text+0x81c): undefined reference to `cmplxdiv'
dfr.c:(.text+0x888): undefined reference to `cmplxcj'
dfr.c:(.text+0x8a5): undefined reference to `cmplxmul'
dfr.c:(.text+0x8af): undefined reference to `cmplxtof'
dfr.c:(.text+0x905): undefined reference to `cmplxtof'
dfr.c:(.text+0x91c): undefined reference to `aimag'
/usr/bin/ld: final link failed: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [SAC] Error 1
make[1]: Leaving directory
`/home/hutchings/Desktop/SYNTHESIS/PROGRAMS/sac/SAC/src'
make: *** [all] Error 2

When I use gcc -m64, I get:

dfr.c:(.text+0x7b6): undefined reference to `cmplxdiv'
dfr.c:(.text+0x7c0): undefined reference to `cmplxtof'
dfr.c:(.text+0x7ff): undefined reference to `cmplxmul'
dfr.c:(.text+0x81c): undefined reference to `cmplxdiv'
dfr.c:(.text+0x888): undefined reference to `cmplxcj'
dfr.c:(.text+0x8a5): undefined reference to `cmplxmul'
dfr.c:(.text+0x8af): undefined reference to `cmplxtof'
dfr.c:(.text+0x905): undefined reference to `cmplxtof'
dfr.c:(.text+0x91c): undefined reference to `aimag'
collect2: ld returned 1 exit status
make[1]: *** [SAC] Error 1
make[1]: Leaving directory
`/home/hutchings/Desktop/SYNTHESIS/PROGRAMS/sac/SAC/src'
make: *** [all] Error 2

Thanks!
Katie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20100413/43ad4972/attachment.html>


More information about the sac-help mailing list