Solaris 8 Make Problems

Thomas Mieslinger Thomas.Mieslinger at gls-itservices.com
Mon Nov 7 15:55:15 CET 2005






freeradius-users-bounces at lists.freeradius.org schrieb am 07.11.2005
14:30:13:

> 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. -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
--
GLS IT Services
Thomas Mieslinger
GLS Germany Str. 1-7  fon: +49 6677 17 463
36286 Neuenstein      fax: +49 6677 17 111
Germany    eMail: thomas.mieslinger at gls-itservices.com




More information about the Freeradius-Users mailing list