Skip to contentSkip to conversation

problem compiling qemu

Qemu-devel Gavin McCullagh 1 participant 1 message Feb 24, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

running ./configure I kept getting the warning:

WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical output

but couldn't see why as I had sdl libs and headers installed. It turns out that I didn't have gpm header files installed.

The gcc test command from the configure script was failing but as follows:

gavin@robin qemu-0.6.1> gcc -o /tmp/qemu-conf-2281-7502-31349 -I/usr/include/SDL -D_REENTRANT /tmp/qemu-conf-26274-7502-30643.c -L/usr/lib -lSDL -lpthread -lm -ldl -L/usr/lib -lasound -lm -ldl -lpthread -L/usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext -lvga -laa -lgpm -L/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lslang -lncurses /usr/bin/ld: cannot find -lgpm
collect2: ld returned 1 exit status

Perhaps the test could be more granular or mention the other libs which could make this fail.

Gavin

PS please cc me in replies as I'm not subscribed. Thanks