[PyOpenGL-Users] force swig regen in src.rpm build?
Brought to you by:
mcfletch
From: Craig H . A. <cr...@ho...> - 2001-11-19 15:52:07
|
I have replaced my libGL,libGLU,libglut libraries and want to rebuild from PyOpenGL-2.0.0.44.py2-1.src.rpm. How can I force swig to regen. all the interfaces? I'm hoping this will fix up my build errors. =================== log fragment running build running build_w swig -version SWIG Version 1.3u-20010622-2330 (Alpha 5) Copyright (c) 1995-98 University of Utah and the Regents of the University of California Compiled with CC Building wrappers for GL.ARB.matrix_palette C version selector doesn't need updating Wrappers for API version 0x0100 don't need updating ... Building wrappers for GL.__init__ Shadow version selector doesn't need updating C version selector doesn't need updating Wrappers for API version 0x0101 don't need updating Wrappers for API version 0x0101 don't need updating Wrappers for API version 0x0100 don't need updating Wrappers for API version 0x0100 don't need updating ... building 'GLU.__init___' extension gcc -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/include/python2.1/Numeric -Isrc/gle/src -I/usr/include/python2.1 -c src/interface/GLU.__init___.c -o build/temp.linux-i586-2.1/GLU.__init___.o -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce In file included from src/interface/GLU.__init___.c:9: src/interface/GLU.__init___.0102.inc:1007: parse error before "GLUquadric" src/interface/GLU.__init___.0102.inc:1007: warning: no semicolon at end of struct or union src/interface/GLU.__init___.0102.inc:1010: parse error before '}' token src/interface/GLU.__init___.0102.inc:1010: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc:1013: parse error before '*' token src/interface/GLU.__init___.0102.inc:1013: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc: In function `PyGLUquadric_Del': src/interface/GLU.__init___.0102.inc:1017: parse error before ')' token src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1036: parse error before '*' token src/interface/GLU.__init___.0102.inc: In function `_gluNewQuadric': src/interface/GLU.__init___.0102.inc:1038: `self' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1038: (Each undeclared identifier is reported only once src/interface/GLU.__init___.0102.inc:1038: for each function it appears in.) src/interface/GLU.__init___.0102.inc:1038: parse error before ')' token src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1051: parse error before '*' token src/interface/GLU.__init___.0102.inc:1410: parse error before "GLUnurbs" src/interface/GLU.__init___.0102.inc:1410: warning: no semicolon at end of struct or union src/interface/GLU.__init___.0102.inc:1413: parse error before '}' token src/interface/GLU.__init___.0102.inc:1413: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc:1416: parse error before '*' token src/interface/GLU.__init___.0102.inc:1416: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc: In function `PyGLUnurbs_Del': src/interface/GLU.__init___.0102.inc:1420: parse error before ')' token src/interface/GLU.__init___.0102.inc:1422: parse error before ')' token src/interface/GLU.__init___.0102.inc:1422: parse error before ')' token src/interface/GLU.__init___.0102.inc:1422: parse error before ')' token src/interface/GLU.__init___.0102.inc: In function `GetNurbsCallback': src/interface/GLU.__init___.0102.inc:1445: request for member `callbacks' in something not a structure or union src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1451: parse error before '*' token src/interface/GLU.__init___.0102.inc: In function `_gluNewNurbsRenderer': src/interface/GLU.__init___.0102.inc:1453: `self' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1453: parse error before ')' token src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1652: parse error before '*' token src/interface/GLU.__init___.0102.inc: In function `_gluNurbsCallback': src/interface/GLU.__init___.0102.inc:1654: `which' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1657: `self' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1657: `pyfunc' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1728: parse error before '*' token src/interface/GLU.__init___.0102.inc: In function `gluNurbsCallbackDataEXT': src/interface/GLU.__init___.0102.inc:1728: parse error before '*' token src/interface/GLU.__init___.0102.inc:1728: `theNurb' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1728: `userData' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNewQuadric': src/interface/GLU.__init___.0102.inc:2929: `result' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2933: parse error before ')' token src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricNormals': src/interface/GLU.__init___.0102.inc:2962: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2962: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2973: parse error before ')' token src/interface/GLU.__init___.0102.inc:2974: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricTexture': src/interface/GLU.__init___.0102.inc:2991: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2991: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3003: parse error before ')' token src/interface/GLU.__init___.0102.inc:3004: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricOrientation': src/interface/GLU.__init___.0102.inc:3024: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3024: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3035: parse error before ')' token src/interface/GLU.__init___.0102.inc:3036: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricDrawStyle': src/interface/GLU.__init___.0102.inc:3053: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3053: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3064: parse error before ')' token src/interface/GLU.__init___.0102.inc:3065: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluCylinder': src/interface/GLU.__init___.0102.inc:3082: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3082: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3097: parse error before ')' token src/interface/GLU.__init___.0102.inc:3098: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluDisk': src/interface/GLU.__init___.0102.inc:3115: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3115: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3129: parse error before ')' token src/interface/GLU.__init___.0102.inc:3130: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluPartialDisk': src/interface/GLU.__init___.0102.inc:3147: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3147: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3163: parse error before ')' token src/interface/GLU.__init___.0102.inc:3164: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluSphere': src/interface/GLU.__init___.0102.inc:3181: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3181: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3194: parse error before ')' token src/interface/GLU.__init___.0102.inc:3195: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricCallback': src/interface/GLU.__init___.0102.inc:3212: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3226: parse error before ')' token src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNewNurbsRenderer': src/interface/GLU.__init___.0102.inc:3666: `result' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3670: parse error before ')' token src/interface/GLU.__init___.0102.inc: In function `_wrap_gluBeginSurface': src/interface/GLU.__init___.0102.inc:3699: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3699: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3709: parse error before ')' token src/interface/GLU.__init___.0102.inc:3710: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluBeginCurve': src/interface/GLU.__init___.0102.inc:3727: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3727: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3737: parse error before ')' token src/interface/GLU.__init___.0102.inc:3738: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluEndCurve': src/interface/GLU.__init___.0102.inc:3755: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3755: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3765: parse error before ')' token src/interface/GLU.__init___.0102.inc:3766: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluEndSurface': src/interface/GLU.__init___.0102.inc:3783: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3783: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3793: parse error before ')' token src/interface/GLU.__init___.0102.inc:3794: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluBeginTrim': src/interface/GLU.__init___.0102.inc:3811: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3811: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3821: parse error before ')' token src/interface/GLU.__init___.0102.inc:3822: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluEndTrim': src/interface/GLU.__init___.0102.inc:3839: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3839: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3849: parse error before ')' token src/interface/GLU.__init___.0102.inc:3850: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluPwlCurve': src/interface/GLU.__init___.0102.inc:3867: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3867: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3887: parse error before ')' token src/interface/GLU.__init___.0102.inc:3888: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsCurve': src/interface/GLU.__init___.0102.inc:3917: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3917: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3943: parse error before ')' token src/interface/GLU.__init___.0102.inc:3944: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsSurface': src/interface/GLU.__init___.0102.inc:3983: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3983: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4018: parse error before ')' token src/interface/GLU.__init___.0102.inc:4019: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluLoadSamplingMatrices': src/interface/GLU.__init___.0102.inc:4070: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4070: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4089: parse error before ')' token src/interface/GLU.__init___.0102.inc:4090: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsProperty': src/interface/GLU.__init___.0102.inc:4125: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4125: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4137: parse error before ')' token src/interface/GLU.__init___.0102.inc:4138: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluGetNurbsProperty': src/interface/GLU.__init___.0102.inc:4155: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4155: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4171: parse error before ')' token src/interface/GLU.__init___.0102.inc:4172: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsCallback': src/interface/GLU.__init___.0102.inc:4194: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4208: parse error before ')' token src/interface/GLU.__init___.0102.inc: In function `_wrap___gluNurbsCallbackDataEXT': src/interface/GLU.__init___.0102.inc:4234: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4234: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4246: parse error before ')' token src/interface/GLU.__init___.0102.inc:4247: request for member `obj' in something not a structure or union error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.54867 (%build) -- Craig H. Anderson |