<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Folks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I just joined the mailer so I apologize if this has been asked before.  I just attempted to install FreeRadius 2.1.10 using the following steps:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1)  Downloaded <a href="ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.10.tar.gz">ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.10.tar.gz</a><o:p></o:p></p><p class=MsoNormal>2)  gunzip and untar<o:p></o:p></p><p class=MsoNormal>3)  ./configure<o:p></o:p></p><p class=MsoNormal>4) make<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>At this point make fails with the following error:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/root/freeradius-server-2.1.10/libtool --mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.10/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.10\"  -DOPENSSL_NO_KRB5  -c radconf2xml.c<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.10/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.10\" -DOPENSSL_NO_KRB5 -c radconf2xml.c  -fPIC -DPIC -o .libs/radconf2xml.o<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.10/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.10\" -DOPENSSL_NO_KRB5 -c radconf2xml.c -o radconf2xml.o >/dev/null 2>&1<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/root/freeradius-server-2.1.10/libtool --mode=link gcc   -o radconf2xml radconf2xml.lo /root/freeradius-server-2.1.10/src/lib/libfreeradius-radius.la util.lo log.lo conffile.lo -lnsl -lresolv  -lpthread<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gcc -o .libs/radconf2xml .libs/radconf2xml.o .libs/util.o .libs/log.o .libs/conffile.o  /root/freeradius-server-2.1.10/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread  -Wl,--rpath -Wl,/usr/local/lib<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>creating radconf2xml<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/root/freeradius-server-2.1.10/libtool --mode=compile gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.10/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.10\"  -DOPENSSL_NO_KRB5 -c radsniff.c<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.10/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.10\" -DOPENSSL_NO_KRB5 -c radsniff.c  -fPIC -DPIC -o .libs/radsniff.o<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c: In function `got_packet':<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c:231: warning: assignment discards qualifiers from pointer target type<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c: In function `main':<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c:467: warning: implicit declaration of function `pcap_fopen_offline'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c:467: warning: assignment makes pointer from integer without a cast<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c:489: warning: implicit declaration of function `pcap_dump_fopen'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>radsniff.c:489: warning: assignment makes pointer from integer without a cast<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.10/src -DHOSTINFO=\"x86_64-unknown-linux-gnu\" -DRADIUSD_VERSION=\"2.1.10\" -DOPENSSL_NO_KRB5 -c radsniff.c -o radsniff.o >/dev/null 2>&1<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/root/freeradius-server-2.1.10/libtool --mode=link gcc   -o radsniff radsniff.lo /root/freeradius-server-2.1.10/src/lib/libfreeradius-radius.la -lnsl -lresolv  -lpthread -lpcap<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gcc -o .libs/radsniff .libs/radsniff.o  /root/freeradius-server-2.1.10/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -lpcap  -Wl,--rpath -Wl,/usr/local/lib<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>.libs/radsniff.o(.text+0xd13): In function `main':<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/root/freeradius-server-2.1.10/src/main/radsniff.c:489: undefined reference to `pcap_dump_fopen'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>.libs/radsniff.o(.text+0xdb3):/root/freeradius-server-2.1.10/src/main/radsniff.c:467: undefined reference to `pcap_fopen_offline'<o:p></o:p></span></b></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>collect2: ld returned 1 exit status<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[4]: *** [radsniff] Error 1<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[4]: Leaving directory `/root/freeradius-server-2.1.10/src/main'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[3]: *** [main] Error 2<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[3]: Leaving directory `/root/freeradius-server-2.1.10/src'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[2]: *** [all] Error 2<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[2]: Leaving directory `/root/freeradius-server-2.1.10/src'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[1]: *** [src] Error 2<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>gmake[1]: Leaving directory `/root/freeradius-server-2.1.10'<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>make: *** [all] Error 2<o:p></o:p></span></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>[root@ott-freerad-101 freeradius-server-2.1.10]# <o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m running an enterprise variant of Red Hat 4 64-bit with kernel 2.6.9-89.0.11.EL and gcc version:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[root@ott-freerad-101 freeradius-server-2.1.10]# gcc -v<o:p></o:p></p><p class=MsoNormal>Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs<o:p></o:p></p><p class=MsoNormal>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux<o:p></o:p></p><p class=MsoNormal>Thread model: posix<o:p></o:p></p><p class=MsoNormal>gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)<o:p></o:p></p><p class=MsoNormal>[root@ott-freerad-101 freeradius-server-2.1.10]#<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Note that this is on a fresh install of Linux and I did not have FreeRadius running on this machine before.  Any idea what I am doing wrong?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Saqib<o:p></o:p></p></div></body></html>