This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

gcc34 and older libraries


  Hi, i compile my program using gcc34.
  But I need to use libraries compiled using gcc-2.95
  Is it possible?
  I need use libraries compiled on older compiler, because
  on FreeBSD gcc34 installed around of native compiler.(gcc-2.95)

  Log with key -v.

g++34 -v -pthread -o httpts httpts.o htp_protocol.o /home/shebeko/Jheck/shared/pokrpak/pack.o \
                /home/shebeko/Jheck/shared/libpokr/libpokr.a\
               -L/usr/local/lib  -lstdc++ -lACE
Reading specs from /usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0/specs
Configured with: ./..//gcc-3.4-20040414/configure --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=34 --with-gxx-include-dir=/usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0/include/c++/ --disable-shared --disable-libgcj --prefix=/usr/local i386-portbld-freebsd4.9
Thread model: posix
gcc version 3.4.0 20040414 (prerelease) [FreeBSD]
 /usr/local/libexec/gcc/i386-portbld-freebsd4.9/3.4.0/collect2 -V -dynamic-linker /usr/libexec/ld-elf.so.1 -o httpts /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0/crtbegin.o -L/usr/local/lib -L/usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0 -L/usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0/../../.. httpts.o htp_protocol.o /home/shebeko/Jheck/shared/pokrpak/pack.o /home/shebeko/Jheck/shared/libpokr/libpokr.a -lstdc++ -lACE -lstdc++ -lm -lgcc -lc_r -lgcc /usr/local/lib/gcc/i386-portbld-freebsd4.9/3.4.0/crtend.o /usr/lib/crtn.o
/usr/local/lib/libACE.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
httpts.o: In function `server::server(char const*, int, ACE_Reactor*)':
httpts.o(.text+0x13): undefined reference to `ACE_Event_Handler::ACE_Event_Handler(ACE_Reactor*, int)'
httpts.o(.text+0x40): undefined reference to `ACE_UNIX_Addr::ACE_UNIX_Addr()'
httpts.o(.text+0x54): undefined reference to `ACE_INET_Addr::ACE_INET_Addr()'
httpts.o(.text+0x68): undefined reference to `ACE_SOCK_Acceptor::ACE_SOCK_Acceptor()'
... and many other undefined

Thanks.


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