And the solution is to remove the block of lines

#ifdef  HAVE_UTMPX_H
#       undef   ut_time
#       define ut_time ut_xtime
#endif

regards,
Nico Baggus

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> Sent: Saturday, March 23, 2002 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Compiling Problems.
> 
> 
> Hi, when i try to compile freeradius 0.5 on AIX version 4.3.3 
> I get the
> follwing error.
> 
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
> -D_GNU_SOURCE
> -DNDEBUG -I../include   -c radwho.c
> gcc -L../lib -o radwho radwho.o util.o nas.o client.o log.o conffile.o
> files.o -lnsl  -lpthread -lradius 
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
> -D_GNU_SOURCE
> -DNDEBUG -I../include   -c radzap.c
> radzap.c: In function `do_packet':
> radzap.c:347: warning: implicit declaration of function `bzero'
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
> -D_GNU_SOURCE
> -DNDEBUG -I../include   -L../lib -o radzap radzap.o util.o nas.o log.o
> client.o conffile.o files.o -lnsl  -lpthread -lradius 
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
> -D_GNU_SOURCE
> -DNDEBUG -I../include     -c -o raduse.o raduse.c
> raduse.c: In function `listnas':
> raduse.c:93: structure has no member named `ut_tv'
> raduse.c: In function `fillstruct':
> raduse.c:152: structure has no member named `ut_tv'
> raduse.c:184: structure has no member named `ut_tv'
> raduse.c:193: structure has no member named `ut_tv'
> make[4]: *** [raduse.o] Error 1
> make[4]: Leaving directory `/home/tomh/freeradius-0.5/src/main'
> make[3]: *** [common] Error 1
> make[3]: Leaving directory `/home/tomh/freeradius-0.5/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/tomh/freeradius-0.5/src'
> make[1]: *** [common] Error 1
> make[1]: Leaving directory `/home/tomh/freeradius-0.5'
> make: *** [all] Error 2
> # 
> 
> 
> 
> Please let me know if I am doing something wrong.
> Thanks!
> Tom
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html


-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to