Hi,
I'm having trouble compiling lam-7.0.6 on a Sun Sparc machine running
Solaris 8. I'm using gcc-3.4.2 as my compiler and enabling shared
libraries. The problem is that when I get to a certain point in the
compilation where lamclean.o is trying to be built, a number of undefined
symbols pop up. Specifically I get,
gcc -O3 -o .libs/lamclean lamclean.o ../../share/.libs/liblam.so -lsocket
-lnsl -lrt -lthread
-R/home/jbbrand1/foam/foam2.3/src/lam-7.0.6/platforms/solarisGcc34OptLAM/lib
Undefined first referenced
symbol in file
opt_taken lamclean.o
rbfwipe lamclean.o
do_args lamclean.o
show_help lamclean.o
kexit lamclean.o
validopts lamclean.o
nodespin_end lamclean.o
nodespin_init lamclean.o
kinit lamclean.o
lam_rfrmfd lamclean.o
lam_rtrcleanobjs lamclean.o
lam_rtrsweep lamclean.o
getnodes lamclean.o
rpdoom lamclean.o
lamfail lamclean.o
nodespin_next lamclean.o
getntype lamclean.o
ld: fatal: Symbol referencing errors. No output written to .libs/lamclean
collect2: ld returned 1 exit status
gmake[2]: *** [lamclean] Error 1
gmake[2]: Leaving directory
`/home/jbbrand1/foam/foam2.3/src/lam-7.0.6/otb/lamclean'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/jbbrand1/foam/foam2.3/src/lam-7.0.6/otb'
gmake: *** [all-recursive] Error 1
Now, I notice a previous user had an almost identical problem. The remedy
at the time was to do a clean build with the additional flag LIBS=-lrt at
the configure stage. That's what I've done here. However, it does not
seem to work for me. Unfortunately, the thread with the previous user
seems to come to an end before we find out if the procedure outlined
worked for them. Any ideas on how what I might be doing wrong?
Thanks in advance for the help.
Jason
|