* [Qemu-devel] Can't compile source
@ 2004-07-03 15:17 Joe Menola
2004-07-03 15:23 ` Laurent Desnogues
0 siblings, 1 reply; 4+ messages in thread
From: Joe Menola @ 2004-07-03 15:17 UTC (permalink / raw)
To: qemu-devel
I've been using pre-compiled version while trying to get Qemu to compile. I've
tried more then 1 source and all produce the folowing error during make:
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I.
-I/mymnt/free/Applications/Linux/pclinux/qemu/target-i386
-I/mymnt/free/Applications/Linux/pclinux/qemu -D_GNU_SOURCE
-I/mymnt/free/Applications/Linux/pclinux/qemu/slirp -c -o
i386-dis.o /mymnt/free/Applications/Linux/pclinux/qemu/i386-dis.c
rm -f libqemu.a
ar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o helper.o
helper2.o translate-copy.o disas.o i386-dis.o
gcc -static -Wl,-T,/mymnt/free/Applications/Linux/pclinux/qemu/i386-vl.ld -o
qemu-fast vl.o osdep.o block.o monitor.o pci.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
cirrus_vga.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o
slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o
slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o
slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o
libqemu.a -lm -L/usr/lib -lSDL -lpthread -lm -ldl -lasound -laudio -lXt
-L/usr/X11R6/lib -lX11 -lXext -lutil
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/mymnt/free/Applications/Linux/pclinux/qemu/i386'
make: *** [all] Error 1
From source- "qemu-2004-07-04.tar.gz"
O/S- Pclinuxos
gcc- 3.3.1
What am I missing?
TIA-jm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Can't compile source
2004-07-03 15:17 [Qemu-devel] Can't compile source Joe Menola
@ 2004-07-03 15:23 ` Laurent Desnogues
2004-07-03 16:01 ` Joe Menola
0 siblings, 1 reply; 4+ messages in thread
From: Laurent Desnogues @ 2004-07-03 15:23 UTC (permalink / raw)
To: qemu-devel
Joe Menola wrote:
> /usr/bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-fast] Error 1
> make[1]: Leaving directory `/mymnt/free/Applications/Linux/pclinux/qemu/i386'
> make: *** [all] Error 1
>
> From source- "qemu-2004-07-04.tar.gz"
> O/S- Pclinuxos
> gcc- 3.3.1
>
> What am I missing?
The statically linkable version of libm (libm.a) which
should be in a package named libc-static or something
like that.
Laurent
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Can't compile source
2004-07-03 15:23 ` Laurent Desnogues
@ 2004-07-03 16:01 ` Joe Menola
2004-07-03 16:15 ` Laurent Desnogues
0 siblings, 1 reply; 4+ messages in thread
From: Joe Menola @ 2004-07-03 16:01 UTC (permalink / raw)
To: qemu-devel
On Sat July 3 2004 10:23 am, Laurent Desnogues wrote:
> Joe Menola wrote:
> > /usr/bin/ld: cannot find -lm
> > collect2: ld returned 1 exit status
> > make[1]: *** [qemu-fast] Error 1
> > make[1]: Leaving directory
> > `/mymnt/free/Applications/Linux/pclinux/qemu/i386' make: *** [all] Error
> > 1
> >
> > From source- "qemu-2004-07-04.tar.gz"
> > O/S- Pclinuxos
> > gcc- 3.3.1
> >
> > What am I missing?
>
> The statically linkable version of libm (libm.a) which
> should be in a package named libc-static or something
> like that.
>
That works, thanks. After satisfying -lm getting an error on -lxt, any
insight there?
-jm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Can't compile source
2004-07-03 16:01 ` Joe Menola
@ 2004-07-03 16:15 ` Laurent Desnogues
0 siblings, 0 replies; 4+ messages in thread
From: Laurent Desnogues @ 2004-07-03 16:15 UTC (permalink / raw)
To: qemu-devel
Joe Menola wrote:
> That works, thanks. After satisfying -lm getting an error on -lxt, any
> insight there?
Play with rpmfind:
http://fr2.rpmfind.net/linux/rpm2html/search.php?query=libxt.a&submit=Search+...&system=&arch=
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-07-03 16:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-03 15:17 [Qemu-devel] Can't compile source Joe Menola
2004-07-03 15:23 ` Laurent Desnogues
2004-07-03 16:01 ` Joe Menola
2004-07-03 16:15 ` Laurent Desnogues
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).