Thread: SAC 64-bit Installation

Started: 2010-04-13 21:08:35
Last activity: 2010-04-13 21:08:35
Topics: SAC Help
Katie Boyle
2010-04-13 21:08:35
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

Page built 19:00:21 | v.b'59d0d2