Bart Van Daal wrote:

> Nicolas I'm currently using your radsqlrelay.c with the 1.0.2
> release and I've patched the makefile. I'm very new to this whole
> patching and code-hacking thing. I'm getting the following error
> message while making radsqlrelay: thanks for any pointers how to
> compile radsqlrelay.

The error messages below are related to libtool. Which version is
installed on your system ?

FreeRADIUS 1.0.2 is supposed to be built with libtool 1.4.x, I don't
know what happens when using libtool >= 1.5.

> gcc  -march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG
> -I../include  -DHOSTINFO=\"\" -DRADIUSD_VERSION=\"1.0.2\"   -o xlat.o -c
> xlat.c
> gcc  -march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG
> -I../include  -DHOSTINFO=\"\" -DRADIUSD_VERSION=\"1.0.2\"   -c valuepair.c
> gcc  -march=pentium3 -O3 -pipe -fomit-frame-pointer -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG
> -I../include  -DHOSTINFO=\"\" -DRADIUSD_VERSION=\"1.0.2\"   -c timestr.c
> gcc  -L../lib  radsqlrelay.o mainconfig.o util.o nas.o client.o log.o
> conffile.o files.o xlat.o valuepair.o timestr.o ../lib/.libs/libradius.so
> -o radsqlrelay
> radsqlrelay.o(.text+0xf26): In function `init_sql':
> : undefined reference to `lt_preloaded_symbols'
> radsqlrelay.o(.text+0xf2d): In function `init_sql':
> : undefined reference to `lt_dlpreload_default'
> radsqlrelay.o(.text+0xf32): In function `init_sql':
> : undefined reference to `lt_dlinit'
> radsqlrelay.o(.text+0xf53): In function `init_sql':
> : undefined reference to `lt_dlopenext'
> radsqlrelay.o(.text+0xf5e): In function `init_sql':
> : undefined reference to `lt_dlerror'
> radsqlrelay.o(.text+0xfa9): In function `init_sql':
> : undefined reference to `lt_dlsym'
> radsqlrelay.o(.text+0x1027): In function `init_sql':
> : undefined reference to `lt_dlclose'
> radsqlrelay.o(.text+0x1051): In function `init_sql':
> : undefined reference to `lt_dlerror'
> radsqlrelay.o(.text+0x10a9): In function `init_sql':
> : undefined reference to `lt_dlsetsearchpath'
> radsqlrelay.o(.text+0x10b3): In function `init_sql':
> : undefined reference to `lt_dlerror'
> ../lib/.libs/libradius.so: undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make: *** [radsqlrelay] Error 1

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to