Solved.  I changed the ifdef line in misc.c 

Mike

--- Mike <[EMAIL PROTECTED]> wrote:

> I am using solaris 7 with gcc.  When I try to
> compile
> it dies at line 381 in misc.c.  I have the 1.0.0
> pre3
> source code and here is my error message
> 
> gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -DNDEBUG 
> -D_LIBRADIUS -I../include  -DHMAC_SHA1_DATA_PROBLEMS
> -c misc.c -o misc.o
> misc.c: In function `ipv6_ntoa':
> misc.c:355: warning: implicit declaration of
> function
> `inet_ntop'
> misc.c:355: error: `AF_INET6' undeclared (first use
> in
> this function)
> misc.c:355: error: (Each undeclared identifier is
> reported only once
> misc.c:355: error: for each function it appears in.)
> misc.c:355: warning: return makes pointer from
> integer
> without a cast
> misc.c: In function `ipv6_addr':
> misc.c:381: error: `AF_INET6' undeclared (first use
> in
> this function)
> make[4]: *** [misc.o] Error 1
> make[4]: Leaving directory
> `/network/tmp/freeradius-1.0.0-pre3/src/lib'
> make[3]: *** [common] Error 1
> make[3]: Leaving directory
> `/network/tmp/freeradius-1.0.0-pre3/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/network/tmp/freeradius-1.0.0-pre3/src'
> make[1]: *** [common] Error 1
> make[1]: Leaving directory
> `/network/tmp/freeradius-1.0.0-pre3'
> make: *** [all] Error 2
> bash-2.05# 
> 
> Mike
> 
> 
> 
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> 
> - 
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> 



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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

Reply via email to