qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Another CVS compile error


From: rutger
Subject: Re: [Qemu-devel] Another CVS compile error
Date: Sun, 9 May 2004 19:03:38 +0200
User-agent: Mutt/1.5.6i

On Sun, May 09, 2004 at 06:19:28PM +0200, Grzegorz Kulewski wrote:
> There is probelm with the current CVS version of QEMU:
> 
> mkdir -p "/var/tmp/portage/qemu-cvs-1.3/image//usr/bin"
> install -m 755 -s qemu-mkcow 
> "/var/tmp/portage/qemu-cvs-1.3/image//usr/bin"
> mkdir -p "/var/tmp/portage/qemu-cvs-1.3/image//usr/share/qemu"
> install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
>                        pc-bios/linux_boot.bin 
> "/var/tmp/portage/qemu-cvs-1.3/image//usr/share/qemu"
> mkdir -p "/usr/share/doc/qemu"
> ACCESS DENIED  mkdir:     /usr/share/doc/qemu
> mkdir: nie mona utworzy katalogu `/usr/share/doc/qemu': Brak dostpu
> make: *** [install] Bd 1
>  
> !!! ERROR: app-emulation/qemu-cvs-1.3 failed.
> !!! Function einstall, Line 388, Exitcode 2
> !!! einstall failed
>  
> --------------------------- ACCESS VIOLATION SUMMARY 
> ---------------------------
> LOG FILE = "/tmp/sandbox-app-emulation_-_qemu-cvs-1.3-10353.log"
>  
> mkdir:     /usr/share/doc/qemu
> --------------------------------------------------------------------------------
> 
> Looks like Gentoo's portage system detects that makefile is trying to 
> write in /usr/share/doc/qemu at some time while it should write in 
> /var/tmp/portage/qemu-cvs-1.3/image/usr/share/doc/qemu. It was working 
> with older CVS versions of QEMU.
> 
> Fabrice can you fix this?

On a related note, using the CVS version and compiling with Gentoo
still gives me

make[1]: Entering directory `/home/rutger/download/qemu/i386'
gcc  -static -Wl,-T,/home/rutger/download/qemu/i386-vl.ld  -o qemu-fast vl.o 
osdep.o block.o monitor.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o 
mc146818rtc.o serial.o i8259.o i8254.o pc.o gdbstub.o sdl.o libqemu.a  -lm 
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound 
-L/usr/X11R6/lib -lX11 -lXext -laa -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm 
-L/usr/X11R6/lib -lX11 -lncurses -lutil
/usr/lib/libSDL.a(SDL_x11gl.o)(.text+0x90a): In function `X11_GL_LoadLibrary':
: warning: Using 'dlopen' in statically linked applications requires at runtime 
the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lasound
collect2: ld returned 1 exit status

What is the structural way to get qemu compiled on gentoo without hacks?

Is this going to be fixed in the CVS version?
Other option: Do I have to use some ebuild for qemu?
Where can I find this ebuild?
Other option: How do I tell ALSA in Gentoo to generate a static lib?
Other option: Can I disable ALSA during build of qemu?

Regards,
Rutger.

-- 
Rutger Nijlunsing ---------------------------- rutger ed tux tmfweb nl
never attribute to a conspiracy which can be explained by incompetence
----------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]