LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2005, 07:12 PM   #1
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Rep: Reputation: 0
cedega cvs compile problem


Hello, I'm trying to compile cedega (the CVS version). I think I have all the dependencies covered.
(the configure script has stopped complaining at least)

However when I try to 'make' it I get this error:

make[2]: Entering directory `/home/user0/.WineCVS/sources/cvscedega/winex/dlls/glu32'
ld -r glu.o -o glu32.tmp.o
ld: Relocatable linking with relocations from format elf32-i386 (glu.o) to format elf64-x86-64 (glu32.tmp.o) is not supported
make[2]: *** [glu32.tmp.o] Error 1
make[2]: Leaving directory `/home/user0/.WineCVS/sources/cvscedega/winex/dlls/glu32'
make[1]: *** [glu32/libglu32.so] Error 2
make[1]: Leaving directory `/home/user0/.WineCVS/sources/cvscedega/winex/dlls'
make: *** [dlls] Error 2

Is this because the linker is trying to add a 64bit library to the 32bit code?

(which It should not as I have both 32bit and 64bit versions of the same library (libGLU.so) and development files for both)

Any ideas? anyone?
 
Old 10-30-2005, 12:28 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
no i think the linker is trying to link a 32 bit object glu.o to 64 bit output.
as best as i can understand the output the linker is saying -- "this 32 bit code needs to be written as usual but with relocation bits or information added in so the code is loaded into memory spread out as if it were 64 bit (relocated)". i can't do this.

this is the -r flag in "ld -r" of your command line

i think cedega not ld is saying it doesn't support 64 bit.

I know wine project has been having alot of trouble implementing 64 bit because it involves getting binary compatability with win64 out of gcc.
 
Old 10-30-2005, 05:00 PM   #3
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Original Poster
Rep: Reputation: 0
does export LD="ld -m elf_i386" have any effect?

In fact why don't I see the command option listed with ld as well?

lots of other stuff compiled before that, why no complaints then?
 
Old 10-30-2005, 05:20 PM   #4
M-Type
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I added export LDEMULATION="elf_i386"
to the environment and make gets a bit further.

However I'm stuck at a very obscure error:

Code:
signal_i386.c:431: warning: `struct vm86plus_struct' declared inside parameter list
signal_i386.c:431: warning: its scope is only this definition or declaration, which is probably not what you want
signal_i386.c: In function `save_vm86_context':
signal_i386.c:433: error: dereferencing pointer to incomplete type
The only thing I can think of is I'm building it under the wrong version of gcc (3.3.5) or there is some typo in the cedega codebase itself.

I'm stumped.
 
  


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
Cedega CVS compiling problem :( (Slamd64) K@rl` Linux - Games 1 12-07-2005 01:58 AM
Cedega CVS compile errors trawler Linux - Software 6 11-01-2005 07:36 AM
Cvs Cedega Problem with steam sds.sly Linux - Games 1 04-14-2005 04:17 PM
cvs cedega - compiling problem wilu Linux - Software 0 03-17-2005 12:12 PM
cvs winex compile problem gonus Linux - Software 0 08-03-2004 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration