Re:Re:Re Error in make freeradius_1.1.0(Correct)
Good day, Nicolas Baradakis I edit Makefile in src/modules/rlm_dbm as you advise and got such result EXCUSE for my previous post The CORRECT result of #make is ... gmake[6]: Entering directory `/u01/data/freeradius-1.1.0/src/modules/rlm_dbm' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I/usr /inc lude/openssl -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -DHAVE_GDBM_NDBM_ H -c rlm_dbm.c -o rlm_dbm.o rlm_dbm.c: In function `sm_parse_user': rlm_dbm.c:176: warning: assignment discards qualifiers from pointer target type rlm_dbm.c:210: warning: passing arg 2 of `paircmp' discards qualifiers from poin ter target type /u01/data/freeradius-1.1.0/libtool --mode=link ld \ -module -static -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO _KRB 5 -I/usr/include/openssl -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -DHAV E_GD BM_NDBM_H rlm_dbm.o -o rlm_dbm.a mkdir .libs ar cru rlm_dbm.a rlm_dbm.o ranlib rlm_dbm.a /u01/data/freeradius-1.1.0/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_PO SIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I/usr/include/openssl -Wall -D_GNU_ SOUR CE -DNDEBUG -I../../include -DHAVE_GDBM_NDBM_H -c rlm_dbm_parser.c rm -f .libs/rlm_dbm_parser.lo gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I/usr/ incl ude/openssl -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -DHAVE_GDBM_NDBM_H -c r lm_dbm_parser.c -fPIC -DPIC -o .libs/rlm_dbm_parser.lo rlm_dbm_parser.c: In function `storecontent': rlm_dbm_parser.c:165: warning: assignment discards qualifiers from pointer targe t type gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I/usr/ incl ude/openssl -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -DHAVE_GDBM_NDBM_H -c r lm_dbm_parser.c -o rlm_dbm_parser.o >/dev/null 2>&1 mv -f .libs/rlm_dbm_parser.lo rlm_dbm_parser.lo /u01/data/freeradius-1.1.0/libtool --mode=link gcc rlm_dbm_parser.lo ../../lib/l ibradius.la -L/usr/lib -lssl -L/usr/lib -lcrypto -lnsl -lresolv -lpthread -lgd bm -o rlm_dbm_parser gcc rlm_dbm_parser.o -o .libs/rlm_dbm_parser ../../lib/.libs/libradius.so -L/us r/lib -lssl -lcrypto -lnsl -lresolv -lpthread usr/lib/libgdbm.so -Wl,--rpath - Wl,/usr/local/lib ../../lib/.libs/libradius.so: undefined reference to `MD5Final' ../../lib/.libs/libradius.so: undefined reference to `crypt' ../../lib/.libs/libradius.so: undefined reference to `MD5Init' ../../lib/.libs/libradius.so: undefined reference to `MD5Update' collect2: ld returned 1 exit status gmake[6]: *** [rlm_dbm_parser] Error 1 gmake[6]: Leaving directory `/u01/data/freeradius-1.1.0/src/modules/rlm_dbm' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/u01/data/freeradius-1.1.0/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/u01/data/freeradius-1.1.0/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/u01/data/freeradius-1.1.0/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/u01/data/freeradius-1.1.0/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/u01/data/freeradius-1.1.0' make: *** [all] Error 2
Velikanov wrote:
I edit Makefile in src/modules/rlm_dbm as you advise and got such result
[...]
../../lib/.libs/libradius.so: undefined reference to `MD5Final' ../../lib/.libs/libradius.so: undefined reference to `crypt' ../../lib/.libs/libradius.so: undefined reference to `MD5Init' ../../lib/.libs/libradius.so: undefined reference to `MD5Update'
It's not exactly the same message, but unfortunately it's the same problem.
Error during "#make" disappear after i commented-out this lines in configure #--with-openssl-includes=/usr/include/openssl \ #--with-openssl-libraries=/usr/lib
What must i do now?
Don't use these options: you're using the default directories therefore they are not needed. -- Nicolas Baradakis
participants (2)
-
Nicolas Baradakis -
Velikanov