Solaris 8 Make Problems
Nicholas Thompson
nlm1398 at yahoo.com
Mon Nov 7 16:35:09 CET 2005
>-xarch=v8 sounds like a Sun cc option. It's a good idea to work just with
>one compiler, sun or gnu. Adjust the PATH that ./configure and make just
>see on compiler.
I dont have the sun compiler. I am using GCC version 3.3.2 and the gnu linker version 2.14
both of these are located in /usr/local/bin and that is the first directory in my path.
> I am new to freeradius. I have a Solaris 8 machine with OpenSSL
> version 0.9.8 and MySQL version 5.0.15 (max). Configure completes
> without any problems however make fails. I have read many
> suggestions on the list, and tries all of them. Such as setting the
> LD_LIBRARY_PATH, I even tried to configure and make with just static
> libraries. Could there be a problem with freeradius and MySQL5?
> Here is a copy of the make output errors:
> make[10]: Entering directory `/export/home/nicholas/freeradius-1.0.
> 5/src/modules/rlm_sql/drivers/rlm_sql_mysql'
> gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -
> DOPENSSL_NO_KRB5 -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../.. -I../../../../include -
> I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 -c
> sql_mysql.c -o sql_mysql.o
> gcc: language arch=v8 not recognized
> gcc: sql_mysql.c: linker input file unused because linking not done
-xarch=v8 sounds like a Sun cc option. It's a good idea to work just with
one compiler, sun or gnu. Adjust the PATH that ./configure and make just
see on compiler.
> /export/home/nicholas/freeradius-1.0.5/libtool --mode=link ld -
> module -static -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -
> DOPENSSL_NO_KRB5 -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../.. -I../../../../include -
> I/usr/local/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 sql_mysql.o
> -o rlm_sql_mysql.a
> (cd . && ln -s sql_mysql.lo sql_mysql.o)
> ln: cannot create sql_mysql.o: File exists
> make[10]: *** [rlm_sql_mysql.a] Error 2
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20051107/760791a0/attachment.html>
More information about the Freeradius-Users
mailing list