Opened 15 years ago
Closed 14 years ago
#8 closed defect (fixed)
Can't compile on SuSE 11.2
Reported by: | David Loeffler | Owned by: | Olly Betts |
---|---|---|---|
Priority: | blocker | Milestone: | 1.1.14 |
Component: | aven | Version: | 1.1.13 |
Keywords: | build | Cc: |
Description
I tried to build survex 1.1.13 on SuSE using their packaged wxWidgets libraries, and it doesn't work:
david@rockhopper:~/survex/survex-1.1.13> zypper se wxwidgets Loading repository data... Reading installed packages... S | Name | Summary | Type --+----------------------------+-------------------------------------------------------+----------- i | wxWidgets | C++ framework for cross-platform development | package | wxWidgets | C++ framework for cross-platform development | srcpackage i | wxWidgets-compat | WxWidgets Compatibility Package | package | wxWidgets-compat-debuginfo | Debug information for package wxWidgets-compat | package | wxWidgets-debuginfo | Debug information for package wxWidgets | package | wxWidgets-debugsource | Debug sources for package wxWidgets | package i | wxWidgets-devel | Include files and libraries for wxWidgets development | package | wxWidgets-devel-debuginfo | Debug information for package wxWidgets-devel | package | wxWidgets-docs | WxWidgets html documentations | package i | wxWidgets-gl | OpenGL add-on for wxWidgets | package i | wxWidgets-gl-compat | OpenGL add-on for wxWidgets | package | wxWidgets-lang | Languages for package wxWidgets | package david@rockhopper:~/survex/survex-1.1.13> make make all-recursive make[1]: Entering directory `/home/david/survex/survex-1.1.13' Making all in . make[2]: Entering directory `/home/david/survex/survex-1.1.13' make[2]: Leaving directory `/home/david/survex/survex-1.1.13' Making all in lib make[2]: Entering directory `/home/david/survex/survex-1.1.13/lib' make all-recursive make[3]: Entering directory `/home/david/survex/survex-1.1.13/lib' Making all in icons make[4]: Entering directory `/home/david/survex/survex-1.1.13/lib/icons' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/david/survex/survex-1.1.13/lib/icons' make[4]: Entering directory `/home/david/survex/survex-1.1.13/lib' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/david/survex/survex-1.1.13/lib' make[3]: Leaving directory `/home/david/survex/survex-1.1.13/lib' make[2]: Leaving directory `/home/david/survex/survex-1.1.13/lib' Making all in src make[2]: Entering directory `/home/david/survex/survex-1.1.13/src' make all-am make[3]: Entering directory `/home/david/survex/survex-1.1.13/src' g++ -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -Wall -Wunused -Wshadow -Wpointer-arith -Wwrite-strings -Wcast-align -g -O2 -o aven aven-aven.o aven-img.o aven-message.o aven-filename.o aven-osdepend.o aven-gfxcore.o aven-mainfrm.o aven-vector3.o aven-aboutdlg.o aven-useful.o aven-cmdline.o aven-z_getopt.o aven-getopt1.o aven-namecmp.o aven-aventreectrl.o aven-export.o aven-guicontrol.o aven-gla-gl.o aven-fnt.o aven-log.o aven-moviemaker.o aven-hpgl.o aven-cavernlog.o aven-avenprcore.o aven-printwx.o aven-ini.o aven-hash.o -L/usr/lib64 -pthread -L/usr/lib64 -lwx_gtk2u_core-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_html-2.8 -lwx_baseu-2.8 -lXxf86vm -lm aven-gla-gl.o: In function `GLACanvas::Transform(Vector3 const&, double*, double*, double*) const': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1266: undefined reference to `gluProject' aven-gla-gl.o: In function `GLACanvas::DrawText(double, double, double, wxString const&)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:792: undefined reference to `gluProject' aven-gla-gl.o: In function `GLACanvas::DrawRing(double, double)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1115: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1117: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1119: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1120: undefined reference to `gluDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1121: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1123: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::EndQuadrilaterals()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:861: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::DrawShadedRectangle(GLAPen const&, GLAPen const&, double, double, double, double)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1162: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1172: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:399: more undefined references to `gluErrorString' follow aven-gla-gl.o: In function `GLACanvas::SetIndicatorTransform()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:642: undefined reference to `gluOrtho2D' /home/david/survex/survex-1.1.13/src/gla-gl.cc:643: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:647: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:649: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:652: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:654: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:656: more undefined references to `gluErrorString' follow aven-gla-gl.o: In function `GLACanvas::ReverseTransform(double, double, double*, double*, double*) const': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1276: undefined reference to `gluUnProject' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1277: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::DrawBlob(double, double)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1025: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1026: undefined reference to `gluDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1027: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1029: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::DrawCircle(gla_colour, gla_colour, double, double, double)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1181: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1183: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1187: undefined reference to `gluDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1188: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1190: undefined reference to `gluDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1191: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1193: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1185: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::DrawSemicircle(gla_colour, gla_colour, double, double, double, double)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1205: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1207: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1211: undefined reference to `gluPartialDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1212: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1214: undefined reference to `gluPartialDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1215: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1217: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1209: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::EnableSmoothPolygons(bool)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:465: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::BeginCrosses()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1041: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:1043: more undefined references to `gluErrorString' follow aven-gla-gl.o: In function `~GLACanvas': /home/david/survex/survex-1.1.13/src/gla-gl.cc:249: undefined reference to `gluDeleteQuadric' /home/david/survex/survex-1.1.13/src/gla-gl.cc:250: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:249: undefined reference to `gluDeleteQuadric' /home/david/survex/survex-1.1.13/src/gla-gl.cc:250: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:249: undefined reference to `gluDeleteQuadric' /home/david/survex/survex-1.1.13/src/gla-gl.cc:250: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::BeginBlobs()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:961: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:963: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:965: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:969: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:972: more undefined references to `gluErrorString' follow aven-gla-gl.o: In function `GLACanvas::SetDataTransform()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:578: undefined reference to `gluProject' /home/david/survex/survex-1.1.13/src/gla-gl.cc:581: undefined reference to `gluUnProject' /home/david/survex/survex-1.1.13/src/gla-gl.cc:583: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:594: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:596: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:598: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:601: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:523: more undefined references to `gluErrorString' follow aven-gla-gl.o: In function `GLACanvas::AddTranslationScreenCoordinates(int, int)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:424: undefined reference to `gluUnProject' /home/david/survex/survex-1.1.13/src/gla-gl.cc:425: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:427: undefined reference to `gluUnProject' /home/david/survex/survex-1.1.13/src/gla-gl.cc:428: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::ToggleTextured()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1300: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1303: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1322: undefined reference to `gluBuild2DMipmaps' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1323: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1326: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::DrawBlob(double, double, double)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:1005: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1006: undefined reference to `gluDisk' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1007: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:1009: undefined reference to `gluErrorString' aven-gla-gl.o: In function `GLACanvas::DrawList(unsigned int)': /home/david/survex/survex-1.1.13/src/gla-gl.cc:711: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:694: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:717: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:736: more undefined references to `gluErrorString' follow aven-gla-gl.o: In function `GLACanvas::FirstShow()': /home/david/survex/survex-1.1.13/src/gla-gl.cc:269: undefined reference to `gluNewQuadric' /home/david/survex/survex-1.1.13/src/gla-gl.cc:276: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:278: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:285: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:289: undefined reference to `gluErrorString' /home/david/survex/survex-1.1.13/src/gla-gl.cc:293: undefined reference to `gluErrorString' aven-gla-gl.o:/home/david/survex/survex-1.1.13/src/gla-gl.cc:298: more undefined references to `gluErrorString' follow collect2: ld returned 1 exit status make[3]: *** [aven] Error 1 make[3]: Leaving directory `/home/david/survex/survex-1.1.13/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/david/survex/survex-1.1.13/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/david/survex/survex-1.1.13' make: *** [all] Error 2
Change History (4)
comment:1 Changed 15 years ago by
Milestone: | → 1.1.14 |
---|---|
Status: | new → assigned |
Version: | → 1.1.13 |
comment:2 Changed 15 years ago by
Indeed. There is no line for libGLU (although there is one for libGL). I can upload the output if it's relevant.
comment:3 Changed 15 years ago by
I do have libGLU.so.1.3.070600 installed in /usr/lib64, though, if that helps.
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Hmm, sure I updated this last night. Odd.
Fixed in r3478 which adds -lGLU to the link command if gluUnproject() is found in it.
Note: See
TracTickets for help on using
tickets.
What does this report:
On Ubuntu, this library has a dependency on libGLU:
It seems like on SuSE it probably doesn't.