Hi
I am trying to compile the Freeradius Server on OpenBSD 3.3. I've tried
both, the 0.9.0- and the CVS Snapshot-Versions but i get the same error.
The configure script runs without a problem. Then when I try to build the
server with the "make" command, i'll get the following error:
----------------------------------------------------------------------------
---------------------------
gmake[3]: Entering directory
`/usr/src2/freeradius/freeradius-snapshot-20030819/src/modules/rlm_dbm'
/usr/src2/freeradius/freeradius-snapshot-20030819/libtool --mode=link gcc
rlm_dbm_parser.o ../../lib/libradius.a -lresolv  -lpthread   -o
rlm_dbm_parser
gcc rlm_dbm_parser.o -o rlm_dbm_parser  ../../lib/libradius.a -lresolv
-lpthread
misc.c:60: Undefined symbol `_gethostbyaddr_r' referenced from text segment
misc.c:105: Undefined symbol `_gethostbyname_r' referenced from text segment
collect2: ld returned 1 exit status
gmake[3]: *** [rlm_dbm_parser] Error 1
gmake[3]: Leaving directory
`/usr/src2/freeradius/freeradius-snapshot-20030819/src/modules/rlm_dbm'
gmake[2]: *** [common] Error 1
gmake[2]: Leaving directory
`/usr/src2/freeradius/freeradius-snapshot-20030819/src/modules'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/src2/freeradius/freeradius-snapshot-20030819/src/modules'
gmake: *** [common] Error 1
*** Error code 2
----------------------------------------------------------------------------
---------------------------

When i don't build the rlm_dbm module, then the build process stops later:
----------------------------------------------------------------------------
------------
misc.c:60: Undefined symbol `_gethostbyaddr_r' referenced from text segment
misc.c:105: Undefined symbol `_gethostbyname_r' referenced from text segment
collect2: ld returned 1 exit status
gmake[3]: *** [radiusd] Error 1
gmake[3]: Leaving directory
`/usr/src2/freeradius/freeradius-snapshot-20030819/src/main'
----------------------------------------------------------------------------
------------

Also i get the following warning during the build process:
--------------------------------------------------------------------------
*** Warning: This library needs some functionality provided by -lresolv.
*** 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_exec.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
--------------------------------------------------------------------------

I've searched on the Internet (Google, Mailinglist archiv) but i can't find
an answer. I hope anybody can help me,
thierry

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to