Subject: Re: -current won't build: libpuffs
To: Antti Kantee <pooka@cs.hut.fi>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 09/03/2007 12:21:19
On Mon, 3 Sep 2007 19:13:29 +0300
Antti Kantee <pooka@cs.hut.fi> wrote:
> On Mon Sep 03 2007 at 11:44:33 -0400, Steven M. Bellovin wrote:
> > # compile libpuffs/opdump.o
> > /usr/BUILD/tools/bin/i386--netbsdelf-gcc -O2 -Wall
> > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> > -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow
> > -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
> > -std=gnu99 -Werror -fstack-protector -Wstack-protector --param
> > ssp-buffer-size=1 -D_FORTIFY_SOURCE=2 -nostdinc
> > -isystem /usr/BUILD/netbsd/usr/include
> > -c /usr/src/lib/libpuffs/opdump.c -o opdump.o cc1: warnings
> > being treated as errors /usr/src/lib/libpuffs/opdump.c: In function
> > 'puffsdump_cn': /usr/src/lib/libpuffs/opdump.c:210: warning: format
> > '%zu' expects type 'size_t', but argument 3 has type 'long
> > int' /usr/src/lib/libpuffs/opdump.c:210: warning: format '%x'
> > expects type 'unsigned int', but argument 5 has type 'u_long'
> >
> > *** Failed target: opdump.o
> > *** Failed command: /usr/BUILD/tools/bin/i386--netbsdelf-gcc -O2
> > -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> > -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow
> > -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
> > -std=gnu99 -Werror -fstack-protector -Wstack-protector --param
> > ssp-buffer-size=1 -D_FORTIFY_SOURCE=2 -nostdinc
> > -isystem /usr/BUILD/netbsd/usr/include
> > -c /usr/src/lib/libpuffs/opdump.c -o opdump.o *** Error code 1
> >
> > Stop.
> > nbmake: stopped in /usr/src/lib/libpuffs
>
> Please check if your src/sys/fs/puffs/puffs_msgif.h is up-to-date,
> at least rev 1.49 (August 22nd).
>
Ah -- my kernel source is from Jared's power management branch; my
userlevel is from HEAD.
--Steve Bellovin, http://www.cs.columbia.edu/~smb