Linker problem with GCC 3.0
Neil Bird
neil.bird@uk.thalesgroup.com
Mon Jun 25 03:27:00 GMT 2001
"Karthikeyan M. D" wrote:
> % gcc -g -o test-ld test-ld.c -lA
> /tmp/dkarthik/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.0/../../../../sparc-sun
> -solaris2.6/bin/ld: cannot find -lA
> collect2: ld returned 1 exit status
Double check LD_LIBRRAY_PATH; and also see what 'truss -f
-eopen [the-above-gcc-command]' is trying to open (should see it
try to find libA.something somewhere, and thus be able to deduce
the library search path it's using).
|& tee it somewhere, there'll be a lot printed!
--
=================- http://www.thalesgroup.com/ -================
Neil Bird Principal Engineer |
work - mailto:neil.bird@uk.thalesgroup.com | $> cd /pub
personal - mailto:neil@fnxweb.com | $> more beer
More information about the Gcc-help
mailing list