| View previous topic :: View next topic |
| Author |
Message |
fred0 n00b


Joined: 17 Apr 2006 Posts: 66 Location: France
|
Posted: Fri Jan 11, 2008 3:20 pm Post subject: [SOLVED] Liquidwar 5.6.4 dont link on AMD64 |
|
|
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 |
|
 |
fred0 n00b


Joined: 17 Apr 2006 Posts: 66 Location: France
|
Posted: Sun Jan 27, 2008 4:26 pm Post subject: |
|
|
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 |
|
 |
ColdWind Retired Dev

Joined: 08 Dec 2005 Posts: 119 Location: Valencia, Spain
|
|
| Back to top |
|
 |
fred0 n00b


Joined: 17 Apr 2006 Posts: 66 Location: France
|
Posted: Wed Jan 30, 2008 5:20 pm Post subject: |
|
|
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 |
And it works. Thanks ColdWind |
|
| Back to top |
|
 |
|