Re Error in make freeradius_1.1.0

Velikanov alex at asu.farlep.net
Wed Feb 1 13:33:18 CET 2006


Good day, Nicolas Baradakis
I edit     Makefile in src/modules/rlm_dbm as you advise and got such result
after #make
...
Making static dynamic in rlm_dbm...
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
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_parser.c -o rlm_dbm_parser.o
rlm_dbm_parser.c: In function `storecontent':
rlm_dbm_parser.c:165: warning: assignment discards qualifiers from pointer
targe
t type
/u01/data/freeradius-1.1.0/libtool --mode=link gcc rlm_dbm_parser.o
../../lib/li
bradius.a -L/usr/lib -lssl -L/usr/lib -lcrypto -lnsl -lresolv  -lpthread  -l
gdbm
  -o rlm_dbm_parser
gcc rlm_dbm_parser.o -o rlm_dbm_parser
 ../../lib/libradius.a -L/usr/lib -lssl -
lcrypto -lnsl -lresolv -lpthread /usr/lib/libgdbm.so
../../lib/libradius.a(radius.o)(.text+0x11): In function `make_secret':
/u01/data/freeradius-1.1.0/src/lib/radius.c:165: undefined reference to
`MD5Init
'
../../lib/libradius.a(radius.o)(.text+0x1f):/u01/data/freeradius-1.1.0/src/l
ib/r
adius.c:166: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x3c):/u01/data/freeradius-1.1.0/src/l
ib/r
adius.c:167: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x47):/u01/data/freeradius-1.1.0/src/l
ib/r
adius.c:168: undefined reference to `MD5Final'
../../lib/libradius.a(radius.o)(.text+0xd6): In function `make_passwd':
/u01/data/freeradius-1.1.0/src/lib/radius.c:204: undefined reference to
`MD5Init
'
../../lib/libradius.a(radius.o)(.text+0xf1):/u01/data/freeradius-1.1.0/src/l
ib/r
adius.c:205: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x115):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:211: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x153):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:216: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x169):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:221: undefined reference to `MD5Final'
../../lib/libradius.a(radius.o)(.text+0x2b8): In function
`make_tunnel_passwd':
/u01/data/freeradius-1.1.0/src/lib/radius.c:293: undefined reference to
`MD5Init
'
../../lib/libradius.a(radius.o)(.text+0x2d8):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:294: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x2f7):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:297: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x30e):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:298: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x34c):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:303: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x362):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:308: undefined reference to `MD5Final'
../../lib/libradius.a(radius.o)(.text+0x9af): In function `rad_sign':
/u01/data/freeradius-1.1.0/src/lib/radius.c:819: undefined reference to
`MD5Init
'
../../lib/libradius.a(radius.o)(.text+0x9c4):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:820: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x9e7):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:821: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0x9f9):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:822: undefined reference to `MD5Final'
../../lib/libradius.a(radius.o)(.text+0xccd): In function `calc_acctdigest':
/u01/data/freeradius-1.1.0/src/lib/radius.c:954: undefined reference to
`MD5Init
'
../../lib/libradius.a(radius.o)(.text+0xcdf):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:955: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0xcfc):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:956: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0xd08):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:957: undefined reference to `MD5Final'
../../lib/libradius.a(radius.o)(.text+0xd79): In function
`calc_replydigest':
/u01/data/freeradius-1.1.0/src/lib/radius.c:993: undefined reference to
`MD5Init
'
../../lib/libradius.a(radius.o)(.text+0xd8b):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:994: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0xda5):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:995: undefined reference to `MD5Update'
../../lib/libradius.a(radius.o)(.text+0xdb1):/u01/data/freeradius-1.1.0/src/
lib/
radius.c:996: undefined reference to `MD5Final'
../../lib/libradius.a(hmac.o)(.text+0x86): In function `lrad_hmac_md5':
/u01/data/freeradius-1.1.0/src/lib/hmac.c:93: undefined reference to
`MD5Init'
../../lib/libradius.a(hmac.o)(.text+0x98):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:95: undefined reference to `MD5Update'
../../lib/libradius.a(hmac.o)(.text+0xa7):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:96: undefined reference to `MD5Update'
../../lib/libradius.a(hmac.o)(.text+0xb2):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:97: undefined reference to `MD5Final'
../../lib/libradius.a(hmac.o)(.text+0xba):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:101: undefined reference to `MD5Init'
../../lib/libradius.a(hmac.o)(.text+0xcc):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:103: undefined reference to `MD5Update'
../../lib/libradius.a(hmac.o)(.text+0xda):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:104: undefined reference to `MD5Update'
../../lib/libradius.a(hmac.o)(.text+0xe5):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:106: undefined reference to `MD5Final'
../../lib/libradius.a(hmac.o)(.text+0xfc):/u01/data/freeradius-1.1.0/src/lib
/hma
c.c:59: undefined reference to `MD5Init'
../../lib/libradius.a(hmac.o)(.text+0x107):/u01/data/freeradius-1.1.0/src/li
b/hm
ac.c:60: undefined reference to `MD5Update'
../../lib/libradius.a(hmac.o)(.text+0x116):/u01/data/freeradius-1.1.0/src/li
b/hm
ac.c:61: undefined reference to `MD5Final'
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







More information about the Freeradius-Users mailing list