Skip to contentSkip to conversation

aalib configure problem <-> Debian package fails to rebuild

Qemu-devel Jean-Michel POURE 2 participants 5 messages Mar 23, 2004 – Mar 24, 2004

lore
Share & tools
lore
#0 lore raw

Dear all,

"apt-get source qemu --build" fails one my SID desktop:

Creating config-host.mak and config-host.h ./configure: line 1: aalib-config: command not found ./configure: line 1: aalib-config: command not found

Then the package builds:

gcc -static -Wl,-T,/home/jmpoure/projets/qemu/qemu-0.5.2/i386-vl.ld -o qemu-fast vl.o block.o ide.o vga.o sb16.o dma.o oss.o fdc.o sdl.o libqemu.a -lm -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -lvga -laa /usr/lib/gcc-lib/i486-linux/3.3.3/../../../libSDL.a(SDL_loadso.o)(.text+0x2a):
dans la fonction « SDL_LoadObject »:
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: ne peut trouver -laa
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [qemu-fast] Erreur 1
make[2]: quittant le répertoire « /home/jmpoure/projets/qemu/qemu-0.5.2/i386 » make[1]: *** [all] Erreur 1
make[1]: quittant le répertoire « /home/jmpoure/projets/qemu/qemu-0.5.2 »
make: *** [build-stamp] Erreur 2
La commande de construction « cd qemu-0.5.2 && dpkg-buildpackage -rfakeroot -b -uc » a échoué.

When installing aalib1-devel, rebuild still fails. The same happens with the CVS version.

Cheers,
Jean-Michel

#1 lore raw
Quoted 5 lines · Jean-Michel POURE

"apt-get source qemu --build" fails one my SID desktop:

Creating config-host.mak and config-host.h ./configure: line 1: aalib-config: command not found ./configure: line 1: aalib-config: command not found

You should report this as a bug to the debian bts (reportbug tool comes in handy here) you can fix the problem by installing aalib1-dev package before trying to build qemu.

Regards, Sami

#2 lore raw
Quoted 2 lines · Sami Haahtinen

You can fix the problem by installing aalib1-dev package before trying to build qemu.

Installing aalib1-dev brings the same errors as Lucca Feroni reported (libSDL). Cheers, Jean-Michel

#3 lore raw

[Qemu-devel] Static build

In reply to Sami Haahtinen
Quoted 1 line · Sami Haahtinen

Creating config-host.mak and config-host.h

Although I did not choose the --static option,
the config-host.mak file includes:

SDL_STATIC_LIBS=-lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -lvga -laa

On another host, where Qemu is able to compile, the same file contains:
SDL_STATIC_LIBS=-lSDL -lpthread -lm -ldl -L/usr/X11R6/lib -lX11 -lXext

Cheers,
Jean-Michel

#4 lore raw

[Qemu-devel] Re: Static build

Quoted 8 lines · Jean-Michel POURE

Le Tuesday 23 March 2004 21:27, Sami Haahtinen a écrit : Although I did not choose the --static option, the config-host.mak file includes:

SDL_STATIC_LIBS=-lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -lvga -laa

On another host, where Qemu is able to compile, the same file contains:
SDL_STATIC_LIBS=-lSDL -lpthread -lm -ldl -L/usr/X11R6/lib -lX11 -lXext

I think that line is generated by sdl-config, as my line said a completely different thing (and i needed to add -lgpm)

-- Sami