From: Steffen P. <ste...@st...> - 2007-06-12 16:37:04
|
Perhaps you can also quickly try make distclean and recompile before going through the compiler or linker manual. I think I have seen the error before when the linker got confused with old object files from a previous make with different configuration options. Steffen > > Roy Stogner writes: > > On Tue, 12 Jun 2007, Paulo Correia wrote: > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 > > Comment #27 > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625#c27 > > is where I think have seen this linker error before. It occurs when > some objects have been built with a different gcc than you link with, > hence the make clobber suggestion. > > If this isn't the problem, then I guess you are using gcc 3.3.x? > > ... > > Another commenter had this to say: > > "We were able to eliminate these error messages and successfully > compile our code with g++-3.3.6 by using the '-frepo' option in our > g++ compiles." > > From man gcc: > > -frepo > Enable automatic template instantiation at link time. This option > also implies -fno-implicit-templates. > > I have no idea what that option would do on LibMesh :) > > -John > > > > --- > > Roy Stogner > > > > > > > >> > > >> pco...@ue... writes: > > >> > Hi all, > > >> > > > >> > When I do make using the same configure I used before I get: > > >> > > > >> > (...) > > >> > --- Building gmv --------------------- > > >> > make[2]: Entering directory `/home/paulo/libmesh/contrib/gmv' > > >> > Compiling C (in optimized mode) gmvread.c... > > >> > Linking > /home/paulo/libmesh/contrib/lib/i686-pc-linux-gnu_opt/libgmv.so > > >> > make[2]: Leaving directory `/home/paulo/libmesh/contrib/gmv' > > >> > > > >> > ---------------------------------------------- > > >> > ----- Done Building Contributed Packages ----- > > >> > ---------------------------------------------- > > >> > make[1]: Leaving directory `/home/paulo/libmesh/contrib' > > >> > Linking /home/paulo/libmesh/lib/i686-pc-linux-gnu_opt/libmesh.so > > >> > `.L23643' referenced in section `.rodata' of > > >> > src/fe/fe_xyz.i686-pc-linux-gnu.opt.o: defined in discarded > section > > >> > > `.gnu.linkonce.t._ZN2FEILj1ELN12libMeshEnums8FEFamilyE0EE6n_dofsENS0_8ElemTypeENS0_5OrderE' > > > >> > of src/fe/fe_xyz.i686-pc-linux-gnu.opt.o > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Libmesh-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-devel > > > ----- End forwarded message ----- > |
From: <pco...@ue...> - 2007-06-13 16:26:13
|
> > Perhaps you can also quickly try make distclean and recompile before > going through the compiler > or linker manual. I think I have seen the error before when the linker > got confused with old object > files from a previous make with different configuration options. > > Steffen > I update my gcc -> gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) got the latest cvs and everything is just fine! /Paulo > >> >> Roy Stogner writes: >> > On Tue, 12 Jun 2007, Paulo Correia wrote: >> > >> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 >> >> Comment #27 >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625#c27 >> >> is where I think have seen this linker error before. It occurs when >> some objects have been built with a different gcc than you link with, >> hence the make clobber suggestion. >> >> If this isn't the problem, then I guess you are using gcc 3.3.x? >> >> ... >> >> Another commenter had this to say: >> >> "We were able to eliminate these error messages and successfully >> compile our code with g++-3.3.6 by using the '-frepo' option in our >> g++ compiles." >> >> From man gcc: >> >> -frepo >> Enable automatic template instantiation at link time. This option >> also implies -fno-implicit-templates. >> >> I have no idea what that option would do on LibMesh :) >> >> -John >> >> >> > --- >> > Roy Stogner >> > >> > > >> > >> >> > >> pco...@ue... writes: >> > >> > Hi all, >> > >> > >> > >> > When I do make using the same configure I used before I get: >> > >> > >> > >> > (...) >> > >> > --- Building gmv --------------------- >> > >> > make[2]: Entering directory `/home/paulo/libmesh/contrib/gmv' >> > >> > Compiling C (in optimized mode) gmvread.c... >> > >> > Linking >> /home/paulo/libmesh/contrib/lib/i686-pc-linux-gnu_opt/libgmv.so >> > >> > make[2]: Leaving directory `/home/paulo/libmesh/contrib/gmv' >> > >> > >> > >> > ---------------------------------------------- >> > >> > ----- Done Building Contributed Packages ----- >> > >> > ---------------------------------------------- >> > >> > make[1]: Leaving directory `/home/paulo/libmesh/contrib' >> > >> > Linking /home/paulo/libmesh/lib/i686-pc-linux-gnu_opt/libmesh.so >> > >> > `.L23643' referenced in section `.rodata' of >> > >> > src/fe/fe_xyz.i686-pc-linux-gnu.opt.o: defined in discarded >> section >> > >> > >> `.gnu.linkonce.t._ZN2FEILj1ELN12libMeshEnums8FEFamilyE0EE6n_dofsENS0_8ElemTypeENS0_5OrderE' >> >> > >> > of src/fe/fe_xyz.i686-pc-linux-gnu.opt.o >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Libmesh-devel mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libmesh-devel >> >> >> ----- End forwarded message ----- >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Libmesh-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-devel > |
From: John P. <pet...@cf...> - 2007-06-13 16:46:45
|
pco...@ue... writes: > > > > Perhaps you can also quickly try make distclean and recompile before > > going through the compiler > > or linker manual. I think I have seen the error before when the linker > > got confused with old object > > files from a previous make with different configuration options. > > > > Steffen > > > > I update my gcc -> gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) > got the latest cvs and everything is just fine! Great. Be sure to watch for the libmesh debian package in the near future too... -J > /Paulo > > > > >> > >> Roy Stogner writes: > >> > On Tue, 12 Jun 2007, Paulo Correia wrote: > >> > > >> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 > >> > >> Comment #27 > >> > >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625#c27 > >> > >> is where I think have seen this linker error before. It occurs when > >> some objects have been built with a different gcc than you link with, > >> hence the make clobber suggestion. > >> > >> If this isn't the problem, then I guess you are using gcc 3.3.x? > >> > >> ... > >> > >> Another commenter had this to say: > >> > >> "We were able to eliminate these error messages and successfully > >> compile our code with g++-3.3.6 by using the '-frepo' option in our > >> g++ compiles." > >> > >> From man gcc: > >> > >> -frepo > >> Enable automatic template instantiation at link time. This option > >> also implies -fno-implicit-templates. > >> > >> I have no idea what that option would do on LibMesh :) > >> > >> -John > >> > >> > >> > --- > >> > Roy Stogner > >> > > >> > > > >> > >> > >> > >> pco...@ue... writes: > >> > >> > Hi all, > >> > >> > > >> > >> > When I do make using the same configure I used before I get: > >> > >> > > >> > >> > (...) > >> > >> > --- Building gmv --------------------- > >> > >> > make[2]: Entering directory `/home/paulo/libmesh/contrib/gmv' > >> > >> > Compiling C (in optimized mode) gmvread.c... > >> > >> > Linking > >> /home/paulo/libmesh/contrib/lib/i686-pc-linux-gnu_opt/libgmv.so > >> > >> > make[2]: Leaving directory `/home/paulo/libmesh/contrib/gmv' > >> > >> > > >> > >> > ---------------------------------------------- > >> > >> > ----- Done Building Contributed Packages ----- > >> > >> > ---------------------------------------------- > >> > >> > make[1]: Leaving directory `/home/paulo/libmesh/contrib' > >> > >> > Linking /home/paulo/libmesh/lib/i686-pc-linux-gnu_opt/libmesh.so > >> > >> > `.L23643' referenced in section `.rodata' of > >> > >> > src/fe/fe_xyz.i686-pc-linux-gnu.opt.o: defined in discarded > >> section > >> > >> > > >> `.gnu.linkonce.t._ZN2FEILj1ELN12libMeshEnums8FEFamilyE0EE6n_dofsENS0_8ElemTypeENS0_5OrderE' > >> > >> > >> > of src/fe/fe_xyz.i686-pc-linux-gnu.opt.o > >> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 express and take > >> control of your XML. No limits. Just data. Click to get it now. > >> http://sourceforge.net/powerbar/db2/ > >> _______________________________________________ > >> Libmesh-devel mailing list > >> Lib...@li... > >> https://lists.sourceforge.net/lists/listinfo/libmesh-devel > >> > >> > >> ----- End forwarded message ----- > >> > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Libmesh-devel mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libmesh-devel > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Libmesh-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-devel |
From: Ondrej C. <on...@ce...> - 2007-06-13 23:24:39
|
> Great. Be sure to watch for the libmesh debian package in the near future > too... It is in the NEW queue for 3 days already: http://ftp-master.debian.org/new.html But will stay there for about two weeks, until the ftp-master reviews it and uploads it into the unstable (because libmesh is a new Debian package). If you want to try it now, get it from: http://mentors.debian.net/debian/pool/main/l/libmesh/ by dget -x http://mentors.debian.net/debian/pool/main/l/libmesh/libmesh_0.6.0~rc2.dfsg-1.dsc cd libmesh-0.6.0~rc2.dfsg/ fakeroot dpkg-buildpackage (you need the fresh unstable). You can look into debian/rules how to make it compile on Debian. I'll let this list know when it gets to unstable. Ondrej |