compiling 1.1.6 on solaris problem
Norbert Wegener
norbert.wegener at siemens.com
Tue Apr 17 22:08:21 CEST 2007
Alan DeKok schrieb:
> ...
>
>> In file included from /root/freeradius-1.1.6/src/include/radiusd.h:31,
>> from rlm_dbm_parser.c:52:
>> /usr/include/netinet/in.h:302: warning: `INADDR_ANY' redefined
>> /root/freeradius-1.1.6/src/include/missing.h:73: warning: this is the
>> location of the previous definition
>> /usr/include/netinet/in.h:303: warning: `INADDR_LOOPBACK' redefined
>> /root/freeradius-1.1.6/src/include/missing.h:77: warning: this is the
>> location of the previous definition
>>
>
> The include file order is wrong. I've fixed this in the CVS head, but
> in 1.1.6, the best thing to do is:
>
> $ ./configure --without-rlm_dbm
>
This leads to a related problem in another context:
/root/freeradius-1.1.6/libtool --mode=link gcc -o radeapclient
radeapclient.lo libeap/libeap.la -lnsl -lresolv -lsocket -lposix4
-lpthread -lcrypto -lssl -lcrypto^M
gcc -o .libs/radeapclient .libs/radeapclient.o libeap/.libs/libeap.so
/root/freeradius-1.1.6/src/lib/.libs/libradius.so -lcrypt -lnsl -lresolv
-lsocket -lposix4 -lpthread -lssl -lcrypto -Wl,--rpath
-Wl,/usr/local/lib^M
/root/freeradius-1.1.6/src/lib/.libs/libradius.so: undefined reference
to `crypt at SUNW_1.1'^M
collect2: ld returned 1 exit status^M
gmake[6]: *** [radeapclient] Error 1^M
gmake[6]: Leaving directory `/root/freeradius-1.1.6/src/modules/rlm_eap'^M
gmake[5]: *** [common] Error 2^M
gmake[5]: Leaving directory `/root/freeradius-1.1.6/src/modules'^M
gmake[4]: *** [all] Error 2^M
gmake[4]: Leaving directory `/root/freeradius-1.1.6/src/modules'^M
gmake[3]: *** [common] Error 2^M
gmake[3]: Leaving directory `/root/freeradius-1.1.6/src'^M
gmake[2]: *** [all] Error 2^M
gmake[2]: Leaving directory `/root/freeradius-1.1.6/src'^M
gmake[1]: *** [common] Error 2^M
gmake[1]: Leaving directory `/root/freeradius-1.1.6'^M
make: *** [all] Error 2^M
Again, the whole output is at http://www.wegener-net.de/fr
Norbert Wegener
> Alan DeKok.
> --
> http://deployingradius.com - The web site of the book
> http://deployingradius.com/blog/ - The blog
> - List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list