newbie question: linking problem

davladus davladus@yandex.ru
Tue Mar 21 08:59:00 GMT 2006


Hello all!

I have a very strange linking problem... I'm trying to make dynamic library with gcc (MacX gcc 4.0.1). All necessary files has been compiled, but I canб▓t link them. 

I got message: a lot of undefined symbols. 

For example:

Ld : Undefined symbols:

б┘
__ZNK6TVect3IdE19CrossProdERKSO_   

..


In my project I have a class б⌠Vect3б■ and б⌠CrossProdб■ method inside it.


Command 

nm vect3.o б√a

  
shows that vect3.o contains _ZNK6TVect3IdE19CrossProdERKSO_ .



so I donб▓t have any ideas what I am doing wrong


 


thanks very much in advance,
& best regards
Vladimir



More information about the Gcc-help mailing list