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 ?
Note that I changed CVS code (line 35 of phalanx.h) to
#ifdef _WIN32
# define inline __inline
typedef __int64 int64;
#else
# define inline __inline__
typedef long long int64;
#endif
instead of the original
#ifdef _WIN32
# define inline __inline
typedef __int64 int64;
#else
typedef long long int64;
#endif
and this is the latest code (the original one) I'd like to check. For me,
with gcc 4.1.2 both are ok.
Pascal
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users