bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] (compile) error: 0.90* and latest SNAPSHOTs won't build


From: Michael Petch
Subject: Re: [Bug-gnubg] (compile) error: 0.90* and latest SNAPSHOTs won't build with 3d-board on gentoo
Date: Mon, 19 Jan 2009 14:59:47 -0700
User-agent: Microsoft-Entourage/11.4.0.080122

On 1/19/09 2:18 PM, "Mitch Mitchum" <address@hidden> wrote:
> 
> - gnubg-0.9.0-1.tar.gz won't compile and make will quit with output:
> 
> #neuralnet.c: In function 'SSE_Supported':
> #neuralnet.c:638: error: unknown register name '%edx' in 'asm'
> #neuralnet.c:638: error: unknown register name '%ecx' in 'asm'
> #neuralnet.c:638: error: unknown register name '%eax' in 'asm'
> #make[2]: *** [neuralnet.lo] Error 1
> #make[2]: Leaving directory `/usr/local/src/gnubg/lib'
> #make[1]: *** [all-recursive] Error 1
> #make[1]: Leaving directory `/usr/local/src/gnubg'
> #make: *** [all] Error 2
> 

Okay as you are aware, gnubg-0.9.0-1.tar.gz is not the latest. But if you
want to see if 0.90 works, this error can be circumvented by running
configure like this:

./configure --enable-sse=no

Of course you can use whatever other configure parameters you wish, adding
this one should force SSE off in the builds. It appears this older version
of gnubg didn't check the processor type properly and tried to build SSE on
a PPC (No SSE support on PPC).

As well, I highly recommend you do this:

./autogen.sh
./configure --enable-sse=no
make 
make install

Running autogen.sh on your system at least once makes sure that the autoconf
and automake facilities are up do to date.

My guess will be that if the snapshot fails with 3d on, 0.90 will as well
but you can try it and let us know.


> - most important:
> - gnubg-source-SNAPSHOT-20090119.tar (as well as *20090117.tar) do compile and
> install, but do only work without 3d-support (meaning gtkglext must be
> uninstalled while building snapshot and therefore there is no 3d; the possible
> 2d gnubg runs very good (at least *20090117)).
> 
> When i try to build snapshot with 3d-support, it will compile and install, but
> won't run and quit upon start with message:
> 
> #set gui showids on
> #(No game) (No game) gnubg: tnl/t_save_api.c:490: _save_upgrade_vertex:
> Assertion `oldsz == 0' failed.
> #Aborted

I haven't seen this before. If you can try 0.90 (and ./autogen.sh) and learn
if that works it would be interesting.

Lastly on your snapshot build, try it having run ./autogen.sh first do the
./configure --enable-sse=no  and then email a copy of your config.log and
config.h to me. These files will tell me what Gnubg thinks is installed on
your system and active.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]