Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Liquidwar 5.6.4 dont link on AMD64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
fred0
n00b
n00b


Joined: 17 Apr 2006
Posts: 66
Location: France

PostPosted: Fri Jan 11, 2008 3:20 pm    Post subject: [SOLVED] Liquidwar 5.6.4 dont link on AMD64 Reply with quote

Emerging games-strategy/liquidwar on AMD64 give :

Quote:
gmake[1]: Entering directory `/var/tmp/portage/games-strategy/liquidwar-5.6.4/work/liquidwar-5.6.4/src'
The configuration options to generate binaries are:
Target : default
Debug : no
Static link : no
Assembly : yes
Snprintf : using system library
The command line to compile .c files in this directory is:
cc -O2 -march=k8 -pipe -fomit-frame-pointer -I/usr/include -c -O2 -fomit-frame-pointer -Wall -W -m64 -DCONFIG_UNIX_CFG=".liquidwarrc" -DCONFIG_UNIX_DAT="/usr/share/games/liquidwar/liquidwar.dat" -DCONFIG_UNIX_MAP="/usr/share/games/liquidwar/map/" -DCONFIG_UNIX_TEX="/usr/share/games/liquidwar/texture/" -DCONFIG_UNIX_MID="/usr/share/games/liquidwar/music/" -DCONFIG_UNIX_SRV="/usr/games/bin/liquidwar-server" -DCONFIG_UNIX_GEN="/usr/games/bin/liquidwar-mapgen" -DASM -DUNIX -D_THREAD_SAFE
The command line to compile .s files in this directory is:
as --32
...

...
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `glouglou.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `monster.o' is incompatible with i386:x86-64 output
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `spread.o' is incompatible with i386:x86-64 output
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [liquidwar] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/games-strategy/liquidwar-5.6.4/work/liquidwar-5.6.4/src »
make: *** [build_bin] Erreur 2


make.conf :
Quote:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--sort-common -s"
USE="nls"


Last edited by fred0 on Wed Jan 30, 2008 5:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
fred0
n00b
n00b


Joined: 17 Apr 2006
Posts: 66
Location: France

PostPosted: Sun Jan 27, 2008 4:26 pm    Post subject: Reply with quote

There is a problem with assembler sources.

I have tried to change in Makefile.in :
Quote:
CMD_AS = $(AS) $(ASFLAGS) --32
to
Quote:
CMD_AS = $(AS) $(ASFLAGS) --64
Give message :
Quote:
Error: suffix or operands invalid for `pop'

Any Idea ???
Back to top
View user's profile Send private message
ColdWind
Retired Dev
Retired Dev


Joined: 08 Dec 2005
Posts: 119
Location: Valencia, Spain

PostPosted: Sun Jan 27, 2008 7:08 pm    Post subject: Reply with quote

fred0 wrote:

Any Idea ???


It's a known problem. You can find a fixed ebuild here:
http://bugs.gentoo.org/show_bug.cgi?id=196519
Back to top
View user's profile Send private message
fred0
n00b
n00b


Joined: 17 Apr 2006
Posts: 66
Location: France

PostPosted: Wed Jan 30, 2008 5:20 pm    Post subject: Reply with quote

Ok. Lets go !

Code:
cd what_ever_you_have_in_PORTDIR_OVERLAY

Code:
mkdir games-strategy && cd games-strategy && mkdir liquidwar && cd liquidwar

Code:
cp -r /usr/portage/games-strategy/liquidwar/files .

Code:
wget -O liquidwar-5.6.4.ebuild http://bugs.gentoo.org/attachment.cgi?id=133966

Code:
ebuild liquidwar-5.6.4.ebuild manifest

Code:
cd

Code:
emerge liquidwar


And it works. Thanks ColdWind
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum