Walter Dnes <waltd...@waltdnes.org> [10-10-07 07:32]: > On Thu, Oct 07, 2010 at 04:43:55AM +0200, meino.cra...@gmx.de wrote > > > ================================================================= > > System Settings > > ================================================================= > > > > CFLAGS="-march=amdfam10 -O2 -pipe -msse3" > > Let the compiler figure out the CPU. Change that line to... > CFLAGS="-march=native -O2 -pipe" > > > CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3" > > The recommended way of doing things here is... > > CXXFLAGS="${CFLAGS}" > > ...which exactly copies whatever settings you have there. > Synchronization between CFLAGS and CXXFLAGS becomes automatic this way. > > > MAKEOPTS="-j 12" > > Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there. > The recommendation in the manual is N+1, where N == number of cores. Do > you have 11 or more cores? I find that even that isn't always safe. I > set... > > MAKEOPTS="-j 1" > > and it solves quite a few problems. Note that the final binary is just > as fast, regardless of that setting. The compile speed is somewhat > faster with a higher number. But you quickly lose any "time savings" > from that, the first time you waste several hours trying to figure out > why something isn't compiling. MAKEOPTS="-j 1" should be mandatory. > > -- > Walter Dnes <waltd...@waltdnes.org> >
Hi Walter, thank you for your help, I made the changes you suggested and now got an different error ... it still does not compile. Here is the output: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=native -O2 -pipe -msse3 -MT mainwnd.o -MD -MP -MF .deps/mainwnd.Tpo -c -o mainwnd.o mainwnd.cpp mainwnd.cpp: In member function 'void mainwnd::file_import_dialog()': mainwnd.cpp:531: error: invalid conversion from 'Gtk::ButtonBox*' to 'Gtk::HButtonBox*' make[2]: *** [mainwnd.o] Error 1 To not to pollute the mailing list again with a dozen of outputs and logs I haven't attached those to this different posting. If you need a certain file/log/output or whatever to fix this, please let me now! :) Best regards, mcc