<DIV>
<DIV>>-xarch=v8 sounds like a Sun cc option. It's a good idea to work just with<BR>>one compiler, sun or gnu. Adjust the PATH that ./configure and make just<BR>>see on compiler.</DIV>
<DIV> </DIV>
<DIV>I dont have the sun compiler. I am using GCC version 3.3.2 and the gnu linker version 2.14</DIV>
<DIV>both of these are located in /usr/local/bin and that is the first directory in my path.</DIV>
<DIV> </DIV>
<DIV>><I> I am new to freeradius. I have a Solaris 8 machine with OpenSSL<BR></I>><I> version 0.9.8 and MySQL version 5.0.15 (max). Configure completes<BR></I>><I> without any problems however make fails. I have read many<BR></I>><I> suggestions on the list, and tries all of them. Such as setting the<BR></I>><I> LD_LIBRARY_PATH, I even tried to configure and make with just static<BR></I>><I> libraries. Could there be a problem with freeradius and MySQL5?<BR></I>><I> Here is a copy of the make output errors:<BR></I>><I> make[10]: Entering directory `/export/home/nicholas/freeradius-1.0.<BR></I>><I> 5/src/modules/rlm_sql/drivers/rlm_sql_mysql'<BR></I>><I> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -<BR></I>><I> DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -<BR></I>><I> Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -<BR></I>><I> Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -W -<BR></I>><I> Wredundant-decls -Wundef -I../.. -I../../../../include -<BR></I>><I> I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 -c<BR></I>><I> sql_mysql.c -o sql_mysql.o<BR></I><BR>><I> gcc: language arch=v8 not recognized<BR></I>><I> gcc: sql_mysql.c: linker input file unused because linking not done<BR></I><BR>-xarch=v8 sounds like a Sun cc option. It's a good idea to work just with<BR>one compiler, sun or gnu. Adjust the PATH that ./configure and make just<BR>see on compiler.<BR><BR>><I> /export/home/nicholas/freeradius-1.0.5/libtool --mode=link ld -<BR></I>><I> module -static -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -<BR></I>><I> DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -<BR></I>><I> Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -<BR></I>><I> Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -<BR></I>&!
gt;<I>
Wredundant-decls -Wundef -I../.. -I../../../../include -<BR></I>><I> I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 sql_mysql.o<BR></I>><I> -o rlm_sql_mysql.a<BR></I>><I> (cd . && ln -s sql_mysql.lo sql_mysql.o)<BR></I>><I> ln: cannot create sql_mysql.o: File exists<BR></I>><I> make[10]: *** [rlm_sql_mysql.a] Error 2<BR></I></DIV></DIV><p>
<hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>