can't compile quik-2.1 with kernel 2.4
I hope this question is within the scope of debian-powerpc; if not, please
accept my apologies.
I have to stick kernel 2.4.34. When I tried to compile quik-2.1 with the
debian patch 2.1-9 applied this is what I get. Looks like ffs is missing
from 2.4 bitops.h.
So, is quik-2.1 only compilable with a 2.6 kernel? If I build a static quik
on a 2.6 system, will it work on a 2.4 system?
Thanks,
IvanK.
gcc -I../include -O2 -D__NO_STRING_INLINES -Wall -ffreestanding -c -o
ctype.o ctype.c
gcc -I../include -O2 -D__NO_STRING_INLINES -Wall -ffreestanding -c -o
nosys.o nosys.c
gcc -I../include -O2 -D__NO_STRING_INLINES -Wall -ffreestanding -c -o
stricmp.o stricmp.c
gcc -I../include -O2 -D__NO_STRING_INLINES -Wall -ffreestanding -c -o misc.o
misc.c
gcc -I../include -O2 -D__NO_STRING_INLINES -Wall -ffreestanding -c -o
inflate.o inflate.c
gcc -I../include -O2 -D__NO_STRING_INLINES -Wall -ffreestanding -c -o
unzip.o unzip.c
ld -N -Ttext 0x3e0000 -Bstatic -o second crt0.o printf.o malloc.o main.o
cmdline.o disk.o file.o cfg.o strtol.o prom.o cache.o string.o setjmp.o
ctype.o nosys.o stricmp.o misc.o inflate.o unzip.o -lext2fs
/usr/bin/../lib/libext2fs.a(inline.o)(.text+0x138): In function
`ext2fs_find_first_bit_set':
: undefined reference to `ffs'
/usr/bin/../lib/libext2fs.a(inline.o)(.text+0x218): In function
`ext2fs_find_next_bit_set':
: undefined reference to `ffs'
/usr/bin/../lib/libext2fs.a(inline.o)(.text+0x2b8): In function
`ext2fs_find_next_bit_set':
: undefined reference to `ffs'
make[1]: *** [second] Error 1
make[1]: Leaving directory `/usr/src/quik-2.1/second'
make: *** [all] Error 1
Reply to: