Skip to contentSkip to conversation

/usr/bin/ld: cannot find -lm

Qemu-devel Darrin Ritter 4 participants 5 messages Jul 19, 2004 – Jul 21, 2004

lore
Share & tools
lore
#0 lore raw

hi

Im trying to compile qemu 0.6.0 from source and I am getting this error:

/usr/bin/ld: cannot find -lm

what library file is make looking for as I cant find ´lm´anyware in my list of packages

I am having trouble getting windows 95 or 98 to load onto the virtual disk when I get to where the system reboots it ends up failing to complete the install and I end up with illegal operations or BSOD´s, currently this is with the binary file that is on the website, if i compile it will this improve its stability?

sorry that this is not more organized, Great program BTW I am impressed with how fast it boots the win 98 boot floppy as it caches the results of the last boot

cheers DarR!N

#1 lore raw
Quoted 9 lines · Darrin Ritter

hi

Im trying to compile qemu 0.6.0 from source and I am getting this error:

/usr/bin/ld: cannot find -lm

what library file is make looking for as I cant find ´lm´anyware in my list of packages

I don't remeber the pakage, but it has already been said on this list. So you will find easily with the "find" tool on the archive page. Dsant

#2 lore raw
In reply to Darrin Ritter
Quoted 5 lines · Darrin Ritter

hi

Im trying to compile qemu 0.6.0 from source and I am getting this error:

/usr/bin/ld: cannot find -lm

This refers to libm.so which is the math library, part of the standard c library (glibc). If your compiler can't find it, perhaps you need to install the glibc-devel? libm.so is usually in /usr/lib/libm.so, and is usually a symlink to /lib/libm-<version>.so

Michael

Quoted 21 lines

what library file is make looking for as I cant find ´lm´anyware in my list of packages

I am having trouble getting windows 95 or 98 to load onto the virtual disk when I get to where the system reboots it ends up failing to complete the install and I end up with illegal operations or BSOD´s, currently this is with the binary file that is on the website, if i compile it will this improve its stability?

sorry that this is not more organized, Great program BTW I am impressed with how fast it boots the win 98 boot floppy as it caches the results of the last boot

cheers DarR!N

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 1 line
Michael L Torrie <[email protected]>
#3 lore raw

thanks michael

I have the following library:

[dv@George lib]$ ls -la libm.so
lrwxrwxrwx 1 root root 19 Jul 20 23:52 libm.so -> ../../lib/libm.so.6*

what do you suggest i check next

DarR!N

Quoted 36 lines · Michael L Torrie
Quoted 7 lines · Darrin Ritter

hi

Im trying to compile qemu 0.6.0 from source and I am getting this error:

/usr/bin/ld: cannot find -lm

This refers to libm.so which is the math library, part of the standard c library (glibc). If your compiler can't find it, perhaps you need to install the glibc-devel? libm.so is usually in /usr/lib/libm.so, and is usually a symlink to /lib/libm-<version>.so

Michael

Quoted 15 lines

what library file is make looking for as I cant find ´lm´anyware in my list of packages

I am having trouble getting windows 95 or 98 to load onto the virtual disk when I get to where the system reboots it ends up failing to complete the install and I end up with illegal operations or BSOD´s, currently this is with the binary file that is on the website, if i compile it will this improve its stability?

sorry that this is not more organized, Great program BTW I am impressed with how fast it boots the win 98 boot floppy as it caches the results of the last boot

cheers DarR!N

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#4 lore raw

Hi,

Remember if you are compiling with static, you will need the .a form rather than the .so form.

Damien

Quoted 57 lines · Darrin Ritter

thanks michael

I have the following library:

[dv@George lib]$ ls -la libm.so
lrwxrwxrwx 1 root root 19 Jul 20 23:52 libm.so -> ../../lib/libm.so.6*

what do you suggest i check next

DarR!N

Quoted 11 lines · Michael L Torrie
Quoted 6 lines · Darrin Ritter

hi

Im trying to compile qemu 0.6.0 from source and I am getting this error:

/usr/bin/ld: cannot find -lm

Quoted 25 lines

This refers to libm.so which is the math library, part of the standard c library (glibc). If your compiler can't find it, perhaps you need to install the glibc-devel? libm.so is usually in /usr/lib/libm.so, and is usually a symlink to /lib/libm-<version>.so

Michael

Quoted 14 lines

what library file is make looking for as I cant find ´lm´anyware in my list of packages

I am having trouble getting windows 95 or 98 to load onto the virtual disk when I get to where the system reboots it ends up failing to complete the install and I end up with illegal operations or BSOD´s, currently this is with the binary file that is on the website, if i compile it will this improve its stability?

sorry that this is not more organized, Great program BTW I am impressed with how fast it boots the win 98 boot floppy as it caches the results of the last boot

cheers DarR!N

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel