ERROR freeradius compilation
Freebsd 4.10 Freeradius latest development CVS July 07, 2004 gmake[1]: Entering directory `/usr/local/radiusd/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -pthread -D_THREAD_SAFE -DOPENSSL _NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcas t-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-d eclarations -Wnested-externs -W -Wredundant-decls -Wundef -c ltdl.c ./libtool: s,^.*/,,g: not found -e: not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found : compile: cannot determine name of library object from `' gmake[1]: *** [ltdl.lo] Error 1 gmake[1]: Leaving directory `/usr/local/radiusd/libltdl' gmake: *** [common] Error 1 *** Error code 2 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: ERROR freeradius compilation
On Fri, Jul 02, 2004 at 04:45:53PM +0800, apellido jr., wilfredo p. wrote: Freebsd 4.10 Freeradius latest development CVS July 07, 2004 gmake[1]: Entering directory `/usr/local/radiusd/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -pthread -D_THREAD_SAFE -DOPENSSL _NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcas t-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-d eclarations -Wnested-externs -W -Wredundant-decls -Wundef -c ltdl.c ./libtool: s,^.*/,,g: not found Try changing line 27 of ltmain.sh: basename=s,^.*/,,g to basename='s,^.*/,,g' and line 37: progname=`echo $progpath | $SED $basename` to progname=`echo $progpath | $SED -e $basename` and reconfigure/rebuild... This looks like a different in 'sed' usage between platforms... and possibly a quoting issue? Otherwise, try running the supplied command without /bin/sh in front... -- Paul TBBle Hampson, on an alternate email client. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: ERROR freeradius compilation
Hmmm - Yep ... I wonder if the problem is the DATE ( CVS July 7, 2004 )... Actually Alan answered this question a couple of days ago... Has to do with the newer version of libtool... The current fix is to go into the libtldl source directory per Alan and perform the following: - The solution is to edit libltdl/Makefile, and change: top_builddir = . to: top_builddir = ./.. - Worked for me! gm... - Original Message - From: apellido jr., wilfredo p. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 02, 2004 4:45 AM Subject: ERROR freeradius compilation Freebsd 4.10 Freeradius latest development CVS July 07, 2004 gmake[1]: Entering directory `/usr/local/radiusd/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -pthread -D_THREAD_SAFE -DOPENSSL _NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcas t-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-d eclarations -Wnested-externs -W -Wredundant-decls -Wundef -c ltdl.c ./libtool: s,^.*/,,g: not found -e: not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found -e: not found : compile: cannot determine name of library object from `' gmake[1]: *** [ltdl.lo] Error 1 gmake[1]: Leaving directory `/usr/local/radiusd/libltdl' gmake: *** [common] Error 1 *** Error code 2 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- [This E-mail scanned for viruses by Declude Ant-Virus Scanner] --- [This E-mail scanned for viruses by Declude Ant-Virus Scanner] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
ERROR freeradius compilation
Just part of the error solved, i got new one after trying to change The solution is to edit libltdl/Makefile, and change: top_builddir = . to: top_builddir = ./.. here's the new one: ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_unlock' ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_lock' ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_init' gmake[5]: *** [rlm_dbm_parser] Error 1 gmake[5]: Leaving directory `/usr/local/radiusd/src/modules/rlm_dbm' gmake[4]: *** [common] Error 1 gmake[4]: Leaving directory `/usr/local/radiusd/src/modules' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/local/radiusd/src/modules' gmake[2]: *** [common] Error 1 gmake[2]: Leaving directory `/usr/local/radiusd/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/local/radiusd/src' gmake: *** [common] Error 1 *** Error code 2 Im tried to delete /src/module/rlm_dbm and try it again ... got another error :) ath -Wl,/usr/local/lib ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_unlock' ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_lock' ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_init' gmake[5]: *** [smbencrypt] Error 1 gmake[5]: Leaving directory `/usr/local/radiusd/src/modules/rlm_mschap' gmake[4]: *** [common] Error 1 gmake[4]: Leaving directory `/usr/local/radiusd/src/modules' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/local/radiusd/src/modules' gmake[2]: *** [common] Error 1 gmake[2]: Leaving directory `/usr/local/radiusd/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/local/radiusd/src' gmake: *** [common] Error 1 *** Error code 2 Actually im running freeradius-1.0.0-pre3, im just testing the latest development. thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: ERROR freeradius compilation
apellido jr., wilfredo p. [EMAIL PROTECTED] wrote: here's the new one: ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_unlock' ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_lock' ../../lib/.libs/libradius.so: undefined reference to `pthread_mutex_init' gmake[5]: *** [rlm_dbm_parser] Error 1 Hmm... the parser doesn't need to be linked against -lpthread, but there shouldn't be a problem with it. If you're not using rlm_dbm, just delete the directory, and ignore the error. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html