radius.3.6B.basic : compilation problem with Solaris 2.7

radius.3.6B.basic : compilation problem with Solaris 2.7

Post by Philippe Debro » Thu, 21 Jan 1999 04:00:00



Hi,

I'm trying to compile the radius.3.6B.basic (from Merit) on a SS5 running
Solaris 2.7. I'm using the pre-compiled gcc 2.8.1 binaries. Compilation
fails with the following message :

gcc -g -Dsys5 -traditional -DHAVE_SETVBUF -DHAUGHSHADOW -DMERIT_GRANDFATHER -DMI
SSING_STATE     -DCHK_SHELLS  -DASCEND -DBINARY_FILTERS  -I/usr/ucbinclude  -o .
/src/radiusd.o -c ./src/radiusd.c
In file included from src/radius.h:100,
                 from ./src/radiusd.c:156:
src/ascend.h:118: conflicting types for `ipaddr_t'
/usr/include/netinet/in.h:60: previous declaration of `ipaddr_t'
*** Error code 1
make: Fatal error: Command failed for target `src/radiusd.o'

It works fine with Solaris 2.6.

Any idea what's going wrong ?

Thanks in advance.
Philippe Debroux
Universite catholique de Louvain
Service des Reseaux d'Information
B - 1348 Louvain-la-Neuve