kukugt / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Compile error in nasm file when compiling for amd64 #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Linux distribution: Ubuntu 8.04
 - Machine type: (32-bit or 64-bit) 64bit
 - Mupen64Plus version: 1.4
 - Plugins used: none

For visual artifacts, give:
- game name and CRC/MD5 hash (printed on console)
 - description of the artifact (missing polygons, flashing, wrong colors, 
etc)

Trying to build a debian package of version 1.4 for amd64 there
is a syntax error.
See this bugreport: https://bugs.launchpad.net/getdeb.net/+bug/275791

The problem is at line 3 in glide64/Tmem_nasm.asm.

%if BITS=64
DEFAULT REL ; this is line 3
%else
%define rax eax
%define rbx ebx
%define rcx ecx
%define rsi esi
%define rdi edi
%define rdx edx
%endif

The yasm assembler compiler is used.

Original issue reported on code.google.com by christop...@posteo.de on 29 Sep 2008 at 5:34

GoogleCodeExporter commented 8 years ago
The problem might be that the yasm version in hardy is 0.5.0.

In intrepid it is 0.7.1.

I will backport it and try again.

Original comment by christop...@posteo.de on 29 Sep 2008 at 6:13

GoogleCodeExporter commented 8 years ago
yasm was the problem.

It builds find for amd64 using yasm 0.7.1.

This issue is invalid.

Original comment by christop...@posteo.de on 29 Sep 2008 at 7:13

GoogleCodeExporter commented 8 years ago
I suggest using svn, we removed the yasm dependence awhile back.

Original comment by sknau...@wesleyan.edu on 30 Sep 2008 at 12:22