Change the #include <time.h> to <sys/time.h> and recompile..

Cheers,
net

----- Original Message -----
From: "christoph burgdorfer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 21, 2002 9:04 AM
Subject: [Coder-Com] ircu message


> hi man!
>
> i just tried to compile ircu, but there was the following
> error message, after typing "make":
>
> linux:/opt/ircu2.10 # make
> Building config...
> make[1]: Entering directory `/opt/ircu2.10/config'
> make[1]: Nothing to be done for `build'.
> make[1]: Leaving directory `/opt/ircu2.10/config'
> Building ircd...
> make[1]: Entering directory `/opt/ircu2.10/ircd'
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c IPcheck.c -o
IPcheck.o
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c channel.c -o
channel.o
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c class.c -o class.o
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c crule.c -o crule.o
>
> [.......]
>
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c support.c -o
support.o
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c uping.c -o uping.o
> gcc -g -O3 -pipe -I../include -I../config -DNDEBUG -c userload.c -o
> userload.o
> userload.c: In function `update_load':
> userload.c:60: storage size of `tm_now' isn't known
> userload.c:100: invalid type argument of `unary *'
> make[1]: *** [userload.o] Error 1
> make[1]: Leaving directory `/opt/ircu2.10/ircd'
> linux:/opt/ircu2.10 #
>
>
> i run a suse linux:
> Linux linux 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i586 unknown
>
> can you help me?
>
> thanks,
> regards,
> christoph
>

Reply via email to