This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libtool flags and "extern"


Hi,

I am porting an existing library to make it gnu compliant by using
autotools. For building libraries I am using libtool but I am facing a
problem when trying to link some programs against those libraries with
undefined references. I have located the problem during compiling stage
(When generating objects for the libraries). Before it was done :

g++ -o foo.o -I/usr/include -fPIC foo.cc -c

And now with autotools it does:

g++ -I/includes -g -O2 -c foo.cc -MT foo.lo -MD -MP -MF .deps/foo.TPlo
-o foo.o

The problem is that I can not find what do those flags mean and why are
they causing problems. 

Libraries are built OK and problems are only with files newly added
which use "extern" functions... Do you know about issues with externs?

Thanks very much





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]