Subject: pkg/16450: pkgsrc/devel/chkpt does not compile on -current
To: None <gnats-bugs@gnats.netbsd.org>
From: Jan Schaumann <jschauma@dab.cs.stevens-tech.edu>
List: netbsd-bugs
Date: 04/22/2002 15:07:18
>Number:         16450
>Category:       pkg
>Synopsis:       pkgsrc/devel/chkpt does not compile on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 22 12:08:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Schaumann (jschauma@netbsd.org)
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD dab.cs.stevens-tech.edu 1.5ZC NetBSD 1.5ZC (BOCK) #0: Thu Apr 18 10:55:09 EDT 2002 jschauma@dab:/usr/src/sys/arch/i386/compile/BOCK i386
Architecture: i386
Machine: i386
>Description:
	pkgsrc/devel/chkpt, when compiling on NetBSD-current, gives the following error:
[...]
(cd src;  /usr/bin/make CP="/bin/cp -f" RM="/bin/rm -f" TOUCH="/usr/bin/touch"  LIBSRCS="chkpt.c files.c fpu.c itimers.c signals.c debug.c stringcontainer.c allocators.c sfcl.c maps.c" LIBOBJS="chkpt.o files.o fpu.o itimers.o signals.o debug.o stringcontainer.o allocators.o sfcl.o maps.o"  CC="/usr/bin/cc" CFLAGS="-O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat" DIAGS="-DIAGNOSTIC"  src_targets)
/usr/bin/cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wformat -DIAGNOSTIC -I../include -c chkpt.c
chkpt.c: In function `chkpt_save':
chkpt.c:354: `PDSLOT_PTE' undeclared (first use in this function)
chkpt.c:354: (Each undeclared identifier is reported only once
chkpt.c:354: for each function it appears in.)
chkpt.c:354: `PDSHIFT' undeclared (first use in this function)
*** Error code 1

	It profoundly puzzles me, as the file in question does not seem to use these.

	chkpt compiles just fine on 1.5.2
	

>How-To-Repeat:
	cd /usr/pkgsrc/devel/chkpt
	make
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: