On Mon, Mar 26, 2001 at 03:26:44PM -0500, Christopher C. Chimelis wrote: > > FYI, on Alpha, I get: > > ~/testing > make > cc -c -o fubar.o fubar.c > cc -c -o bar.o bar.c > cc -c -o foo.o foo.c > cc -shared -o libfoo.so foo.o -lc > cc -shared -o libbar.so bar.o -L. -lfoo -lc > # libbar depends on libfoo > cc fubar.o libbar.so -o fubar > /usr/bin/ld: warning: libfoo.so, needed by libbar.so, not found (try using > -rpath or -rpath-link) > libbar.so: undefined reference to `foo' > collect2: ld returned 1 exit status > make: *** [fubar] Error 1 > > Interesting...now to play with it on my i386 box...
Does alpha have the latest gcc-2.95 built for it? If you aren't using that, you are probably seeing the weak sym problem. Not sure if you are on debian-gcc, but this has turned out to be a gcc problem. -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=========------=======-------------=-=-----=-===-======-------=--=---'