From: Andrew S. <str...@as...> - 2005-12-19 17:51:38
|
Hmm... I've tested with gcc 3.3 on linux, so I'm not sure why it's breaking. First, check if adding "#include <math.h>" will help. Some other ideas: * Do "man isnan" from the command line and see if it specifies another header file. * Search inside /usr/include for isnan and see what comes up. Good luck, Andrew Tom Loredo wrote: >Hi folks, > >Thanks for the quick help. I do also have numarray installed, so >I don't think the NUMARRAY setting is the problem. > >Jouni, thanks for the attempted fix, but it continues to fail >for me, at the same place: > >gcc: src/_na_transforms.cpp >src/_na_transforms.cpp: In member function `Py::Object > Bbox::update_numerix(const Py::Tuple&)': >src/_na_transforms.cpp:447: error: `isnan' not declared >src/_na_transforms.cpp:494: error: `isnan' undeclared (first use this function) >src/_na_transforms.cpp:494: error: (Each undeclared identifier is reported only > once for each function it appears in.) >src/_na_transforms.cpp: In member function `Py::Object > Bbox::update_numerix(const Py::Tuple&)': >src/_na_transforms.cpp:447: error: `isnan' not declared >src/_na_transforms.cpp:494: error: `isnan' undeclared (first use this function) >src/_na_transforms.cpp:494: error: (Each undeclared identifier is reported only > once for each function it appears in.) >error: Command "gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic >-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Isrc -I. -I/usr/local/include -I/usr/include -I/sw/include -I. -I/Library/ >Frameworks/Python.framework/Versions/2.4/include/python2.4 -c src/_na_transforms.cpp -o build/temp.darwin-7.9.0- >Power_Macintosh-2.4/src/_na_transforms.o -DNUMARRAY=1" failed with exit status 1 > >I've verified that the new "using std::isnan;" line is in _transforms.cpp >and is copied to _na_transforms.cpp; it just doesn't seem to satisfy >the compiler [gcc 3.3 20030304 (Apple Computer, Inc. build 1671) on 10.3.9]. >I'm not a c++ programmer, and I'm stumped as to what further to try. >Jouni, did this indeed solve your build problems completely? Anyone >have any other suggestions? > >Thanks, >Tom > > >------------------------------------------------- >This mail sent through IMP: http://horde.org/imp/ > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Matplotlib-devel mailing list >Mat...@li... >https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |