From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] linking problem
Date: Sat, 28 Aug 2004 21:29:41 +0100 [thread overview]
Message-ID: <200408282129.41511.paul@codesourcery.com> (raw)
In-Reply-To: <200408281524.40699.menola@sbcglobal.net>
On Saturday 28 August 2004 21:24, Joe Menola wrote:
> On Sat August 28 2004 12:24 pm, Lonnie Cumberland wrote:
> > Hello All,
> >
> > I am running Mandrake 10.0 and am trying to compile the qemu-0.6.0
> > version but keep getting this error:
> >
> >
> > 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,/home/lonnie/QEMU/qemu-0.6.0/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 `/home/lonnie/QEMU/qemu-0.6.0/i386'
> > make: *** [all] Error 1
> >
> > what is the "-lm" library?
-lfoo means link with libfoo.
libm is the C math library.
> I forget exactly what -lm is, but it's in one of theses packages..
>
> glibc-static-devel
Probably this one.
The exact package names vary, but make sure you have the glibc development
packages installed.
Paul
prev parent reply other threads:[~2004-08-28 20:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-28 17:24 [Qemu-devel] linking problem Lonnie Cumberland
2004-08-28 20:24 ` Joe Menola
2004-08-28 20:29 ` Paul Brook [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408282129.41511.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.