CVS make error

Jan Mulders lastchancehotel at gmail.com
Fri Oct 20 20:11:42 CEST 2006


Hello all,

After much trouble I've managed to get CVS to download the right
version of freeradius (not radiusd-cistron...doh), and now I'm having
some problems with making it.

>From what I can see, there's some problems with EAP (which I happen to
not need). Is it possible (or even recommended) to remove EAP from the
compilation process? If so, how do I go about doing this?

Failing that, if somebody is feeling really nice they could code a fix
for CVS :)

Regards,

Jan

/root/installs/radiusd-cvs/radiusd/libtool --mode=compile gcc  -g -O2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef
-I/root/installs/radiusd-cvs/radiusd/src  -Ilibeap -c radeapclient.c
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef
-I/root/installs/radiusd-cvs/radiusd/src -Ilibeap -c radeapclient.c
-fPIC -DPIC -o .libs/radeapclient.o
radeapclient.c: In function `radlog':
radeapclient.c:111: warning: implicit declaration of function `va_start'
radeapclient.c:111: warning: nested extern declaration of `va_start'
radeapclient.c:113: warning: implicit declaration of function `va_end'
radeapclient.c:113: warning: nested extern declaration of `va_end'
radeapclient.c: In function `log_debug':
radeapclient.c:124: warning: nested extern declaration of `va_start'
radeapclient.c:111: warning: redundant redeclaration of 'va_start'
radeapclient.c:111: warning: previous implicit declaration of
'va_start' was here
radeapclient.c:126: warning: nested extern declaration of `va_end'
radeapclient.c:113: warning: redundant redeclaration of 'va_end'
radeapclient.c:113: warning: previous implicit declaration of 'va_end' was here
radeapclient.c: In function `radlog':
radeapclient.c:106: warning: 'ap' might be used uninitialized in this function
radeapclient.c: In function `log_debug':
radeapclient.c:121: warning: 'ap' might be used uninitialized in this function
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef
-I/root/installs/radiusd-cvs/radiusd/src -Ilibeap -c radeapclient.c -o
radeapclient.o >/dev/null 2>&1
/root/installs/radiusd-cvs/radiusd/libtool --mode=link gcc   -o
radeapclient radeapclient.lo libeap/libeap.la -lnsl -lresolv
-lpthread -lcrypto -lssl -lcrypto
gcc -o .libs/radeapclient .libs/radeapclient.o  libeap/.libs/libeap.so
-lssl -lcrypto -lnsl -lresolv -lpthread  -Wl,--rpath
-Wl,/usr/local/lib
.libs/radeapclient.o(.text+0x13b): In function `radlog':
/root/installs/radiusd-cvs/radiusd/src/modules/rlm_eap/radeapclient.c:111:
undefined reference to `va_start'
.libs/radeapclient.o(.text+0x15a):/root/installs/radiusd-cvs/radiusd/src/modules/rlm_eap/radeapclient.c:113:
undefined reference to `va_end'
.libs/radeapclient.o(.text+0x193): In function `log_debug':
/root/installs/radiusd-cvs/radiusd/src/modules/rlm_eap/radeapclient.c:124:
undefined reference to `va_start'
.libs/radeapclient.o(.text+0x1b2):/root/installs/radiusd-cvs/radiusd/src/modules/rlm_eap/radeapclient.c:126:
undefined reference to `va_end'
collect2: ld returned 1 exit status
gmake[6]: *** [radeapclient] Error 1
gmake[6]: Leaving directory
`/root/installs/radiusd-cvs/radiusd/src/modules/rlm_eap'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/root/installs/radiusd-cvs/radiusd/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/root/installs/radiusd-cvs/radiusd/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/installs/radiusd-cvs/radiusd/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/installs/radiusd-cvs/radiusd/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/installs/radiusd-cvs/radiusd'
make: *** [all] Error 2



More information about the Freeradius-Users mailing list