Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-24-2004, 03:02 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20
Rep:
|
Wine & 9.2
I got hold of wine today and tried to install it, rpm-file.
But it says:
error: Failed dependencies:
/lib/i686/libc.so.6 is needed by wine-20040121-mdk
What do I need and where do I get it?
If it have anything to do with platforms and so on, FYI:
Mandrake 9.2 RC1 for AMD64
Cheers!
|
|
|
01-24-2004, 03:12 PM
|
#2
|
LQ Newbie
Registered: Nov 2003
Distribution: MDK, Knoppix
Posts: 7
Rep:
|
Since you're on AMD64 i suggest recompiling wine, MDK64 probably has a different libc virsion than the 32bit MDK.
[edit] hence the libc.so.6 error
Last edited by MDK Obsessed; 01-24-2004 at 03:13 PM.
|
|
|
01-24-2004, 03:43 PM
|
#3
|
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20
Original Poster
Rep:
|
I downloaded the source, tarball, and tried to compile it but I recived an error:
gcc -c -I. -I. -I../../include -I../../include -D_WINESRC -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -stabs+ -Wpointer-arith -g -O2 -o interlocked.o interlocked.c
interlocked.c:248:3: #error You must implement the interlocked* functions for your CPU
make[2]: *** [interlocked.o] Error 1
make[2]: Leaving directory '/home/cojniz/wine-20040121/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory '/home/cojniz/wine-20040121/libs'
make: *** [libs] Error 2
How do I 'implement the interlocked* functions for my CPU'??
Last edited by cojniz; 01-24-2004 at 04:48 PM.
|
|
|
01-24-2004, 08:07 PM
|
#4
|
LQ Newbie
Registered: Nov 2003
Distribution: MDK, Knoppix
Posts: 7
Rep:
|
I don't know(i stink at compiling software and I don't have a AMD64 to play with). I would try to install the rpm using "rpm -i --nodeps wine.rpm". It really depends on how close your version of libc is to the one the package was built for(I think, if it doesn't work you can just uninstall it and try something different).
|
|
|
01-26-2004, 02:30 AM
|
#5
|
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20
Original Poster
Rep:
|
Sorry to say that the "rpm -i --nodeps wine-xxxxxxx.rpm" didn't work very well either.
Thanks anyway!
|
|
|
01-26-2004, 02:25 PM
|
#6
|
Member
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242
Rep:
|
you might not have the right support for you kernel. As the error said when you were compiling, you need to enable some kind of support in your kernel, which means building support into it. That means compiling your kernel to have a little more amd64 support.
|
|
|
01-26-2004, 03:09 PM
|
#7
|
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20
Original Poster
Rep:
|
Ok, so I'm up for a kernel recompile. I guess I had that coming sooner or later.
I got another suggestion from a friend, to boot up without smp-support and compile and perhaps run it on 1 CPU only. Would that make any difference?
Anyhow, how do I recompile the kernel?
Is there a guide anywhere for howto recompile it, running Mandrake 9.2?
|
|
|
01-26-2004, 05:02 PM
|
#8
|
LQ Newbie
Registered: Jan 2004
Location: U.K
Distribution: Mandrake9.2
Posts: 6
Rep:
|
|
|
|
01-26-2004, 05:33 PM
|
#9
|
LQ Newbie
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20
Original Poster
Rep:
|
Thanks!
|
|
|
07-28-2004, 09:59 PM
|
#10
|
Member
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53
Rep:
|
Does anybody have this working yet?
I red some post of people havinf this working.
Still got this error:
#error You must implement the interlocked* functions for your CPU
Have not found anything in kernel to get this?
A Google did not make me wiser, so hopefully anybody knows how to fix this?
I am running Gentoo 2.6.7-r11 and tried to compile the kernel on x86_64 and amd64 mode.
Same results.
Waiting for the saving poster
|
|
|
07-30-2004, 10:24 PM
|
#11
|
LQ Newbie
Registered: Jul 2004
Location: Minnesota, USA
Distribution: Debian
Posts: 11
Rep:
|
Me too
I'm working on my brand new laptop (HP zv5000z) with AMD64 and trying to build wine among other things. I had the exact same error message. I haven't had any success yet, but will post here if I do. I am rebuilding my kernel anyways for other reasons so maybe that will help. I was a little depressed when I saw this on winehq: http://www.winehq.org/?issue=225#AMD64%20Issues sounds like we're sortof pioneers here or something
Jay
|
|
|
08-03-2004, 04:57 AM
|
#12
|
LQ Newbie
Registered: Aug 2004
Posts: 2
Rep:
|
Re: Me too
Hi
I am running AMD64 (DUAL) with Gentoo64 and I am not lucky either, tru to compile WINE
interlocked.c:248:3: #error You must implement the interlocked* functions for your CPU
make[2]: *** [interlocked.o] Error 1
try few versions of WINE newest from wine-20040716.ebuild
does anyone know what this issue can be?
thanks
cerw.
Quote:
Originally posted by ixe
I'm working on my brand new laptop (HP zv5000z) with AMD64 and trying to build wine among other things. I had the exact same error message. I haven't had any success yet, but will post here if I do. I am rebuilding my kernel anyways for other reasons so maybe that will help. I was a little depressed when I saw this on winehq: http://www.winehq.org/?issue=225#AMD64%20Issues sounds like we're sortof pioneers here or something
Jay
|
|
|
|
08-03-2004, 08:36 AM
|
#13
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
The issue is that Wine has not been ported to any 64 bit architectures yet. Unless you have a good understanding of AMD64 assembly and/or multi-threading (the interlocked functions are atomic, for instance) you cannot fix this error.
Until then I suggest either:
a) Not using a 64 bit chip. Really, if you are using a 64 bit system you should know what you're doing and understand errors like this, AMD64 isn't designed for non-technical users
b) Compiling Wine in 32 bit mode. I do not know how to do this but there are techniques floating around, I have seen them before. Use google power.
Good luck!
|
|
|
08-03-2004, 08:37 AM
|
#14
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
Oh, one more thing, you *cannot* fix that compilation error except by compiling Wine as a 32 bit app. Playing with the kernel won't help, that's just likely to break things. Even then as the Weekly News points out, you may run into strange problems at runtime.
|
|
|
09-14-2004, 06:46 PM
|
#15
|
Member
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53
Rep:
|
Hi guys,
I found a solution, which has been around for a while.
It is voor gentoo, which I use (and it rocks!), but there is enough info to get it working on other distro's probably.
Check it out:
http://forums.gentoo.org/viewtopic.p...ght=wine+amd64
I used packages from fedora core 2 for this and it works.
Use the binaries, rpm2tgz them and extract in root. Then the named emul libraries might be platform depedent.
Good luck, have fun, hope it works for you too.
You can always switch to gentoo
greetz
|
|
|
All times are GMT -5. The time now is 05:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|