<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">hello all,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>first time posting tothe list.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>i'm trying to compile freeradius-1.1.0 from source on a proliant ml350 with dual pentium III's.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>the box is running fedora core 3, kernel 2.6.12-1.1381_FC3smp, gcc 3.4.4</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>although configure goes off without a hitch the compile bombs out after three minutes with the following error:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>gmake[7]: Entering directory `/root/freeradius-1.1.0/src/modules/rlm_otp/cardops'</DIV><DIV>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</DIV><DIV>gcc: /usr: linker input file unused because linking not done</DIV><DIV>cc1: /usr: No such file or directory</DIV><DIV>gmake[7]: *** [cryptocard.o] Error 1</DIV><DIV>gmake[7]: Leaving directory `/root/freeradius-1.1.0/src/modules/rlm_otp/cardops'</DIV><DIV>gmake[6]: *** [cardops/cryptocard.lo] Error 2</DIV><DIV>gmake[6]: Leaving directory `/root/freeradius-1.1.0/src/modules/rlm_otp'</DIV><DIV>gmake[5]: *** [common] Error 2</DIV><DIV>gmake[5]: Leaving directory `/root/freeradius-1.1.0/src/modules'</DIV><DIV>gmake[4]: *** [all] Error 2</DIV><DIV>gmake[4]: Leaving directory `/root/freeradius-1.1.0/src/modules'</DIV><DIV>gmake[3]: *** [common] Error 2</DIV><DIV>gmake[3]: Leaving directory `/root/freeradius-1.1.0/src'</DIV><DIV>gmake[2]: *** [all] Error 2</DIV><DIV>gmake[2]: Leaving directory `/root/freeradius-1.1.0/src'</DIV><DIV>gmake[1]: *** [common] Error 2</DIV><DIV>gmake[1]: Leaving directory `/root/freeradius-1.1.0'</DIV><DIV>make: *** [all] Error 2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>a google search revealed that an 'if <FONT class="Apple-style-span" face="Helvetica">defined</FONT>' statement in this doc '<FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">src/modules/rlm_otp/otp_state.c' of the source package was incorrect:</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica">#if defined(__linux__) || defined(__APPLE__)</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica">#include <sys/un.h></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica">#endif</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica"><BR class="khtml-block-placeholder"></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica">and should be changed to:</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Helvetica"><BR class="khtml-block-placeholder"></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#ifdef HAVE_SYS_UN_H</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#include <sys/un.h></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">#endif</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">to fix the compile problem.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">i've made the correction but i still get the same compile error.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">my 'c' programming is a little rusty.  is there anyone who can suggest what further steps i should take to try and debug this?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">thanx in advance.  any help will be greatly appreciated.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ax</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">:-)</DIV><DIV><FONT class="Apple-style-span" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"></SPAN></FONT></DIV><BR><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">Tony Alexander</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">System Administrator</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">Center for Biodiversity and Conservation</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">American Museum of Natural History</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">Central Park West at 79th Street</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">New York, NY 10024</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">Phone: 212 496 3474</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">Fax: 212 769 5292</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial">Mobile: 917 548 0560</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Arial" size="3" style="font: 12.0px Arial"><A href="http://cbc.amnh.org">http://cbc.amnh.org</A></FONT></P>  </DIV><BR></BODY></HTML>