Bug#318530: chos: FTBFS: Undefined reference to `MINOR'
Package: chos
Severity: serious
Version: 0.85-4
>From my build log:
...
gcc -funsigned-char -s -O2 -W -Wall -DBUG_HARDWARE -DSUPPORT_BZIMAGE -DSUPPORT_INITRD -DSUPPORT_DOSMENUKEY -I/tmp/buildd/chos-0.85/sources/include -c device.c -o device.o
device.c: In function 'last_dev':
device.c:46: warning: suggest parentheses around assignment used as truth value
device.c:50: warning: implicit declaration of function 'MAJOR'
device.c:50: warning: comparison between signed and unsigned
device.c:51: warning: implicit declaration of function 'MINOR'
...
gcc -funsigned-char -s -O2 -W -Wall -DBUG_HARDWARE -DSUPPORT_BZIMAGE -DSUPPORT_INITRD -DSUPPORT_DOSMENUKEY -I/tmp/buildd/chos-0.85/sources/include main.o image.o install.o map.o bg.o image-linux.o image-bsect.o bin.o device.o -o /tmp/buildd/chos-0.85/sources/../bin/chos
device.o: In function `dev_name':
device.c:(.text+0xac): undefined reference to `MINOR'
device.c:(.text+0xb7): undefined reference to `MAJOR'
...
collect2: ld returned 1 exit status
make[2]: *** [/tmp/buildd/chos-0.85/sources/../bin/chos] Error 1
make[2]: Leaving directory `/tmp/buildd/chos-0.85/sources/installer'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/chos-0.85/sources'
make: *** [build-stamp] Error 2
-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
--
Daniel Schepler "Please don't disillusion me. I
schepler@math.berkeley.edu haven't had breakfast yet."
-- Orson Scott Card
Reply to: