Bug#2261: dpkg
Package: dpkg
I'm running Debian 0.93R6. When I try to compile dpkg 1.0.5, in the
.../main directory, while compiling filesdb.c, I get a compilation
error:
$ make
perl insert-version.pl <version.h >version.h.new
cmp -s version.h.new version.h || mv version.h.new version.h
set -e; for d in lib main dpkg-deb split md5sum scripts doc include dselect methods ; do \
cd $d ; \
make 'CC=gcc' 'LDFLAGS=' ; \
cd .. ; \
done
make[1]: Entering directory `/home/nelson/dpkg-1.0.5/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelson/dpkg-1.0.5/lib'
make[1]: Entering directory `/home/nelson/dpkg-1.0.5/main'
gcc -I../include -I.. -DHAVE_CONFIG_H -O3 -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -g -c filesdb.c
filesdb.c: In function `sysinfo':
filesdb.c:30: `__NR_sysinfo' undeclared (first use this function)
filesdb.c:30: (Each undeclared identifier is reported only once
filesdb.c:30: for each function it appears in.)
filesdb.c: In function `filesdbinit':
filesdb.c:30: warning: `__res' might be used uninitialized in this function
make[1]: *** [filesdb.o] Error 1
make[1]: Leaving directory `/home/nelson/dpkg-1.0.5/main'
make: *** [all] Error 2
$
Script done on Mon Apr 21 16:37:32 1997
-russ <nelson@crynwr.com> http://www.crynwr.com/~nelson
Crynwr Software | Crynwr Software sells packet driver support | PGP ok
11 Grant St. | +1 315 268 1925 voice | A smoking section in a restaurant is
Potsdam, NY 13676 | +1 315 268 9201 FAX | like a peeing section in a swimming pool
Reply to: