|
From: Braden M. <br...@en...> - 2002-03-13 14:27:34
|
On Wed, 2002-03-13 at 07:09, Chr...@ge... wrote: > hi > > i still have few problems with compiling on rs6000 workstations. first it > stops with error shown in this first section. maybe someone knows about > this error. mesa 3.4 is installed and configure finds all libaries in the > right places, but it still breaks up. so... > > next thing is like shown in part 2, there are messages about a math.h. > thought to be a compiler problem, and tried it with gcc 2.95 and gcc 2.9 ( > gcc 3.0 doesnt work at all cause it has a problem finding auto_ptr while > configure runs ). > > any help welcome .... > > regards > > Christian Setzer > GE CompuNet Muenchen > Enterprise Computing Solutions > Hoerselbergstrasse 7, 81677 Muenchen, Germany > Phone: +49 (0)89 / 382-47742, , Mobile: +49 (0) 171 1284997 > E-Mail : Chr...@GE... > Visit us on the Internet: http://www.gecits-eu.com > > > This email is confidential. If you are not the intended recipient, > you must not disclose or use the information contained in it. > If you have received this mail in error, please tell us > immediately by return email and delete the document. > > ---------------------------------------------------- > error 1 > ---------------------------------------------------- > > > ranlib .libs/libopenvrml-gl.a > rm -fr .libs/libopenvrml-gl.lax .libs/libopenvrml-gl.lax > creating libopenvrml-gl.la > (cd .libs && rm -f libopenvrml-gl.la && ln -s ../libopenvrml-gl.la > libopenvrml-gl.la) > Target "all" is up to date. > Target "all-am" is up to date. > Target "all" is up to date. > Target "all-am" is up to date. > Target "all" is up to date. > Making all in lookat > c++ -DHAVE_CONFIG_H -DANTLR_REALLY_NO_STRCASECMP -I. -I. -I../.. > -I../../src/openvrml -I../../src/openvrml-gl -I/usr/local/include > -I/usr/local/include -I/usr/local/include -g -O2 -c lookat.cpp > lookat.cpp: In function `void worldChangedCB(int)': > lookat.cpp:166: passing `const char *' as argument 1 of > `glutSetWindowTitle(char *)' discards qualifiers > lookat.cpp: In function `void buildViewpointMenu()': > lookat.cpp:217: passing `const char *' as argument 1 of > `glutAddMenuEntry(char *, int)' discards qualifiers > lookat.cpp:219: passing `const char *' as argument 1 of > `glutAddMenuEntry(char *, int)' discards qualifiers Looks like your glut version is a little different from what we're accustomed to compiling against. Looking at the glut spec, those functions do indeed take char * rather than const char *. Please file a bug about this. There's no easy fix for this that doesn't involve getting into the code. It's actually easy to fix, but you'll have to know a bit about C++ and constness in order to patch this. > ------------------------------------------------------------------ > error 2 > ------------------------------------------------------------------ > > > /bin/sh ../../../../libtool --mode=compile c++ -DHAVE_CONFIG_H > -DANTLR_REALLY_NO_STRCASECMP -I. -I. -I../../../.. > -I../../../../src/openvrml -I/usr/local/include -I/usr/local/include > -I/usr/local/include -g -O2 -c ViewerOpenGL.cpp > mkdir .libs > c++ -DHAVE_CONFIG_H -DANTLR_REALLY_NO_STRCASECMP -I. -I. -I../../../.. > -I../../../../src/openvrml -I/usr/local/include -I/usr/local/include > -I/usr/local/include -g -O2 -c ViewerOpenGL.cpp -DPIC -o > .libs/ViewerOpenGL.lo > In file included from ViewerOpenGL.cpp:45: > /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/include/math.h:238: > warning: `M_PI' redefined > ../../../../config.h:43: warning: this is the location of the previous > definition This won't be a problem in future versions of OpenVRML, as we don't use those constant names anymore. In the meantime, I suggest you simply delete (or comment out) the offending section of acconfig.h to get things working. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |