[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

<make-kpkg> ie, compile/link kernel image compressed...

hey kernel build pros...

I'm unable to build a kernel .deb package with the
2.0.34-4 kernel source and other required/suggested packages as
documented in /usr/doc/kernel-package/README. Doing...

make-kpkg --revision=custom.1.0 kernel_image

...compiled everything ok, but, linking the bvmlinux image got...

make[3]: Entering directory
gcc -I/usr/src/linux/include -O2 -DSTDC_HEADERS -o xtract xtract.c
gcc -I/usr/src/linux/include -O2 -DSTDC_HEADERS -o piggyback piggyback.c
./xtract /usr/src/linux/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
gcc -D__KERNEL__ -I/usr/src/linux/include -traditional -c head.S
gcc -D__KERNEL__ -I/usr/src/linux/include -O2 -DSTDC_HEADERS   -c misc.c
-o misc.o
ld -qmagic -Ttext 0xfffe0 -o bvmlinux head.o misc.o piggy.o
ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
misc.o: In function `fill_inbuf':
misc.o(.text+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
Where are char input_data[] and int input_len defined?  I've got
this error on two different systems; scratch build Debian 2.0 from
boot floppies, the other an upgrade of Debian 1.3.x/Linux 2.0.30
        Many thanks in advance.

It was the Law of the Sea, they said.  Civilization ends at the waterline.
Beyond that, we all enter the food chain, and not always right at the top.
                -- Hunter S. Thompson

Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: