Skip to contentSkip to conversation

compile problem on debian sarge amd64

Qemu-devel kadil 2 participants 2 messages May 9, 2006

lore
Share & tools
lore

kadil

author
#0 lore raw

Hi,

I downloaded 0.8.1, installed the sdl libs and tried to compile qemu but it did not work.
./configure

a6qu:/home/kadil/qemu-0.8.1# ./configure
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/kadil/qemu-0.8.1
C compiler        gcc
Host C compiler   gcc
make              make
install           install
host CPU          x86_64
host big endian   no
target list       i386-user arm-user armeb-user sparc-user ppc-user
mips-user mipsel-user i386-softmmu ppc-softmmu sparc-softmmu
x86_64-softmmu mips-softmmu mipsel-softmmu arm-softmmu
gprof enabled     no
profiler          no
static build      no
SDL support       yes
SDL static link   no
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      no
DSound support    no
FMOD support      no
kqemu support     yes
Documentation     no

make
.
.
.
emu-0.8.1/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/kadil/qemu-0.8.1/fpu -DHAS_AUDIO -I/home/kadil/qemu-0.8.1/slirp -c -o
gdbstub.o /home/kadil/qemu-0.8.1/gdbstub.c
gcc -g -Wl,-T,/home/kadil/qemu-0.8.1/x86_64.ld -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a
gdbstub.o -lm
/usr/bin/ld:/home/kadil/qemu-0.8.1/x86_64.ld:62: parse error
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make[1]: Leaving directory `/home/kadil/qemu-0.8.1/i386-user'
make: *** [all] Error 1

Any ideas?

Kim

#1 lore raw
Quoted 13 lines

emu-0.8.1/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64

(quoted diff) +0 -2
-D_LARGEFILE_SOURCE -I/home/kadil/qemu-0.8.1/fpu -DHAS_AUDIO
-I/home/kadil/qemu-0.8.1/slirp -c -o

gdbstub.o /home/kadil/qemu-0.8.1/gdbstub.c
gcc -g -Wl,-T,/home/kadil/qemu-0.8.1/x86_64.ld -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a
gdbstub.o -lm
/usr/bin/ld:/home/kadil/qemu-0.8.1/x86_64.ld:62: parse error
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make[1]: Leaving directory `/home/kadil/qemu-0.8.1/i386-user'
make: *** [all] Error 1

Quoted 1 line

Any ideas?

It's complaining about the ONLY_IF_RO/ONLY_IF_RW. Either hack the linker script of use a newer binutils.

Paul