View previous topic :: View next topic |
Author |
Message |
Pawcio n00b
Joined: 22 Jan 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 11:50 am Post subject: Problem with compiling fluxbox |
|
|
After doing
I get thsi error
Code: |
make[4]: *** [FbWinFrameTheme.o] B³±d 1
make[4]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8'
make: *** [all] Error 2
!!! ERROR: x11-wm/fluxbox-0.9.8 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! make failed
bash-2.05b
|
What should I do to solve it? |
|
Back to top |
|
|
bfg n00b
Joined: 07 Jul 2003 Posts: 58 Location: Amparo, SP
|
Posted: Fri Feb 20, 2004 5:59 pm Post subject: |
|
|
Try to post the whole error log. I mean from the line where it is the file that he was trying to compile. |
|
Back to top |
|
|
Pawcio n00b
Joined: 22 Jan 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 8:04 pm Post subject: |
|
|
I guess it's what you expected. The problem is in flile named fluxbox.cc. Anyway here is the code
Code: |
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -IFbTk -O3 -mcpu=i686 -funroll-loops -pipe -I/usr/X11R6/include -DSHAPE -I/usr/X11R6/include -I/usr/include/freetype2 -c -o fluxbox.o `test -f fluxbox.cc || echo './'`fluxbox.cc
^[{standard input}: Assembler messages:
{standard input}:1841: Warning: end of file not at end of a line; newline inserted
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [fluxbox.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/fluxbox-0.9.8/work/fluxbox-0.9.8'
make: *** [all] Error 2
!!! ERROR: x11-wm/fluxbox-0.9.8 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! make failed
bash-2.05b#
|
Mayby is sould edit ~/fluxbox.cc? |
|
Back to top |
|
|
Pawcio n00b
Joined: 22 Jan 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 8:10 pm Post subject: |
|
|
Oh, I tried compiling only fluxbox.cc. Here are the errors: Code: |
In file included from fluxbox.cc:29:
I18n.hh:54: ISO C++ forbids declaration of `nl_catd' with no type
I18n.hh:54: `nl_catd' declared as an `inline' field
I18n.hh:54: syntax error before `&' token
I18n.hh: In member function `const char* I18n::getLocale() const':
I18n.hh:52: `m_locale' undeclared (first use this function)
I18n.hh:52: (Each undeclared identifier is reported only once for each function
it appears in.)
I18n.hh: In member function `bool I18n::multibyte() const':
I18n.hh:53: `m_multibyte' undeclared (first use this function)
I18n.hh: At global scope:
I18n.hh:57: extraneous `char' ignored
I18n.hh:57: non-member function `const I18n* getMessage(int, int, const char*)'
cannot have `const' method qualifier
I18n.hh:59: syntax error before `private'
I18n.hh:61: destructors must be member functions
I18n.hh:62: `std::string m_locale' used prior to declaration
I18n.hh:63: `bool m_multibyte' used prior to declaration
I18n.hh:64: 'nl_catd' is used as a type, but is not defined as a type.
I18n.hh:66: syntax error before `}' token
In file included from Screen.hh:31,
from fluxbox.cc:30:
FbRootWindow.hh:27:23: FbWindow.hh: No such file or directory
In file included from Screen.hh:31,
from fluxbox.cc:30:
FbRootWindow.hh:29: `FbWindow' is not a class or namespace
FbRootWindow.hh:39: syntax error before `&' token
FbRootWindow.hh:40: semicolon missing after declaration of `FbRootWindow'
FbRootWindow.hh:40: two or more data types in declaration of `updateGeometry'
FbRootWindow.hh:41: non-member function `Visual* visual()' cannot have `const'
method qualifier
FbRootWindow.hh: In function `Visual* visual()':
FbRootWindow.hh:41: `m_visual' undeclared (first use this function)
FbRootWindow.hh: At global scope:
FbRootWindow.hh:42: non-member function `Colormap colormap()' cannot have `
const' method qualifier
FbRootWindow.hh: In function `Colormap colormap()':
FbRootWindow.hh:42: `m_colormap' undeclared (first use this function)
FbRootWindow.hh: At global scope:
FbRootWindow.hh:44: syntax error before `private'
FbRootWindow.hh:46: `Colormap m_colormap' used prior to declaration
FbRootWindow.hh:47: syntax error before `}' token
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/fstream:48,
from Screen.hh:47,
from fluxbox.cc:30:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/basic_file.h:56: `
__basic_file' is not a template
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/basic_file.h:58: syntax
error before `*' token
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/basic_file.h:60: confused by earlier errors, bailing out |
Any ideas? |
|
Back to top |
|
|
Pawcio n00b
Joined: 22 Jan 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 8:31 pm Post subject: |
|
|
Stangely enough when compiling blackbox I also get an eroor, nearly the same one as in fluxbox but this time in blackbox.cc
Code: |
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DNDEBUG -DTIMEDCACHE -DLOCALEPATH=\"/usr/share/locale\" -DDEFAULTMENU=\" x/menu\" -DDEFAULTSTYLE=\"/usr/share/commonbox/styles/Fury-NG\" -O3 -mcpu=i686 -funroll-loops -pipe -I/usr/X11R6/inc ntic -c blackbox.cc
In file included from BaseDisplay.hh:39,
from blackbox.hh:52,
from blackbox.cc:101:
Timer.hh: In member function `_timer_queue<_Tp, _Sequence, _Compare>&
_timer_queue<_Tp, _Sequence, _Compare>::operator=(const _timer_queue<_Tp,
_Sequence, _Compare>&)':
Timer.hh:113: warning: no return statement in function returning non-void
g++: {standard input}: Assembler messages:
{standard input}:6706: Warning: partial line at end of file ignored
Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [Screen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r3/work/blackbox-0.65.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/blackbox-0.65.0-r3/work/blackbox-0.65.0'
make: *** [all-recursive-am] Error 2
!!! ERROR: x11-wm/blackbox-0.65.0-r3 failed.
!!! Function commonbox_src_compile, Line 114, Exitcode 2
!!! (no error message)
bash-2.05b# |
Can anyone help me |
|
Back to top |
|
|
Pawcio n00b
Joined: 22 Jan 2004 Posts: 18
|
Posted: Sat Feb 21, 2004 8:42 pm Post subject: |
|
|
Finally seting USE flag like that:
"X python -gtk -gnome -alsa" helped. |
|
Back to top |
|
|
bfg n00b
Joined: 07 Jul 2003 Posts: 58 Location: Amparo, SP
|
Posted: Wed Feb 25, 2004 4:56 pm Post subject: |
|
|
What are in your make.conf gcc compiler flags? Are they too agressive? Maybe you should try to compile with just the march option and see what happens... Then you could try with more agressive flags. |
|
Back to top |
|
|
|