Package: extipl Version: 5.04-2.1 Followup-For: Bug #397348 Hi,
you should not use the syscall for llseek nor _llseek. The better way is to define _LARGEFILE64_SOURCE and use lseek64 as defined in unistd.h. MfG Goswin -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.8-frosties-2 Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Reading package lists... Building dependency tree... The following NEW packages will be installed: debhelper file gettext gettext-base html2text intltool-debian libmagic1 nasm po-debconf 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 4789kB of archives. After unpacking 13.9MB of additional disk space will be used. Get:1 http://storage etch/main gettext-base 0.15-3 [127kB] Get:2 http://storage etch/main libmagic1 4.17-4 [277kB] Get:3 http://storage etch/main file 4.17-4 [32.0kB] Get:4 http://storage etch/main html2text 1.3.2a-3 [92.7kB] Get:5 http://storage etch/main gettext 0.15-3 [2012kB] Get:6 http://storage etch/main intltool-debian 0.35.0+20060710.1 [30.8kB] Get:7 http://storage etch/main po-debconf 1.0.7 [106kB] Get:8 http://storage etch/main debhelper 5.0.40 [510kB] Get:9 http://storage etch/main nasm 0.98.38-1.2 [1602kB] Fetched 4789kB in 0s (11.5MB/s) Selecting previously deselected package gettext-base. (Reading database ... 11537 files and directories currently installed.) Unpacking gettext-base (from .../gettext-base_0.15-3_amd64.deb) ... Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_4.17-4_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_4.17-4_amd64.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-3_amd64.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.15-3_amd64.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.7_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_5.0.40_all.deb) ... Selecting previously deselected package nasm. Unpacking nasm (from .../nasm_0.98.38-1.2_amd64.deb) ... Setting up gettext-base (0.15-3) ... Setting up libmagic1 (4.17-4) ... Setting up file (4.17-4) ... Setting up html2text (1.3.2a-3) ... Setting up gettext (0.15-3) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.7) ... Setting up debhelper (5.0.40) ... Setting up nasm (0.98.38-1.2) ... Reading package lists... Building dependency tree... Need to get 90.8kB of source archives. Get:1 http://storage etch/main extipl 5.04-2.1 (dsc) [571B] Get:2 http://storage etch/main extipl 5.04-2.1 (tar) [85.4kB] Get:3 http://storage etch/main extipl 5.04-2.1 (diff) [4821B] dpkg-source: extracting extipl in extipl-5.04 dpkg-source: unpacking extipl_5.04.orig.tar.gz dpkg-source: applying ./extipl_5.04-2.1.diff.gz Fetched 90.8kB in 0s (1876kB/s) fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp install-stamp # Add here commands to clean up after the build process. rm -f Makefile /usr/bin/make -f debian/addition/Makefile allclean make[1]: Entering directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04' cd src; make clean make[2]: Entering directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04/src' rm -f extipl bin2src extndipl.src extipl.8*.gz \ *~ *.bak *.lst *.o *.bin *.com *.core _BootSec.* make[2]: Leaving directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04/src' make[1]: Leaving directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04' dh_clean dh_clean: Compatibility levels before 4 are deprecated. debian/rules build dh_testdir # Add here commands to compile the package. cp debian/addition/Makefile . /usr/bin/make make[1]: Entering directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04' cd src; make make[2]: Entering directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04/src' cc -o bin2src bin2src.c nasm -f bin -o antares.bin -l antares.lst antares.asm nasm -dFDTEST -f bin -o antaresA.bin -l antaresA.lst antares.asm nasm -f bin -o altair.bin -l altair.lst altair.asm nasm -dFDTEST -f bin -o altairA.bin -l altairA.lst altair.asm nasm -dTAURUS -f bin -o aldebaran.bin -l aldebaran.lst pollux.asm nasm -dWRTBL_ENABLE -dVERBOSE -dHOOKUP13 -f bin -o pollux.bin -l pollux.lst pollux.asm nasm -dWRTBL_ENABLE -dVERBOSE -dHOOKUP13 -DFDTEST -f bin -o polluxA.bin -l polluxA.lst pollux.asm nasm -dWRTBL_ENABLE -dVERBOSE -dHOOKUP13 -f bin -o castor0.bin -l castor.lst castor.asm dd if=castor0.bin of=castor.bin bs=512 skip=1 2>/dev/null ./bin2src -o extndipl.src extndipl.templ cc -o extipl extipl.c extipl.c: In function '_llseek': extipl.c:1113: error: 'SYS__llseek' undeclared (first use in this function) extipl.c:1113: error: (Each undeclared identifier is reported only once extipl.c:1113: error: for each function it appears in.) make[2]: *** [extipl] Error 1 make[2]: Leaving directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04/src' make[1]: *** [extipl] Error 2 make[1]: Leaving directory `/home/mrvn/build/extipl_5.04-2.1/extipl-5.04' make: *** [build-stamp] Error 2 debuild: fatal error at line 1224: debian/rules build failed ERROR building