Hi Mike,

i run into same issue. How do you changed it ?
Well i could just ignore the stuff in line 355 inet_ntop with AF_INET6
but i donīt think this is smart.

Bye
        Holger


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike
> Sent: Wednesday, July 28, 2004 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: solved Re: compile issues on solaris 7
> 
> 
> 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
> 
> 


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

Reply via email to