Skip to contentSkip to conversation

kqemu under Debian compilation woes

Qemu-devel Nigel Horne 1 participant 1 message Nov 18, 2008

lore
Share & tools
lore
#0 lore raw

I can't get kqemu to build under Debian Linux on my amd 64 bit machine. It seems to also try to build the 32bit version and that fails.

njh@packard:~/src/kqemu-1.4.0pre1$ make distclean
make: *** No rule to make target `distclean'.  Stop.
njh@packard:~/src/kqemu-1.4.0pre1$ ./configure
Source path       /home/njh/src/kqemu-1.4.0pre1
C compiler        gcc
Host C compiler   gcc
make              make
host CPU          x86_64

kernel sources /lib/modules/2.6.26-1-amd64/build
kbuild type 2.6

njh@packard:~/src/kqemu-1.4.0pre1$ make
make -C common all
make[1]: Entering directory `/home/njh/src/kqemu-1.4.0pre1/common'
gcc -Wall -O2 -Werror -g -D__KERNEL__ -I.. -o genoffsets genoffsets.c
./genoffsets > monitor_def.h
gcc -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -D__ASSEMBLY__ -c -o x86_64/nexus_asm.o x86_64/nexus_asm.S
gcc -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -D__ASSEMBLY__ -c -o x86_64/monitor_asm.o x86_64/monitor_asm.S
gcc -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing -Werror  -mno-red-zone -fno-stack-protector    -fpic  -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -c -o monitor.o monitor.c
gcc -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing -Werror  -mno-red-zone -fno-stack-protector    -fpic  -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -c -o monitor-utils.o monitor-utils.c
gcc -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing -Werror  -mno-red-zone -fno-stack-protector    -fpic  -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -c -o interp.o interp.c
ld -T x86_64/monitor.ld -o monitor-image.out x86_64/nexus_asm.o x86_64/monitor_asm.o monitor.o monitor-utils.o interp.o
objcopy -O binary monitor-image.out monitor-image.bin
gcc -Wall -O2 -Werror -g -o genmon genmon.c
./genmon < monitor-image.bin > monitor-image.h
gcc -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing -Werror  -mno-red-zone -mcmodel=kernel -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -c -o kernel.o kernel.c
gcc -D__KERNEL__ -nostdinc -iwithprefix include -I. -I.. -D__ASSEMBLY__ -c -o x86_64/kernel_asm.o x86_64/kernel_asm.S
ld -r -o ../kqemu-mod-x86_64.o kernel.o x86_64/kernel_asm.o
make[1]: Leaving directory `/home/njh/src/kqemu-1.4.0pre1/common'
make -C /lib/modules/2.6.26-1-amd64/build M=`pwd` modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-amd64'
 CC [M]  /home/njh/src/kqemu-1.4.0pre1/kqemu-linux.o
make[2]: *** No rule to make target `/home/njh/src/kqemu-1.4.0pre1/kqemu-mod-x86.o', needed by `/home/njh/src/kqemu-1.4.0pre1/kqemu-mod.o'.  Stop.
make[1]: *** [_module_/home/njh/src/kqemu-1.4.0pre1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-amd64'
make: *** [kqemu.ko] Error 2
njh@packard:~/src/kqemu-1.4.0pre1$
Signature · 3 lines
Nigel Horne. Adjudicator, Arranger, Band Trainer, Conductor, Composer, Tutor.
NJH Music, Barnsley, UK.  ICQ#20252325
[email protected] http://www.bandsman.co.uk