can't build for AIX

Alexander Voropay alec at artcoms.ru
Fri Sep 30 16:06:30 CEST 2005


Hi!

FreeRADIUS from the CVS.

# uname -a
AIX worck 3 5 00CC0FFE4D00

# gcc -v
Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/specs
Configured with: 
../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads 
 --disable-shared --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.1.0.0
Thread model: aix
gcc version 3.3.2


#./configure
stage is OK.


 Compilation finished with error:

...
...
 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 -D_LIBRADIUS -I../include -DHMAC_SHA1_DATA_PROBLEMS -c dict.c  -DPIC -o .libs/dict.o
In file included from ../include/libradius.h:38,
                 from dict.c:42:
/usr/include/sys/socket.h:513: error: redefinition of `struct sockaddr_storage'
dict.c: In function `my_dict_init':
dict.c:803: warning: implicit declaration of function `snprintf'


Seens, configure script does not support AIX specifics.

--
-=AV=- 




More information about the Freeradius-Devel mailing list