Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] seq24 fails to comoile
Date: Thu, 07 Oct 2010 05:40:34
Message-Id: 20101007054005.GA20206@solfire
In Reply to: Re: [gentoo-user] seq24 fails to comoile by Walter Dnes
1 Walter Dnes <waltdnes@××××××××.org> [10-10-07 07:32]:
2 > On Thu, Oct 07, 2010 at 04:43:55AM +0200, meino.cramer@×××.de wrote
3 >
4 > > =================================================================
5 > > System Settings
6 > > =================================================================
7 >
8 >
9 > > CFLAGS="-march=amdfam10 -O2 -pipe -msse3"
10 >
11 > Let the compiler figure out the CPU. Change that line to...
12 > CFLAGS="-march=native -O2 -pipe"
13 >
14 > > CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3"
15 >
16 > The recommended way of doing things here is...
17 >
18 > CXXFLAGS="${CFLAGS}"
19 >
20 > ...which exactly copies whatever settings you have there.
21 > Synchronization between CFLAGS and CXXFLAGS becomes automatic this way.
22 >
23 > > MAKEOPTS="-j 12"
24 >
25 > Arrrrrrrrgh Nooooooooo!!! That's probably your problem right there.
26 > The recommendation in the manual is N+1, where N == number of cores. Do
27 > you have 11 or more cores? I find that even that isn't always safe. I
28 > set...
29 >
30 > MAKEOPTS="-j 1"
31 >
32 > and it solves quite a few problems. Note that the final binary is just
33 > as fast, regardless of that setting. The compile speed is somewhat
34 > faster with a higher number. But you quickly lose any "time savings"
35 > from that, the first time you waste several hours trying to figure out
36 > why something isn't compiling. MAKEOPTS="-j 1" should be mandatory.
37 >
38 > --
39 > Walter Dnes <waltdnes@××××××××.org>
40 >
41
42 Hi Walter,
43
44 thank you for your help,
45
46 I made the changes you suggested and now got an different error ... it
47 still does not compile.
48
49 Here is the output:
50 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
51 mainwnd.cpp: In member function 'void mainwnd::file_import_dialog()':
52 mainwnd.cpp:531: error: invalid conversion from 'Gtk::ButtonBox*' to 'Gtk::HButtonBox*'
53 make[2]: *** [mainwnd.o] Error 1
54
55 To not to pollute the mailing list again with a dozen of outputs and
56 logs I haven't attached those to this different posting. If you need
57 a certain file/log/output or whatever to fix this, please let me now!
58 :)
59
60 Best regards,
61 mcc

Replies

Subject Author
Re: [gentoo-user] seq24 fails to comoile "Arttu V." <arttuv69@×××××.com>
Re: [gentoo-user] seq24 fails to comoile Stroller <stroller@××××××××××××××××××.uk>