I see you put the Sigmoid changes in. I pulled out latest CVS code and have encountered a couple of things. First off I am using Debian Lenny/Stable(Fully updated). June 10th CVS builds fine. First off autogen.sh has an error when run:
debianlenny:~/personal/gnubg# ./autogen.sh
+ aclocal -I m4
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
+ libtoolize --force --copy
+ autoheader
+ automake --add-missing --copy -Wno-portability
+ autoconf
libmcrypt-dev and libmcrypt4 (lib) are installed.
Secondly there is an issue building neuralnetsse.c and appears to be related to the Sigmoid addition. I build with
./configure —enable-threads
The failure is as follows:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -msse -g -O2 -MT libneuralnetsse_la-neuralnetsse.lo -MD -MP -MF .deps/libneuralnetsse_la-neuralnetsse.Tpo -c -o libneuralnetsse_la-neuralnetsse.lo `test -f 'neuralnetsse.c' || echo './'`neuralnetsse.c
gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -msse -g -O2 -MT libneuralnetsse_la-neuralnetsse.lo -MD -MP -MF .deps/libneuralnetsse_la-neuralnetsse.Tpo -c neuralnetsse.c -o libneuralnetsse_la-neuralnetsse.o
In file included from neuralnetsse.c:37:
/usr/lib/gcc/i486-linux-gnu/4.3.2/include/emmintrin.h:34:3: error: #error "SSE2 instruction set not enabled"
neuralnetsse.c: In function ‘Evaluate128’:
neuralnetsse.c:123: error: ‘__m128’ undeclared (first use in this function)
neuralnetsse.c:123: error: (Each undeclared identifier is reported only once
neuralnetsse.c:123: error: for each function it appears in.)
neuralnetsse.c:123: error: expected ‘;’ before ‘vec0’
neuralnetsse.c:141: error: ‘vec0’ undeclared (first use in this function)
neuralnetsse.c:142: error: ‘vec1’ undeclared (first use in this function)
neuralnetsse.c:143: error: ‘sum’ undeclared (first use in this function)
neuralnetsse.c:149: error: ‘scalevec’ undeclared (first use in this function)
neuralnetsse.c:154: error: ‘vec3’ undeclared (first use in this function)
make[2]: *** [libneuralnetsse_la-neuralnetsse.lo] Error 1
make[2]: Leaving directory `/root/personal/gnubg/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/personal/gnubg'
make: *** [all] Error 2
The system include file emmintrin.h at that line is :
#ifndef __SSE2__
# error "SSE2 instruction set not enabled"
#else
I get the same result if I use enable-sse=cputest, enable-sse=yes, enable-sse=sse2 . If I disable SSE it will compile file. config.h snippets regarding SSE are as follows:
/* Define if you want to disable the SSE cpu test */
/* #undef DISABLE_SSE_TEST */
/* Define if you want to compile with SSE2 support */
/* #undef USE_SSE2 */
/* Define if you want to compile with SSE support */
#define USE_SSE_VECTORIZE 1