pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstraping fails on Solaris 10 (newbie question)



Hi!

On Tue, Oct 21, 2008 at 6:45 PM, Aleksey Cheusov <cheusov%tut.by@localhost> 
wrote:
>  >>> /usr/include/netdb.h:329: error: previous declaration of 'gai_strerror' 
> was here
>  >>> *** Error code 1
>
>  >> Right, missing library in the configure test. -lresolv or so?
>
>> The following patch solves the problem.
> Another problem is
> ===> Building for pax-20080110
> gcc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 
> -I/tmp/obj_pkgsrc.gcc/wrk/archivers/pax/work/libnbcompat -I. -I. -O -c ar_io.c
> In file included from ar_io.c:111:
> extern.h:174: error: syntax error before "u_int32_t"

It seems someone was cleaning up the type checks in configure.ac of
libnbcompat. And did not fix the places where these types are used?
For the record: Solaris defines "uint32_t" (which is "unsigned int"),
but not "u_int32_t".

Jörn

-- 
Joern Clausen
joernc%gmail.com@localhost
http://www.oe-files.de/oefiles/
http://thebloeg.blogspot.com/


Home | Main Index | Thread Index | Old Index