On Jul 13, 2008, at 7:19 AM, Pascal Georges wrote:

> Hi,
>
> Someone reported a small problem compiling Phalanx with Debian Linux  
> 4.0r3.
>    ------------------------------
>    .o/data.o: In function `initdist':
>    data.c:(.text+0x46): undefined reference to `taxi_dist'
>    data.c:(.text+0x7f): undefined reference to `diag_dist'
>    data.c:(.text+0xb8): undefined reference to `max_dist'
>    data.c:(.text+0xf1): undefined reference to `min_dist'
>    collect2: ld returned 1 exit status
>    make: *** [phalanx] Error 1
>    ------------------------------
>
> There is a very simple workaround by defining "inline" in phalanx.h,  
> but I don't understand why it should be changed (I checked gcc doc  
> and found no hint).
> Could someone confirm that gcc 4.3.1 fails to compile ?
>
The default inlining behaviour (at least) changed in 4.3.  Now c99  
behaviour is the default.  I believe that compiling the old phalanx  
code with --std=gnu89 (or possibly c89) with 4.3 would also fix the  
problem.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to