hello all,

first time posting tothe list.

i'm trying to compile freeradius-1.1.0 from source on a proliant ml350 with dual pentium III's.

the box is running fedora core 3, kernel 2.6.12-1.1381_FC3smp, gcc 3.4.4

although configure goes off without a hitch the compile bombs out after three minutes with the following error:

gmake[7]: Entering directory `/root/freeradius-1.1.0/src/modules/rlm_otp/cardops'
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -I/usr -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef  -I../../../include -I/usr -DOTP_MODULE_NAME="rlm_otp" -DFREERADIUS /usr -c cryptocard.c -o cryptocard.o
gcc: /usr: linker input file unused because linking not done
cc1: /usr: No such file or directory
gmake[7]: *** [cryptocard.o] Error 1
gmake[7]: Leaving directory `/root/freeradius-1.1.0/src/modules/rlm_otp/cardops'
gmake[6]: *** [cardops/cryptocard.lo] Error 2
gmake[6]: Leaving directory `/root/freeradius-1.1.0/src/modules/rlm_otp'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/root/freeradius-1.1.0/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/root/freeradius-1.1.0/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/freeradius-1.1.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/freeradius-1.1.0/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/freeradius-1.1.0'
make: *** [all] Error 2

a google search revealed that an 'if defined' statement in this doc 'src/modules/rlm_otp/otp_state.c' of the source package was incorrect:

#if defined(__linux__) || defined(__APPLE__)
#include <sys/un.h>
#endif

and should be changed to:

#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif

to fix the compile problem.

i've made the correction but i still get the same compile error.

my 'c' programming is a little rusty.  is there anyone who can suggest what further steps i should take to try and debug this?

thanx in advance.  any help will be greatly appreciated.

ax
:-)


Tony Alexander

System Administrator

Center for Biodiversity and Conservation

American Museum of Natural History

Central Park West at 79th Street

New York, NY 10024

Phone: 212 496 3474

Fax: 212 769 5292

Mobile: 917 548 0560

http://cbc.amnh.org


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

Reply via email to