Thanks for your reply Antonio. I did a CVS checkout and ran 'make', now I have a new error:
Tecmake: linking libiuplua_mglplot51.so ... gcc -shared -o ../lib/Linux32_64/libiuplua_mglplot51.so ./obj/iuplua_mglplot51/Linux32_64/iuplua_mglplot.o ./obj/iuplua_mglplot51/Linux32_64/il_mglplot.o -L../lib/Linux32_64 -liup_mglplot -liuplua51 -liup -lm /usr/bin/ld: cannot find -liup_mglplot collect2: ld returned 1 exit status make[2]: *** [../lib/Linux32_64/libiuplua_mglplot51.so] Error 1 make[1]: *** [iuplua_mglplot] Error 2 make: *** [iuplua5] Error 2 in ./lib there is no iup_mglplot file, and I dug around in the ./srclua5 makefiles, but honestly I'm not sure what to look for. Thanks again, -Eddy P.S. Just for the record, output of gcc -v: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.2-12' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.2 (Debian 4.6.2-12) Thanks again, -Eddy On 03/05/2012 04:55 AM, Antonio Scuri wrote: > Hi, > > CD and IM had a few changes in their configuration that affected the IUP > build. But we still did not release a new IUP version with the necessary > updates in the Makefiles. So you will need to download IUP from CVS. We > expect to release a new IUP version soon, but I don't have a date yet, still > working on some tasks. > > This should solve both of your issues. > > Best Regards, > Antonio Scuri > > >> -----Original Message----- >> From: Eddy Martin [mailto:[email protected]] >> Sent: segunda-feira, 5 de março de 2012 02:12 >> To: [email protected] >> Subject: [Iup-users] Compiling IUP - linker errors >> >> Hello all, I'm new to this list, in fact new to a lot of >> > programming-related > >> subjects, so hopefully I won't be a nuisance while I learn, but please >> > bear with > >> me, as I'm stumped trying to build IUP on my machine. >> >> I'm running Debian 'testing' on a 64-bit machine. >> Following the instructions at http://www.tecgraf.puc-rio.br/iup/ I >> > successfully > >> built IM and CD, but IUP fails. >> All required development files are installed. >> This is the last message I received: >> >> Tecmake: linking iupview ... >> g++ -o ../bin/Linux32_64/iupview ../obj/iupview/Linux32_64/iup_view.o >> ./lib/Linux32_64/libiupim.a ../lib/Linux32_64/libiupimglib.a >> ./lib/Linux32_64/libiupcontrols.a ../lib/Linux32_64/libiupcd.a >> ./lib/Linux32_64/libiupgl.a ../lib/Linux32_64/libiup.a >> ./../cd/lib/Linux32_64/libcd.a ../../im/lib/Linux32_64/libim.a >> -L/usr/X11R6/lib64 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangox-1.0 >> -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lXmu >> > -lXt - > >> lXext -lX11 -lm >> /usr/bin/ld: ../../im/lib/Linux32_64/libim.a(pngwrite.o): undefined >> > reference > >> to symbol 'deflate' >> /usr/bin/ld: note: 'deflate' is defined in DSO /usr/lib/libz.so.1 so try >> > adding it > >> to the linker command line >> /usr/lib/libz.so.1: could not read symbols: Invalid operation >> collect2: ld returned 1 exit status >> make[2]: *** [../bin/Linux32_64/iupview] Error 1 >> make[1]: *** [iupview] Error 2 >> make: *** [iupview] Error 2 >> >> I've already had to add softlinks to some gtk include files, because they >> > were > >> installed a bit strangely. >> Hopefully I didn't break something: >> >> ln -s /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h >> /usr/include/glib-2.0/glibconfig.h >> ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/include/gdkconfig.h >> /usr/include/gtk-2.0/gdkconfig.h >> ln -s /usr/lib/libwebkitgtk-1.0.so /usr/lib/libwebkit-1.0.so >> >> At this point I have no idea how to do what it suggests, any takers? >> >> -Eddy >> >> >> >> >> >> >> >> > ---------------------------------------------------------------------------- > -- > >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers is >> just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> > Metro > >> Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> Iup-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/iup-users >> > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Iup-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iup-users > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
