screen during compile....

Ing. Osvaldo Rojas Glez. (osvaldo@redes.unam.mx)
Tue, 8 Apr 1997 12:31:07 -0600 (CST)

My problen is the next:

I compile radius 1.26 in SunOS cuk 5.5.1 Generic sun4m sparc
SUNW,SPARCstation-LX

I use the appropriate Makefile to compile the ascend Radius
daemon on my system:

cuk % pwd
cuk % radius-1.16-ascend/ascendd
cuk % vi Makefile

.....................................................

# SunOs:
CFLAGS= -DOSUN
CC= gcc
# Pick your compiler
#
CC= gcc # set the GCC compiler to ANSI mode

...................................................

The error it give me on the screen during compile is the next:

Cuk[101] %make all
gcc -O -DNOSHADOW -DOSUN -DBINARY_FILTERS -DASCEND_SECRET -DASCEND_LOGOUT
-c ./radiusd.c
In file included from ./radiusd.c:77:
protos.h:30: conflicting types for `gettimeofday'
/usr/include/sys/time.h:263: previous declaration of `gettimeofday'
./radiusd.c:114: warning: redefinition of `ulong'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.7.2/include/sys/types.h:223:
warning: `ulong' previously declared here
*** Error code 1
make: Fatal error: Command failed for target `radiusd.o'

.....

Again any suggestions would be helpful.

Thanks if someone can help me.