Orange Forum • View topic - make problem fedora core 3 -`prepareNumeric' undeclared

make problem fedora core 3 -`prepareNumeric' undeclared

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

make problem fedora core 3 -`prepareNumeric' undeclared

Postby Guest » Mon May 23, 2005 5:17

Hi,
I am trying to compile from snap shot
gcc 3.4.2
I get this error. I installed numeric v 24.0b2
Code: Select all
(for MODULE in include orange orangeom orangene corn statc ; \
   do make all -C $MODULE OLD=../..; done)
make[1]: Entering directory `/home/gmorgan/python/orange_snap/source/include'
make[1]: Leaving directory `/home/gmorgan/python/orange_snap/source/include'
make[1]: Entering directory `/home/gmorgan/python/orange_snap/source/orange'
python ../pyxtract/jitlink_build.py R.so r_imports.hpp
g++ -fPIC -fpermissive -w -DLINUX -O3 -DNO_NUMERIC -c lib_learner.cpp -o obj/lib_learner.o
lib_learner.cpp: In function `PyObject* P2NN_new(PyTypeObject*, PyObject*, PyObject*)':
lib_learner.cpp:714: error: `prepareNumeric' undeclared (first use this function)
lib_learner.cpp:714: error: (Each undeclared identifier is reported only once for each function it appears in.)
lib_learner.cpp:720: error: `PyArrayObject' undeclared (first use this function)
lib_learner.cpp:720: error: `array' undeclared (first use this function)
lib_learner.cpp:720: error: expected primary-expression before ')' token
lib_learner.cpp:725: error: `PyArray_FLOAT' undeclared (first use this function)
lib_learner.cpp:725: error: `PyArray_DOUBLE' undeclared (first use this function)
make[1]: *** [obj/lib_learner.o] Error 1
m


any suggestions?

cheers,
Grant

Postby jurem » Mon May 23, 2005 5:59

Hi,
it will be fixed soon.

For now you can either download and compile sources of the last stable version (see the Sources section on download page) or checkout sources from CVS, that are few days old. You have to login to CVS (see download page) and use -D flag when checkouting:

cvs -d :pserver:cvs@estelle.fri.uni-lj.si:/CVS co -D "1 week ago" orange
cvs -d :pserver:cvs@estelle.fri.uni-lj.si:/CVS co -D "1 week ago" -d orange/source source

Regards, Jure

Postby Guest » Fri May 27, 2005 12:23

the 2005/05/27 snap shot builds ok.

thanks
Grant


Return to Bugs