On Jun 5, stephen farrell wrote
> Oh geez... what have I done?  I can't seem to figure out which library
> is missing, but if I try to compile, e.g.:

>       /tmp/cca027141.o: In function `main':
>       /tmp/cca027141.o(.text+0xe): undefined reference to `_stdprintf'

OK. Linker errors. Please provide us with the following information:
- the version of binutils (binutils contains the linker) ("dpkg -l binutils").
- the output of trying to compile your program with "-Wl,--verbose"
- does compiling work when you add '--static'?

> And you can imagine it gets worse for something bigger!  I figured I'd
> hosed libc.a or similar?

libc.a is only used when compiling "-static"; otherwise the dynamic library
/lib/libc.so* is used)

> Thoughts on unhosing my compiler very welcome...

It looks like a linker problem; you might try to install a different version
of "binutils" (don't forget the matching "libbfd*" package).

Ray
-- 
ART  A friend of mine in Tulsa, Okla., when I was about eleven years old. 
I'd be interested to hear from him. There are so many pseudos around taking 
his name in vain. 
- The Hipcrime Vocab by Chad C. Mulligan 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to