Skip Menu |

This queue is for tickets about the Algorithm-SVM CPAN distribution.

Report information
The Basics
Id: 40105
Status: new
Priority: 0/
Queue: Algorithm-SVM

People
Owner: Nobody in particular
Requestors: mebian [...] tiscalinet.it
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Is this a bug?
Date: Thu, 16 Oct 2008 19:45:16 +0200
To: bug-Algorithm-SVM [...] rt.cpan.org
From: Marco <mebian [...] tiscalinet.it>
Trying to follow the classic way perl Makefile.pl, make, make test etc. to install: Algorithm-SVM-0.13; on a Linux 2.6.26-6.slh.2-sidux-686 #1 SMP PREEMPT on Mon Oct 13 20:56:52 UTC 2008; with perl v5.10.0 built for i486-linux-gnu-thread-multi; issuing "make" I received: xxxx@xxxx:~/4Perl/Libs/Algorithm-SVM-0.13$ make g++ -c -Wall -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/lib/perl/5.10/CORE" SVM.c SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__new_dataset(PerlInterpreter*, CV*)’: SVM.c:49: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__getLabel(PerlInterpreter*, CV*)’: SVM.c:74: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__setLabel(PerlInterpreter*, CV*)’: SVM.c:105: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__getAttribute(PerlInterpreter*, CV*)’: SVM.c:134: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__setAttribute(PerlInterpreter*, CV*)’: SVM.c:166: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__getIndexAt(PerlInterpreter*, CV*)’: SVM.c:196: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__getValueAt(PerlInterpreter*, CV*)’: SVM.c:228: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet__getMaxI(PerlInterpreter*, CV*)’: SVM.c:260: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__DataSet_DESTROY(PerlInterpreter*, CV*)’: SVM.c:291: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__new_svm(PerlInterpreter*, CV*)’: SVM.c:318: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__addDataSet(PerlInterpreter*, CV*)’: SVM.c:350: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__clearDataSet(PerlInterpreter*, CV*)’: SVM.c:386: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__train(PerlInterpreter*, CV*)’: SVM.c:414: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__crossValidate(PerlInterpreter*, CV*)’: SVM.c:446: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__predict_value(PerlInterpreter*, CV*)’: SVM.c:478: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__predict(PerlInterpreter*, CV*)’: SVM.c:517: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__saveModel(PerlInterpreter*, CV*)’: SVM.c:556: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__loadModel(PerlInterpreter*, CV*)’: SVM.c:588: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getNRClass(PerlInterpreter*, CV*)’: SVM.c:620: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getLabels(PerlInterpreter*, CV*)’: SVM.c:651: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getSVRProbability(PerlInterpreter*, CV*)’: SVM.c:692: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__checkProbabilityModel(PerlInterpreter*, CV*)’: SVM.c:723: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setSVMType(PerlInterpreter*, CV*)’: SVM.c:754: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getSVMType(PerlInterpreter*, CV*)’: SVM.c:783: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setKernelType(PerlInterpreter*, CV*)’: SVM.c:814: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getKernelType(PerlInterpreter*, CV*)’: SVM.c:843: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setGamma(PerlInterpreter*, CV*)’: SVM.c:874: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getGamma(PerlInterpreter*, CV*)’: SVM.c:903: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setDegree(PerlInterpreter*, CV*)’: SVM.c:934: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getDegree(PerlInterpreter*, CV*)’: SVM.c:963: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setCoef0(PerlInterpreter*, CV*)’: SVM.c:994: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getCoef0(PerlInterpreter*, CV*)’: SVM.c:1023: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setC(PerlInterpreter*, CV*)’: SVM.c:1054: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getC(PerlInterpreter*, CV*)’: SVM.c:1083: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setNu(PerlInterpreter*, CV*)’: SVM.c:1114: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getNu(PerlInterpreter*, CV*)’: SVM.c:1143: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__setEpsilon(PerlInterpreter*, CV*)’: SVM.c:1174: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM__getEpsilon(PerlInterpreter*, CV*)’: SVM.c:1203: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void XS_Algorithm__SVM_DESTROY(PerlInterpreter*, CV*)’: SVM.c:1234: warning: unused variable ‘Perl___notused’ SVM.c: In function ‘void boot_Algorithm__SVM(PerlInterpreter*, CV*)’: SVM.c:1267: warning: deprecated conversion from string constant to ‘char*’ SVM.c:1263: warning: unused variable ‘Perl___notused’ g++ -c -Wall -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/lib/perl/5.10/CORE" libsvm.cpp g++ -c -Wall -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/lib/perl/5.10/CORE" bindings.cpp bindings.cpp: In constructor ‘DataSet::DataSet(double)’: bindings.cpp:22: error: ‘malloc’ was not declared in this scope bindings.cpp: In destructor ‘DataSet::~DataSet()’: bindings.cpp:33: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘void DataSet::realign(svm_node*)’: bindings.cpp:39: error: ‘memcpy’ was not declared in this scope bindings.cpp:40: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘void DataSet::setAttribute(int, double)’: bindings.cpp:48: error: ‘malloc’ was not declared in this scope bindings.cpp:50: error: ‘memcpy’ was not declared in this scope bindings.cpp:86: error: ‘realloc’ was not declared in this scope bindings.cpp: In member function ‘void SVM::free_x_space()’: bindings.cpp:160: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘int SVM::train(int)’: bindings.cpp:180: error: ‘free’ was not declared in this scope bindings.cpp:186: error: ‘malloc’ was not declared in this scope bindings.cpp:191: error: ‘malloc’ was not declared in this scope bindings.cpp:195: error: ‘free’ was not declared in this scope bindings.cpp:196: error: ‘free’ was not declared in this scope bindings.cpp:197: error: ‘free’ was not declared in this scope bindings.cpp:203: error: ‘free’ was not declared in this scope bindings.cpp:219: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘double SVM::crossValidate(int)’: bindings.cpp:308: error: ‘rand’ was not declared in this scope bindings.cpp:331: error: ‘malloc’ was not declared in this scope bindings.cpp:377: error: ‘free’ was not declared in this scope bindings.cpp: In destructor ‘SVM::~SVM()’: bindings.cpp:427: error: ‘free’ was not declared in this scope make: *** [bindings.o] Error 1 master@vortex:~/4Perl/Libs/Algorithm-SVM-0.13$ make test g++ -c -Wall -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/lib/perl/5.10/CORE" bindings.cpp bindings.cpp: In constructor ‘DataSet::DataSet(double)’: bindings.cpp:22: error: ‘malloc’ was not declared in this scope bindings.cpp: In destructor ‘DataSet::~DataSet()’: bindings.cpp:33: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘void DataSet::realign(svm_node*)’: bindings.cpp:39: error: ‘memcpy’ was not declared in this scope bindings.cpp:40: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘void DataSet::setAttribute(int, double)’: master@vortex:~/4Perl/Libs$ cd Algorithm-SVM-0.13 master@vortex:~/4Perl/Libs/Algorithm-SVM-0.13$ make g++ -c -Wall -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/lib/perl/5.10/CORE" bindings.cpp bindings.cpp: In constructor ‘DataSet::DataSet(double)’: bindings.cpp:22: error: ‘malloc’ was not declared in this scope bindings.cpp: In destructor ‘DataSet::~DataSet()’: bindings.cpp:33: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘void DataSet::realign(svm_node*)’: bindings.cpp:39: error: ‘memcpy’ was not declared in this scope bindings.cpp:40: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘void DataSet::setAttribute(int, double)’: bindings.cpp:48: error: ‘malloc’ was not declared in this scope bindings.cpp:50: error: ‘memcpy’ was not declared in this scope bindings.cpp:86: error: ‘realloc’ was not declared in this scope bindings.cpp: In member function ‘void SVM::free_x_space()’: bindings.cpp:160: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘int SVM::train(int)’: bindings.cpp:180: error: ‘free’ was not declared in this scope bindings.cpp:186: error: ‘malloc’ was not declared in this scope bindings.cpp:191: error: ‘malloc’ was not declared in this scope bindings.cpp:195: error: ‘free’ was not declared in this scope bindings.cpp:196: error: ‘free’ was not declared in this scope bindings.cpp:197: error: ‘free’ was not declared in this scope bindings.cpp:203: error: ‘free’ was not declared in this scope bindings.cpp:219: error: ‘free’ was not declared in this scope bindings.cpp: In member function ‘double SVM::crossValidate(int)’: bindings.cpp:308: error: ‘rand’ was not declared in this scope bindings.cpp:331: error: ‘malloc’ was not declared in this scope bindings.cpp:377: error: ‘free’ was not declared in this scope bindings.cpp: In destructor ‘SVM::~SVM()’: bindings.cpp:427: error: ‘free’ was not declared in this scope make: *** [bindings.o] Error 1 Using "dh-make-perl --build Algorithm-SVM-0.13" produced the same error messages. Is this a bug ? TIA.