Subject: Re: libnbcompat compilation fails
To: grant beattie <grant@NetBSD.org>
From: Sebastian Prause <sebastian-p@gmx.net>
List: tech-pkg
Date: 09/11/2003 18:53:14
> I've just committed a fix for this (well, backed out the change which
> broke it). please try updating and let me know.

that worked on my linux box, thanks

>
> I'm also interested in whether pkgtools/mtree and archivers/pax build
> with the latest libnbcompat.

mtree builds without errors, but pax did not:

===> Building for pax-20030905
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c ar_io.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c ar_subs.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c buf_subs.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c cpio.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c file_subs.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c ftree.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c gen_subs.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c getoldopt.c
gcc -DHAVE_CONFIG_H -I/usr/pkg/include -I. -I. -O3 -pipe -march=athlon-xp 
-mcpu=athlon-xp -fomit-frame-pointer -I/usr/pkg/include -c options.c
options.c: In function `cpio_options':
options.c:1742: warning: passing arg 2 of `ftree_add' makes integer from 
pointer without a cast
options.c: In function `str_offt':
options.c:1920: `ULLONG_MAX' undeclared (first use in this function)
options.c:1920: (Each undeclared identifier is reported only once
options.c:1920: for each function it appears in.)
*** Error code 1

Stop.