Re: Help, zillions of undefined references

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,

I think the missing symbols you mentioned are mostly in libgcc.

This suggests the possibility that you are building with one version
of the compiler and linking with another.  You need to be consistent
in this regard.  Are you building all of your code with gcc 2.96?
Your code and also all statically linked libraries should be built
with the same compiler.

Interesting. I looked more closely at the Makefile and found that CC was set to g++296 and CXX was set to g++. I have no idea what the purpose of CXX is in the Makefile but just for the hell of it I tried changing it to g++296 so it would match the compiler specified in CC. And this fixed the problem! Thanks very much for the helpful feedback. Sorry to be such a whiner...


Eric



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux