all i've done is downloaded the library and tried to compile it. So, i have an errors:
$ make
rm -f lwnnplus
ln -s source lwnnplus
make lib -C tinyxml
make[1]: Enter directory `/home/va/lwnn/tinyxml'g++ -m32 -fPIC -shared tinyxml.o tinyxmlparser.o tinyxmlerror.o tinystr.o -o libtinyxml.so make[1]: Exit from directory `/home/va/lwnn/tinyxml'
make -C source
make[1]: Enter directory `/home/va/lwnn/source'gcc -g -O2 -Wall -W -Winline -c -o generate_sigma.o generate_sigma.cgcc -o generate_sigma generate_sigma.o -lm./generate_sigma -n 2000 > sigmoidal.ccg++ -O3 -finline-functions -fPIC -DLWNNPLUS_VERSION=0.998 -Wall -Winline -pedantic -c network.cc -o network.o network.cc: In member function ‘int network::fscan_ssab(FILE*)’:network.cc:1399: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_resultg++ -O3 -finline-functions -fPIC -DLWNNPLUS_VERSION=0.998 -Wall -Winline -pedantic -c trainer.cc -o trainer.o trainer.cc: In member function ‘void trainer::compute_error_and_accuracy(float&, float&, int, float**, float**)’:trainer.cc:680: error: ‘malloc’ was not declared in this scopetrainer.cc:696: error: ‘free’ was not declared in this scopetrainer.cc: In member function ‘float trainer::compute_accuracy(int, float**, float**)’:trainer.cc:709: error: ‘malloc’ was not declared in this scopetrainer.cc:717: error: ‘free’ was not declared in this scopetrainer.cc: In member function ‘float trainer::show_on_set(bool, int, float**, float**) const’:trainer.cc:775: error: ‘malloc’ was not declared in this scopetrainer.cc:817: warning: unknown escape sequence '\%'trainer.cc:817: warning: unknown conversion type character ‘)’ in formattrainer.cc:823: warning: unknown escape sequence '\%'trainer.cc:823: warning: unknown conversion type character 0xa in formattrainer.cc:825: error: ‘free’ was not declared in this scopetrainer.cc: In member function ‘void trainer::copy_data(int, float**, float**, float**, float**)’:trainer.cc:1022: error: ‘memcpy’ was not declared in this scopetrainer.cc:1026: error: ‘memcpy’ was not declared in this scopemake[1]: *** [trainer.o] Error 1make[1]: Exit directory `/home/va/lwnn/source'
make: *** [all] Error 2
$
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-07-27
Oh, yeah, i have gcc_4.4.3 and Kernel_2.6.32.
If your project alive, answer me ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
all i've done is downloaded the library and tried to compile it. So, i have an errors:
Oh, yeah, i have gcc_4.4.3 and Kernel_2.6.32.
If your project alive, answer me ;)