LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-24-2004, 03:02 PM   #1
cojniz
LQ Newbie
 
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20

Rep: Reputation: 0
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!
 
Old 01-24-2004, 03:12 PM   #2
MDK Obsessed
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK, Knoppix
Posts: 7

Rep: Reputation: 0
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.
 
Old 01-24-2004, 03:43 PM   #3
cojniz
LQ Newbie
 
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 01-24-2004, 08:07 PM   #4
MDK Obsessed
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK, Knoppix
Posts: 7

Rep: Reputation: 0
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).
 
Old 01-26-2004, 02:30 AM   #5
cojniz
LQ Newbie
 
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20

Original Poster
Rep: Reputation: 0
Sorry to say that the "rpm -i --nodeps wine-xxxxxxx.rpm" didn't work very well either.
Thanks anyway!
 
Old 01-26-2004, 02:25 PM   #6
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
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.
 
Old 01-26-2004, 03:09 PM   #7
cojniz
LQ Newbie
 
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20

Original Poster
Rep: Reputation: 0
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?
 
Old 01-26-2004, 05:02 PM   #8
vaxxla
LQ Newbie
 
Registered: Jan 2004
Location: U.K
Distribution: Mandrake9.2
Posts: 6

Rep: Reputation: 0
Cojniz, here you go, give this site a try:-

http://www.linuxheadquarters.com/how...lreasons.shtml
 
Old 01-26-2004, 05:33 PM   #9
cojniz
LQ Newbie
 
Registered: Jun 2003
Location: Denmark
Distribution: Ubuntu 6.06
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks!
 
Old 07-28-2004, 09:59 PM   #10
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Rep: Reputation: 15
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
 
Old 07-30-2004, 10:24 PM   #11
ixe
LQ Newbie
 
Registered: Jul 2004
Location: Minnesota, USA
Distribution: Debian
Posts: 11

Rep: Reputation: 0
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
 
Old 08-03-2004, 04:57 AM   #12
cerw
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 08-03-2004, 08:36 AM   #13
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
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!
 
Old 08-03-2004, 08:37 AM   #14
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
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.
 
Old 09-14-2004, 06:46 PM   #15
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ph&#7909;c h&#7891;i d&#7919; li&#7879;u b&#7883; m&#7845;t???, c&#7913; pollsite General 1 06-27-2005 01:39 PM
wine & fullscreen helios the sun Linux - Newbie 1 04-24-2005 10:36 PM
Wine, Fedora 3 & CS 1.6 kompact Linux - Newbie 0 04-22-2005 10:32 PM
Ubuntu & Wine Aeoruuk Linux - Newbie 6 12-05-2004 02:18 PM
wine & blitzkrieg & slackware perry Linux - Software 0 11-21-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration