Freeradius 2.1.7 with IPPool + MySQL + Solaris 10 on sparc v490

Hermes Ramon Velazquez Allende hermesrv at gmail.com
Fri Dec 11 16:02:28 CET 2009


Hello,

I need you're help

I can't compile the freeradius 2.1.7 on Solaris SunV490, I have the next
messages when I try to compile the source of freeradius.2.1.7:

I have the next configure opcion:

bash-3.00# crle

Configuration file [version 4]: /var/ld/ld.config
  Default Library Path (ELF):
/lib:/usr/lib:/usr/local/lib:/opt/mysql/mysql/lib:/usr/local/ssl/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/share/lib:/etc/lib:/etc/security/lib:/usr/ccs/lib:/usr/xpg4/lib:/usr/dt/lib:/usr/ucblib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system
default)

Command line:
  crle -c /var/ld/ld.config -l
/lib:/usr/lib:/usr/local/lib:/opt/mysql/mysql/lib:/usr/local/ssl/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/share/lib:/etc/lib:/etc/security/lib:/usr/ccs/lib:/usr/xpg4/lib:/usr/dt/lib:/usr/ucblib


export CFLAGS=-m64

./configure --prefix=/usr/local/radius --with-logdir=/var/log/radius
--with-experimental-modules

And I have the next error when I try to compile the freeradius 2.1.7

/data/instaladores/src/freeradius-server-2.1.7/libtool --mode=link gcc
-release 2.1.7 \
         -export-dynamic -o libfreeradius-radius.la -rpath
/usr/local/radius/lib dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo
isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo
rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo
valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo
dhcp.lo
gcc -shared -Wl,-h -Wl,libfreeradius-radius-2.1.7.so -o .libs/
libfreeradius-radius-2.1.7.so  .libs/dict.o .libs/filters.o .libs/hash.o
.libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/misc.o
.libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/radius.o
.libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/strlcat.o .libs/strlcpy.o
.libs/token.o .libs/udpfromto.o .libs/valuepair.o .libs/fifo.o
.libs/packet.o .libs/event.o .libs/getaddrinfo.o .libs/vqp.o .libs/heap.o
.libs/dhcp.o  -lc
ld: fatal: file .libs/dict.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/
libfreeradius-radius-2.1.7.so
collect2: ld returned 1 exit status
make[4]: *** [libfreeradius-radius.la] Error 1
make[4]: Leaving directory
`/data/instaladores/src/freeradius-server-2.1.7/src/lib'
make[3]: *** [common] Error 2
make[3]: Leaving directory
`/data/instaladores/src/freeradius-server-2.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/data/instaladores/src/freeradius-server-2.1.7/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/data/instaladores/src/freeradius-server-2.1.7'
make: *** [all] Error 2

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091211/6d1bb0b3/attachment.html>


More information about the Freeradius-Users mailing list