Re: [Sqlrelay-discussion] Problem with compilation of SQLRelay on RedHatEnterprise
Brought to you by:
mused
|
From: David M. <dav...@fi...> - 2006-03-29 21:00:13
|
_Unwind_Resume should be defined in either libstdc++ or libgcc_s. So, it's possible that one of them isn't getting pulled in, which would imply an error in the gcc link spec. That's kind of unlikely though. Another possibility is that the .o file was generated using a different version of gcc, or copied over from another machine. Is it possible that someone built the code on one machine, tarred it up, copied it to another machine, untarred it, ran configure and make, but forgot to do a make distclean before making the tarball? Dave dav...@fi... On Wed, 2006-03-22 at 15:30 +0100, Maciej Wisniowski wrote: > Hi! > > Rudiments are compiled correctly, but when trying to 'make' SQLRelay > 0.37 we > have error like below (our system is Red Hat Enterprise Linux ES release > 4 (Nahant)). > Any hints? > > g++ -o .libs/sqlr-listener .libs/sqlrlistener.o .libs/main.o > -L/root/install/relay/sqlrelay-0.37/src/util > /root/install/relay/sqlrelay-0.37/src/util/.libs/libsqlrutil.so > -L/usr/local/firstworks/lib /usr/local/firstworks/lib/librudiments.so > -lpthread -lrt -lcrypt -ldl -Wl,--rpath -Wl,/usr/local/firstworks/lib > .libs/sqlrlistener.o(.text+0x164): In function > `sqlrlistener::sqlrlistener()': > : undefined reference to `_Unwind_Resume' > .libs/sqlrlistener.o(.text+0x2d4): In function > `sqlrlistener::sqlrlistener()': > : undefined reference to `_Unwind_Resume' > .libs/sqlrlistener.o(.text+0xa3a): In function > `sqlrlistener::initListener(int, char const**)': > : undefined reference to `_Unwind_Resume' > .libs/sqlrlistener.o(.text+0xf50): In function > `sqlrlistener::initListener(int, char const**)': > : undefined reference to `_Unwind_Resume' > .libs/sqlrlistener.o(.text+0x13c5): In function > `sqlrlistener::verifyAccessToConfigFile(char const*, sqlrconfigfile*)': > : undefined reference to `_Unwind_Resume' > .libs/sqlrlistener.o(.text+0x1715): more undefined references to > `_Unwind_Resume' follow > collect2: ld returned 1 exit status > make[2]: *** [sqlr-listener] Error 1 > make[2]: Leaving directory `/root/install/relay/sqlrelay-0.37/src/listener' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/install/relay/sqlrelay-0.37/src' > make: *** [all] Error 2 > > |