1.1.2 Build Problems - "rlm_eap-1.1.2.soT" - "ld: skipping incompatible"
Alan
abaker at cliquecom.com
Wed May 31 15:49:19 CEST 2006
When I compile the latest stable FreeRadius build version 1.1.2. I came
across a few problems. I noticed the eap library file has a "T" appended to
the end of it (rlm_eap-1.1.2.soT) and some "ld" warnings after running
"make". Please advise.
~Alan
OS: Red Hat Enterprise v.3 AMD64
---
Make ld warnings:
sql_mysql.c: In function `sql_error':
sql_mysql.c:333: warning: return discards qualifiers from pointer target
type
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for
-lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for
-lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for
-lnsl
/usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for
-lnsl
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
radius_snmp.c: In function `radServReset':
radius_snmp.c:263: warning: passing arg 2 of `asn_parse_int' from
incompatible pointer type
smux.c: In function `smux_getresp_send':
smux.c:257: warning: passing arg 2 of `asn_build_sequence' from incompatible
pointer type
smux.c:262: warning: passing arg 2 of `asn_build_int' from incompatible
pointer type
smux.c:268: warning: passing arg 2 of `asn_build_int' from incompatible
pointer type
smux.c:273: warning: passing arg 2 of `asn_build_int' from incompatible
pointer type
smux.c:279: warning: passing arg 2 of `asn_build_sequence' from incompatible
pointer type
smux.c:283: warning: passing arg 6 of `snmp_build_var_op' discards
qualifiers from pointer target type
smux.c:283: warning: passing arg 7 of `snmp_build_var_op' from incompatible
pointer type
smux.c:286: warning: passing arg 2 of `asn_build_sequence' from incompatible
pointer type
smux.c:289: warning: passing arg 2 of `asn_build_sequence' from incompatible
pointer type
smux.c: In function `smux_var':
smux.c:310: warning: passing arg 2 of `asn_parse_header' from incompatible
pointer type
smux.c:318: warning: passing arg 7 of `snmp_parse_var_op' from incompatible
pointer type
smux.c: In function `smux_set':
smux.c:432: warning: passing arg 3 of pointer to function from incompatible
pointer type
smux.c: In function `smux_get':
smux.c:492: warning: passing arg 3 of pointer to function from incompatible
pointer type
smux.c: In function `smux_getnext':
smux.c:577: warning: passing arg 3 of pointer to function from incompatible
pointer type
smux.c: In function `smux_parse_rrsp':
smux.c:700: warning: passing arg 2 of `asn_parse_int' from incompatible
pointer type
smux.c: In function `smux_parse':
smux.c:723: warning: passing arg 2 of `asn_parse_header' from incompatible
pointer type
smux.c: In function `smux_open':
smux.c:869: warning: passing arg 2 of `asn_build_header' from incompatible
pointer type
smux.c:875: warning: passing arg 2 of `asn_build_int' from incompatible
pointer type
smux.c:881: warning: passing arg 2 of `asn_build_objid' from incompatible
pointer type
smux.c:887: warning: passing arg 2 of `asn_build_string' from incompatible
pointer type
smux.c:893: warning: passing arg 2 of `asn_build_string' from incompatible
pointer type
smux.c:897: warning: passing arg 2 of `asn_build_header' from incompatible
pointer type
smux.c: In function `smux_register':
smux.c:922: warning: passing arg 2 of `asn_build_header' from incompatible
pointer type
smux.c:928: warning: passing arg 2 of `asn_build_objid' from incompatible
pointer type
smux.c:934: warning: passing arg 2 of `asn_build_int' from incompatible
pointer type
smux.c:940: warning: passing arg 2 of `asn_build_int' from incompatible
pointer type
smux.c:947: warning: passing arg 2 of `asn_build_header' from incompatible
pointer type
/usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for
-lnsl
/usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for
-lnsl
/usr/bin/ld: skipping incompatible /usr/lib/libresolv.so when searching for
-lresolv
/usr/bin/ld: skipping incompatible /usr/lib/libresolv.a when searching for
-lresolv
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for
-lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.so when searching for
-lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libcrypt.a when searching for
-lcrypt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
radrelay.c: In function `main':
radrelay.c:875: warning: passing arg 1 of `free' discards qualifiers from
pointer target type
Make install errors:
libtool: install: warning: relinking `rlm_eap.la'
(cd /home/user/freeradius-1.1.2/src/modules/rlm_eap; /bin/sh
/home/user/freeradius-1.1.2/libtool --mode=relink gcc -release 1.1.2 -module
-export-dynamic -o rlm_eap.la -rpath /software/freeradius-1.1.2/lib
rlm_eap.lo eap.lo mem.lo state.lo rlm_eap.c eap.c mem.c state.c
/home/user/freeradius-1.1.2/src/lib/libradius.la libeap/libeap.la -lltdl
-lnsl -lresolv -lpthread)
*** Warning: This library needs some functionality provided by -lltdl.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module rlm_eap. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/rlm_eap.a rlm_eap.o eap.o mem.o state.o
ranlib .libs/rlm_eap.a
creating rlm_eap.la
(cd .libs && rm -f rlm_eap.la && ln -s ../rlm_eap.la rlm_eap.la)
/home/user/freeradius-1.1.2/install-sh -c -c .libs/rlm_eap-1.1.2.soT
/software/freeradius-1.1.2/lib/rlm_eap-1.1.2.so
install: .libs/rlm_eap-1.1.2.soT does not exist
gmake[6]: *** [install] Error 1
gmake[6]: Leaving directory
`/home/user/freeradius-1.1.2/src/modules/rlm_eap'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/home/user/freeradius-1.1.2/src/modules'
gmake[4]: *** [install] Error 2
gmake[4]: Leaving directory `/home/user/freeradius-1.1.2/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/home/user/freeradius-1.1.2/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/home/user/freeradius-1.1.2/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/home/user/freeradius-1.1.2'
make: *** [install] Error 2
More information about the Freeradius-Users
mailing list