Here is error I get: Making all in data make[1]: Entering directory `/var/tmp/portage/wormux-0.5.0/work/wormux-0.5.0/data' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/wormux-0.5.0/work/wormux-0.5.0/data' Making all in src make[1]: Entering directory `/var/tmp/portage/wormux-0.5.0/work/wormux-0.5.0/src' Making all in . make[2]: Entering directory `/var/tmp/portage/wormux-0.5.0/work/wormux-0.5.0/src' if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Wormux\" -DPACKAGE_TARNAME=\"wormux\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"Wormux\ 0.5.0\" -DPACKAGE_BUGREPORT=\"wormux-dev@gna.org\" -DPACKAGE=\"wormux\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_WCHAR_T=1 -DHAVE_WINT_T=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_INTMAX_T=1 -DHAVE_POSIX_PRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDINT_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_ASPRINTF=1 -DHAVE_FWPRINTF=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SNPRINTF=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE_WCSLEN=1 -DHAVE___ARGZ_COUNT=1 -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 -DHAVE_DECL__SNPRINTF=0 -DHAVE_DECL__SNWPRINTF=0 -DHAVE_DECL_FEOF_UNLOCKED=1 -DHAVE_DECL_FGETS_UNLOCKED=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBX11= -DHAVE_DIRENT_H=1 -I. -I. -I/usr/include/libxml++-1.0 -I/usr/include/libxml2 -DINSTALL_DATADIR=\"/usr/share/games/wormux/\" -DINSTALL_LOCALEDIR=\"/usr/share/games/locale/\" -I../intl -I../intl -march=pentium4 -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Wormux\" -DPACKAGE_TARNAME=\"wormux\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"Wormux\ 0.5.0\" -DPACKAGE_BUGREPORT=\"wormux-dev@gna.org\" -DPACKAGE=\"wormux\" -DVERSION=\"0.5.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_WCHAR_T=1 -DHAVE_WINT_T=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_INTMAX_T=1 -DHAVE_POSIX_PRINTF=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDINT_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_ASPRINTF=1 -DHAVE_FWPRINTF=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SNPRINTF=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE_WCSLEN=1 -DHAVE___ARGZ_COUNT=1 -DHAVE___ARGZ_STRINGIFY=1 -DHAVE___ARGZ_NEXT=1 -DHAVE___FSETLOCKING=1 -DHAVE_DECL__SNPRINTF=0 -DHAVE_DECL__SNWPRINTF=0 -DHAVE_DECL_FEOF_UNLOCKED=1 -DHAVE_DECL_FGETS_UNLOCKED=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBX11= -DHAVE_DIRENT_H=1 -I. -I. -I/usr/include/libxml++-1.0 -I/usr/include/libxml2 -DINSTALL_DATADIR=\"/usr/share/games/wormux/\" -DINSTALL_LOCALEDIR=\"/usr/share/games/locale/\" -I../intl -I../intl -march=pentium4 -O2 -pipe -MT config.o -MD -MP -MF ".deps/config.Tpo" -c -o config.o `test -f 'game/config.cpp' || echo './'`game/config.cpp; \ then mv -f ".deps/config.Tpo" ".deps/config.Po"; else rm -f ".deps/config.Tpo"; exit 1; fi In file included from main.cpp:22: include/app.h:26:26: ClanLib/core.h: No such file or directory include/app.h:27:33: ClanLib/application.h: No such file or directory include/app.h:28:29: ClanLib/display.h: No such file or directory include/app.h:29:25: ClanLib/sdl.h: No such file or directory include/app.h:30:24: ClanLib/gl.h: No such file or directory In file included from main.cpp:22: include/app.h:35: error: parse error before `{' token include/app.h:42: error: syntax error before `*' token include/app.h:43: error: syntax error before `*' token include/app.h:51: error: parse error before `public' include/app.h:54: error: parse error before `}' token main.cpp:26:26: ClanLib/core.h: No such file or directory main.cpp:27:29: ClanLib/display.h: No such file or directory In file included from gui/button.h:27, from gui/button_text.h:25, from menu/main_menu.h:27, from main.cpp:30: graphic/image.h:26:29: ClanLib/display.h: No such file or directory In file included from gui/button.h:27, from gui/button_text.h:25, from menu/main_menu.h:27, from main.cpp:30: graphic/image.h:33: error: syntax error before `*' token graphic/image.h:43: error: `CL_Sprite' was not declared in this scope graphic/image.h:43: error: `surface' was not declared in this scope graphic/image.h:43: error: invalid data member initialization graphic/image.h:43: error: (use `=' to initialize static data members) graphic/image.h:43: error: variable or field `Init' declared void graphic/image.h:52: error: parse error before `)' token graphic/image.h:53: error: ISO C++ forbids declaration of `CL_Sprite' with no type graphic/image.h:53: error: parse error before `&' token graphic/image.h:54: error: syntax error before `&' token In file included from gui/button_text.h:25, from menu/main_menu.h:27, from main.cpp:30: gui/button.h:28:29: ClanLib/display.h: No such file or directory In file included from gui/button_text.h:25, from menu/main_menu.h:27, from main.cpp:30: gui/button.h:42: error: `CL_Sprite' was not declared in this scope gui/button.h:42: error: `surface' was not declared in this scope gui/button.h:42: error: invalid data member initialization gui/button.h:42: error: variable or field `SetImage' declared void In file included from gui/button_text.h:26, from menu/main_menu.h:27, from main.cpp:30: graphic/font.h:26:29: ClanLib/display.h: No such file or directory In file included from gui/button_text.h:26, from menu/main_menu.h:27, from main.cpp:30: graphic/font.h:32: error: syntax error before `*' token graphic/font.h:36: error: type specifier omitted for parameter ` CL_ResourceManager' graphic/font.h:36: error: parse error before `*' token graphic/font.h:42: error: syntax error before `&' token graphic/font.h:43: error: ISO C++ forbids declaration of `CL_Font' with no type graphic/font.h:43: error: parse error before `&' token In file included from main.cpp:30: menu/main_menu.h:29:26: ClanLib/core.h: No such file or directory menu/main_menu.h:30:29: ClanLib/display.h: No such file or directory In file included from main.cpp:30: menu/main_menu.h:47: error: syntax error before `*' token menu/main_menu.h:48: error: 'CL_Surface' is used as a type, but is not defined as a type. menu/main_menu.h:58: error: parse error before `,' token menu/main_menu.h:68: error: parse error before `&' token menu/main_menu.h:69: error: parse error before `&' token In file included from main.cpp:31: menu/options_menu.h:33:26: ClanLib/core.h: No such file or directory In file included from main.cpp:31: menu/options_menu.h:50: error: 'CL_Surface' is used as a type, but is not defined as a type. menu/options_menu.h:51: error: parse error before `,' token menu/options_menu.h:57: error: parse error before `,' token menu/options_menu.h:67: error: parse error before `&' token menu/options_menu.h:68: error: parse error before `&' token In file included from team/character.h:26, from game/game.h:27, from main.cpp:34: object/physical_obj.h:31:55: ClanLib/core.h: No such file or directory In file included from team/character.h:26, from game/game.h:27, from main.cpp:34: object/physical_obj.h:162: error: ISO C++ forbids declaration of `CL_Point' with no type object/physical_obj.h:162: error: parse error before `(' token object/physical_obj.h:167: error: ISO C++ forbids declaration of `CL_Point' with no type object/physical_obj.h:167: error: declaration of `const int PhysicalObj::CL_Point' object/physical_obj.h:162: error: conflicts with previous declaration `const int PhysicalObj::CL_Point' object/physical_obj.h:167: error: parse error before `(' token object/physical_obj.h:170: error: ISO C++ forbids declaration of `CL_Rect' with no type object/physical_obj.h:170: error: parse error before `(' token object/physical_obj.h:178: error: ISO C++ forbids declaration of `CL_Rect' with no type object/physical_obj.h:178: error: declaration of `const int PhysicalObj::CL_Rect' object/physical_obj.h:170: error: conflicts with previous declaration `const int PhysicalObj::CL_Rect' object/physical_obj.h:178: error: parse error before `(' token In file included from graphic/animation.h:27, from team/character.h:27, from game/game.h:27, from main.cpp:34: graphic/sprite.h:39: error: invalid use of member `Image::CL_Sprite' graphic/sprite.h:39: error: `surface' was not declared in this scope graphic/sprite.h:39: error: parse error before `=' token In file included from team/character.h:27, from game/game.h:27, from main.cpp:34: graphic/animation.h:48: error: invalid use of member `Image::CL_Sprite' graphic/animation.h:48: error: `surface' was not declared in this scope graphic/animation.h:49: error: parse error before `=' token In file included from team/character.h:28, from game/game.h:27, from main.cpp:34: gui/progress_bar.h:27:29: ClanLib/display.h: No such file or directory In file included from team/character.h:28, from game/game.h:27, from main.cpp:34: gui/progress_bar.h:33: error: parse error before `,' token gui/progress_bar.h:45: error: 'CL_Color' is used as a type, but is not defined as a type. gui/progress_bar.h:77: error: parse error before `&' token In file included from weapon/crosshair.h:26, from team/team.h:27, from team/teams_list.h:25, from game/config.cpp:27: graphic/image.h:26:29: ClanLib/display.h: No such file or directory In file included from weapon/crosshair.h:26, from team/team.h:27, from team/teams_list.h:25, from game/config.cpp:27: graphic/image.h:33: error: syntax error before `*' token graphic/image.h:43: error: `CL_Sprite' was not declared in this scope graphic/image.h:43: error: `surface' was not declared in this scope graphic/image.h:43: error: invalid data member initialization graphic/image.h:43: error: (use `=' to initialize static data members) graphic/image.h:43: error: variable or field `Init' declared void graphic/image.h:52: error: parse error before `)' token graphic/image.h:53: error: ISO C++ forbids declaration of `CL_Sprite' with no type graphic/image.h:53: error: parse error before `&' token graphic/image.h:54: error: syntax error before `&' token In file included from team/team.h:27, from team/teams_list.h:25, from game/config.cpp:27: weapon/crosshair.h:36: error: 'CL_Surface' is used as a type, but is not defined as a type. In file included from weapon/weapon.h:30, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: object/physical_obj.h:31:55: ClanLib/core.h: No such file or directory In file included from weapon/weapon.h:30, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: object/physical_obj.h:162: error: ISO C++ forbids declaration of `CL_Point' with no type object/physical_obj.h:162: error: parse error before `(' token object/physical_obj.h:167: error: ISO C++ forbids declaration of `CL_Point' with no type object/physical_obj.h:167: error: declaration of `const int PhysicalObj::CL_Point' object/physical_obj.h:162: error: conflicts with previous declaration `const int PhysicalObj::CL_Point' object/physical_obj.h:167: error: parse error before `(' token object/physical_obj.h:170: error: ISO C++ forbids declaration of `CL_Rect' with no type object/physical_obj.h:170: error: parse error before `(' token object/physical_obj.h:178: error: ISO C++ forbids declaration of `CL_Rect' with no type object/physical_obj.h:178: error: declaration of `const int PhysicalObj::CL_Rect' object/physical_obj.h:170: error: conflicts with previous declaration `const int PhysicalObj::CL_Rect' object/physical_obj.h:178: error: parse error before `(' token In file included from graphic/animation.h:27, from weapon/weapon.h:31, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: graphic/sprite.h:39: error: invalid use of member `Image::CL_Sprite' graphic/sprite.h:39: error: `surface' was not declared in this scope graphic/sprite.h:39: error: parse error before `=' token In file included from weapon/weapon.h:31, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: graphic/animation.h:48: error: invalid use of member `Image::CL_Sprite' graphic/animation.h:48: error: `surface' was not declared in this scope graphic/animation.h:49: error: parse error before `=' token In file included from team/character.h:28, from weapon/weapon.h:33, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: gui/progress_bar.h:27:29: ClanLib/display.h: No such file or directory In file included from team/character.h:28, from weapon/weapon.h:33, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: gui/progress_bar.h:33: error: parse error before `,' token gui/progress_bar.h:45: error: 'CL_Color' is used as a type, but is not defined as a type. gui/progress_bar.h:77: error: parse error before `&' token In file included from team/character.h:29, from weapon/weapon.h:33, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: team/skin.h:35:29: ClanLib/display.h: No such file or directory team/skin.h:36:26: ClanLib/core.h: No such file or directory In file included from team/character.h:29, from weapon/weapon.h:33, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: team/skin.h:46: error: 'CL_Sprite' is used as a type, but is not defined as a type. team/skin.h:71: error: 'CL_Sprite' is used as a type, but is not defined as a type. In file included from weapon/weapon.h:33, from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: team/character.h:57: error: 'CL_Sprite' is used as a type, but is not defined as a type. team/character.h:66: error: 'CL_Sprite' is used as a type, but is not defined as a type. In file included from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: weapon/weapon.h:36:29: ClanLib/display.h: No such file or directory In file included from team/team.h:28, from team/teams_list.h:25, from game/config.cpp:27: weapon/weapon.h:49: error: 'CL_Sprite' is used as a type, but is not defined as a type. weapon/weapon.h:90: error: 'CL_Surface' is used as a type, but is not defined as a type. weapon/weapon.h:117: error: 'CL_Surface' is used as a type, but is not defined as a type. In file included from team/teams_list.h:25, from game/config.cpp:27: team/team.h:32:29: ClanLib/display.h: No such file or directory In file included from team/teams_list.h:25, from game/config.cpp:27: team/team.h:49: error: 'CL_Surface' is used as a type, but is not defined as a type. team/team.h:50: error: 'CL_Point' is used as a type, but is not defined as a type. team/team.h:62: error: type specifier omitted for parameter `CL_ResourceManager ' team/team.h:62: error: parse error before `*' token In file included from game/config.cpp:28: graphic/video.h:28:29: ClanLib/display.h: No such file or directory In file included from game/config.cpp:28: graphic/video.h:33: error: `CL_DisplayMode' was not declared in this scope graphic/video.h:33: error: template argument 1 is invalid graphic/video.h:33: error: template argument 2 is invalid graphic/video.h:33: error: ISO C++ forbids declaration of `const_iterator' with no type graphic/video.h:33: error: parse error before `;' token graphic/video.h:36: error: `CL_DisplayMode' was not declared in this scope graphic/video.h:36: error: template argument 1 is invalid graphic/video.h:36: error: template argument 2 is invalid graphic/video.h:36: error: ISO C++ forbids declaration of `m_modes' with no type graphic/video.h:47: error: `CL_DisplayMode' was not declared in this scope graphic/video.h:47: error: template argument 1 is invalid graphic/video.h:47: error: template argument 2 is invalid graphic/video.h:47: error: ISO C++ forbids declaration of `GetModes' with no type In file included from team/character.h:29, from game/game.h:27, from main.cpp:34: team/skin.h:35:29: ClanLib/display.h: No such file or directory team/skin.h:36:26: ClanLib/core.h: No such file or directory In file included from team/character.h:29, from game/game.h:27, from main.cpp:34: team/skin.h:46: error: 'CL_Sprite' is used as a type, but is not defined as a type. team/skin.h:71: error: 'CL_Sprite' is used as a type, but is not defined as a type. In file included from game/game.h:27, from main.cpp:34: team/character.h:57: error: 'CL_Sprite' is used as a type, but is not defined as a type. team/character.h:66: error: 'CL_Sprite' is used as a type, but is not defined as a type. In file included from game/config.cpp:29: sound/jukebox.h:25:28: ClanLib/vorbis.h: No such file or directory sound/jukebox.h:26:27: ClanLib/sound.h: No such file or directory sound/jukebox.h:27:26: ClanLib/core.h: No such file or directory In file included from game/config.cpp:29: sound/jukebox.h:36: error: syntax error before `*' token sound/jukebox.h:37: error: syntax error before `*' token In file included from game/game.h:28, from main.cpp:34: gui/question.h:28:29: ClanLib/display.h: No such file or directory In file included from game/game.h:28, from main.cpp:34: gui/question.h:61: error: 'CL_Slot' is used as a type, but is not defined as a type. gui/question.h:62: error: 'CL_Slot' is used as a type, but is not defined as a type. gui/question.h:66: error: parse error before `&' token gui/question.h:67: error: parse error before `&' token In file included from main.cpp:34: game/game.h:34: error: parse error before `,' token game/game.h:47: error: parse error before `&' token sound/jukebox.h:54: error: syntax error before `*' token sound/jukebox.h:56: error: syntax error before `*' token sound/jukebox.h:57: error: syntax error before `*' token sound/jukebox.h:58: error: syntax error before `*' token sound/jukebox.h:59: error: syntax error before `*' token sound/jukebox.h:61: error: syntax error before `;' token sound/jukebox.h:82: error: type specifier omitted for parameter ` CL_SoundBuffer_Session' sound/jukebox.h:82: error: parse error before `*' token sound/jukebox.h:89: error: type specifier omitted for parameter ` CL_SoundBuffer_Session' sound/jukebox.h:89: error: parse error before `*' token sound/jukebox.h:93: error: type specifier omitted for parameter ` CL_SoundBuffer_Session' sound/jukebox.h:93: error: parse error before `*' token In file included from main.cpp:35: graphic/graphism.h:27:29: ClanLib/display.h: No such file or directory graphic/graphism.h:28:26: ClanLib/core.h: No such file or directory In file included from main.cpp:35: graphic/graphism.h:55: error: 'CL_ResourceManager' is used as a type, but is not defined as a type. graphic/graphism.h:58: error: 'CL_ResourceManager' is used as a type, but is not defined as a type. graphic/graphism.h:62: error: syntax error before `*' token In file included from main.cpp:39: graphic/video.h:28:29: ClanLib/display.h: No such file or directory In file included from main.cpp:39: graphic/video.h:33: error: `CL_DisplayMode' was not declared in this scope graphic/video.h:33: error: template argument 1 is invalid graphic/video.h:33: error: template argument 2 is invalid graphic/video.h:33: error: ISO C++ forbids declaration of `const_iterator' with no type graphic/video.h:33: error: parse error before `;' token graphic/video.h:36: error: `CL_DisplayMode' was not declared in this scope graphic/video.h:36: error: template argument 1 is invalid graphic/video.h:36: error: template argument 2 is invalid graphic/video.h:36: error: ISO C++ forbids declaration of `m_modes' with no type graphic/video.h:47: error: `CL_DisplayMode' was not declared in this scope graphic/video.h:47: error: template argument 1 is invalid graphic/video.h:47: error: template argument 2 is invalid graphic/video.h:47: error: ISO C++ forbids declaration of `GetModes' with no type In file included from main.cpp:40: sound/jukebox.h:25:28: ClanLib/vorbis.h: No such file or directory sound/jukebox.h:26:27: ClanLib/sound.h: No such file or directory sound/jukebox.h:27:26: ClanLib/core.h: No such file or directory In file included from main.cpp:40: sound/jukebox.h:36: error: syntax error before `*' token sound/jukebox.h:37: error: syntax error before `*' token sound/jukebox.h:54: error: syntax error before `*' token sound/jukebox.h:56: error: syntax error before `*' token sound/jukebox.h:57: error: syntax error before `*' token sound/jukebox.h:58: error: syntax error before `*' token sound/jukebox.h:59: error: syntax error before `*' token sound/jukebox.h:61: error: syntax error before `;' token In file included from game/config.cpp:33: game/game_mode.h:59: error: 'ConfigVer' is used as a type, but is not defined as a type. game/game_mode.h:78: error: syntax error before `;' token sound/jukebox.h:82: error: type specifier omitted for parameter ` CL_SoundBuffer_Session' sound/jukebox.h:82: error: parse error before `*' token sound/jukebox.h:89: error: type specifier omitted for parameter ` CL_SoundBuffer_Session' sound/jukebox.h:89: error: parse error before `*' token sound/jukebox.h:93: error: type specifier omitted for parameter ` CL_SoundBuffer_Session' sound/jukebox.h:93: error: parse error before `*' token In file included from graphic/graphism.h:26, from game/config.cpp:34: graphic/font.h:26:29: ClanLib/display.h: No such file or directory In file included from graphic/graphism.h:26, from game/config.cpp:34: graphic/font.h:32: error: syntax error before `*' token graphic/font.h:36: error: type specifier omitted for parameter ` CL_ResourceManager' graphic/font.h:36: error: parse error before `*' token graphic/font.h:42: error: syntax error before `&' token graphic/font.h:43: error: ISO C++ forbids declaration of `CL_Font' with no type graphic/font.h:43: error: parse error before `&' token In file included from game/config.cpp:34: graphic/graphism.h:27:29: ClanLib/display.h: No such file or directory graphic/graphism.h:28:26: ClanLib/core.h: No such file or directory In file included from game/config.cpp:34: graphic/graphism.h:55: error: 'CL_ResourceManager' is used as a type, but is not defined as a type. graphic/graphism.h:58: error: 'CL_ResourceManager' is used as a type, but is not defined as a type. graphic/graphism.h:62: error: syntax error before `*' token graphic/graphism.h:68: error: syntax error before `;' token main.cpp:51: error: aggregate `AppWormux app' has incomplete type and cannot be defined main.cpp:55: error: invalid use of undefined type `class AppWormux' include/app.h:34: error: forward declaration of `class AppWormux' main.cpp: In constructor `AppWormux::AppWormux()': main.cpp:56: error: `window' undeclared (first use this function) main.cpp:56: error: (Each undeclared identifier is reported only once for each function it appears in.) main.cpp: At global scope: main.cpp:62: error: invalid use of undefined type `class AppWormux' include/app.h:34: error: forward declaration of `class AppWormux' In file included from game/config.cpp:35: map/maps_list.h:29:29: ClanLib/display.h: No such file or directory In file included from game/config.cpp:35: map/maps_list.h:40: error: 'CL_Surface' is used as a type, but is not defined as a type. map/maps_list.h:41: error: parse error before `,' token map/maps_list.h:44: error: syntax error before `*' token map/maps_list.h:54: error: syntax error before `&' token map/maps_list.h:55: error: syntax error before `&' token game/config.cpp:41:29: ClanLib/display.h: No such file or directory game/config.cpp:45: error: 'Config' is used as a type, but is not defined as a type. game/config.cpp:51: error: syntax error before `::' token game/config.cpp:55: error: ISO C++ forbids declaration of `mode_jeu_xml' with no type game/config.cpp:55: error: invalid conversion from `const char*' to `int' game/config.cpp:56: error: ISO C++ forbids declaration of `affiche_energie_ver' with no type game/config.cpp:57: error: ISO C++ forbids declaration of `affiche_nom_ver' with no type game/config.cpp:60: error: ISO C++ forbids declaration of `data_dir' with no type game/config.cpp:60: error: `DEFAULT_DATADIR' was not declared in this scope game/config.cpp:61: error: ISO C++ forbids declaration of `locale_dir' with no type game/config.cpp:61: error: `DEFAULT_LOCALEDIR' was not declared in this scope game/config.cpp:64: error: ISO C++ forbids declaration of `use_sdl' with no type game/config.cpp:65: error: syntax error before `.' token game/config.cpp:66: error: syntax error before `.' token game/config.cpp:67: error: syntax error before `.' token game/config.cpp:69: error: syntax error before `.' token game/config.cpp:70: error: syntax error before `.' token game/config.cpp:71: error: syntax error before `.' token game/config.cpp:72: error: syntax error before `.' token game/config.cpp:74: error: ISO C++ forbids declaration of `gravity' with no type game/config.cpp:74: warning: converting to `int' from `double' game/config.cpp:79: error: syntax error before `::' token game/config.cpp:86: error: ISO C++ forbids declaration of `m_nomfich' with no type game/config.cpp:86: error: `REP_CONFIG' was not declared in this scope game/config.cpp:86: error: `NOMFICH' was not declared in this scope game/config.cpp:87: error: parse error before `if' game/config.cpp:89: error: ISO C++ forbids declaration of `m_xml_charge' with no type game/config.cpp:90: error: parse error before `}' token game/config.cpp:103: error: syntax error before `::' token game/config.cpp:116: error: `xml' was not declared in this scope game/config.cpp:116: error: `tmp' was not declared in this scope game/config.cpp:116: error: ISO C++ forbids declaration of `LitString' with no type game/config.cpp:116: error: `int LitDocXml::LitString' is not a static member of `class LitDocXml' game/config.cpp:116: error: initializer list being treated as compound expression game/config.cpp:119: error: ISO C++ forbids declaration of `elem' with no type game/config.cpp:119: error: `xml' was not declared in this scope game/config.cpp:120: error: parse error before `if' game/config.cpp:126: error: ISO C++ forbids declaration of `elem' with no type game/config.cpp:126: error: redefinition of `int elem' game/config.cpp:119: error: `int elem' previously defined here game/config.cpp:126: error: `xml' was not declared in this scope game/config.cpp:127: error: parse error before `if' game/config.cpp:130: error: `tmp' was not declared in this scope game/config.cpp:130: error: ISO C++ forbids declaration of `LitInt' with no type game/config.cpp:130: error: `int LitDocXml::LitInt' is not a static member of ` class LitDocXml' game/config.cpp:130: error: initializer list being treated as compound expression game/config.cpp:131: error: `tmp' was not declared in this scope game/config.cpp:131: error: ISO C++ forbids declaration of `LitInt' with no type game/config.cpp:131: error: `int LitDocXml::LitInt' is not a static member of ` class LitDocXml' game/config.cpp:131: error: initializer list being treated as compound expression game/config.cpp:132: error: `tmp' was not declared in this scope game/config.cpp:132: error: ISO C++ forbids declaration of `LitBool' with no type game/config.cpp:132: error: `int LitDocXml::LitBool' is not a static member of `class LitDocXml' game/config.cpp:132: error: initializer list being treated as compound expression game/config.cpp:133: error: parse error before `}' token game/config.cpp:136: error: ISO C++ forbids declaration of `elem' with no type game/config.cpp:136: error: redefinition of `int elem' game/config.cpp:126: error: `int elem' previously defined here game/config.cpp:136: error: `xml' was not declared in this scope game/config.cpp:137: error: parse error before `if' game/config.cpp:140: error: `tmp' was not declared in this scope game/config.cpp:140: error: ISO C++ forbids declaration of `LitBool' with no type game/config.cpp:140: error: `int LitDocXml::LitBool' is not a static member of `class LitDocXml' game/config.cpp:140: error: initializer list being treated as compound expression game/config.cpp:141: error: `tmp' was not declared in this scope game/config.cpp:141: error: ISO C++ forbids declaration of `LitBool' with no type game/config.cpp:141: error: `int LitDocXml::LitBool' is not a static member of `class LitDocXml' game/config.cpp:141: error: initializer list being treated as compound expression game/config.cpp:142: error: `tmp' was not declared in this scope game/config.cpp:142: error: ISO C++ forbids declaration of `LitUint' with no type game/config.cpp:142: error: `int LitDocXml::LitUint' is not a static member of `class LitDocXml' game/config.cpp:142: error: initializer list being treated as compound expression game/config.cpp:143: error: parse error before `}' token game/config.cpp:146: error: `xml' was not declared in this scope game/config.cpp:146: error: `mode_jeu_xml' was not declared in this scope game/config.cpp:146: error: ISO C++ forbids declaration of `LitString' with no type game/config.cpp:146: error: `int LitDocXml::LitString' is not a static member of `class LitDocXml' game/config.cpp:146: error: initializer list being treated as compound expression game/config.cpp:148: error: parse error before `return' game/config.cpp:153: error: syntax error before `::' token game/config.cpp:158: error: syntax error before `.' token game/config.cpp:159: error: syntax error before `.' token game/config.cpp:162: error: syntax error before `.' token game/config.cpp:163: error: syntax error before `.' token game/config.cpp:164: error: syntax error before `.' token game/config.cpp:165: error: syntax error before `.' token game/config.cpp:168: error: ISO C++ forbids declaration of `InitSkins' with no type game/config.cpp:168: error: new declaration `int InitSkins()' team/skin.h:110: error: ambiguates old declaration `void InitSkins()' game/config.cpp:169: error: syntax error before `.' token game/config.cpp:173: error: syntax error before `.' token game/config.cpp:182: error: syntax error before `::' token game/config.cpp:206: error: syntax error before `::' token game/config.cpp:210: error: syntax error before `.' token game/config.cpp:211: error: `doc' was not declared in this scope game/config.cpp:214: error: syntax error before `.' token game/config.cpp:215: error: syntax error before `.' token game/config.cpp:218: error: syntax error before `.' token game/config.cpp:225: error: parse error before `for' game/config.cpp:225: error: syntax error before `!=' token game/config.cpp:232: error: syntax error before `.' token game/config.cpp:234: error: syntax error before `.' token game/config.cpp:235: error: syntax error before `.' token game/config.cpp:236: error: syntax error before `.' token game/config.cpp:241: error: syntax error before `.' token game/config.cpp:242: error: syntax error before `.' token game/config.cpp:243: error: syntax error before `.' token game/config.cpp:245: error: syntax error before `.' token game/config.cpp:249: error: syntax error before `.' token main.cpp:101: error: invalid use of undefined type `class AppWormux' include/app.h:34: error: forward declaration of `class AppWormux' main.cpp:112: error: invalid use of undefined type `class AppWormux' include/app.h:34: error: forward declaration of `class AppWormux' main.cpp: In member function `void AppWormux::Init()': main.cpp:114: error: `setup_gl' undeclared (first use this function) main.cpp:115: error: `setup_sdl' undeclared (first use this function) main.cpp:115: error: parse error before `(' token main.cpp:117: error: parse error before `(' token main.cpp:122: error: parse error before `(' token main.cpp:126: error: `CL_Display' undeclared (first use this function) main.cpp:132: error: `CL_Surface' undeclared (first use this function) main.cpp:132: error: parse error before `=' token main.cpp:133: error: `loading_image' undeclared (first use this function) main.cpp:133: error: `CL_Rect' undeclared (first use this function) main.cpp:140: error: parse error before `::' token main.cpp: At global scope: main.cpp:153: error: invalid use of undefined type `class AppWormux' include/app.h:34: error: forward declaration of `class AppWormux' main.cpp: In member function `void AppWormux::Fin()': main.cpp:162: error: `CL_SetupDisplay' undeclared (first use this function) main.cpp:162: error: parse error before `::' token main.cpp:163: error: `CL_SetupCore' undeclared (first use this function) main.cpp: At global scope: main.cpp:174: error: invalid use of undefined type `class AppWormux' include/app.h:34: error: forward declaration of `class AppWormux' main.cpp: In member function `int AppWormux::main(int, char**)': main.cpp:179: error: `Prepare' undeclared (first use this function) main.cpp:180: error: `CL_SetupCore' undeclared (first use this function) main.cpp:180: error: parse error before `;' token main.cpp:181: error: `CL_SetupDisplay' undeclared (first use this function) main.cpp:208: error: parse error before `&' token {standard input}: Assembler messages: {standard input}:87: Error: symbol `elem' is already defined {standard input}:99: Error: symbol `_ZN9LitDocXml6LitIntE' is already defined {standard input}:111: Error: symbol `elem' is already defined {standard input}:117: Error: symbol `_ZN9LitDocXml7LitBoolE' is already defined {standard input}:123: Error: symbol `_ZN9LitDocXml7LitBoolE' is already defined {standard input}:135: Error: symbol `_ZN9LitDocXml9LitStringE' is already defined make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [config.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/wormux-0.5.0/work/wormux-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/wormux-0.5.0/work/wormux-0.5.0/src' make: *** [all-recursive] Error 1 !!! ERROR: games-strategy/wormux-0.5.0 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! emake !!! If you need support, post the topmost build error, NOT this status message. bagi slobo # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r1 i686) ================================================================= System uname: 2.6.12-gentoo-r1 i686 Intel(R) Celeron(R) CPU 1.70GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi aim alsa apache2 audiofile berkdb bidi bluetooth bonobo bzlib cairo cdr composite crypt cscope cups dbus dlloader dri eds emboss encode epiphany esd evo fam firefox flac foomaticdb fortran gif gimpprint glitz gnome gnomedb gphoto2 gstreamer gtk gtk2 gtkhtml hal howl imap imlib jabber jabber2 jpeg kdgraphics libwww mad maildir matroska mbox mmx mono mozilla moznocompose moznoirc moznomail mp3 mpeg msn ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib pic png postgres ppds python readline samba speex spell sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis x86 xml xml2 xpm xprint xv xvid yahoo zlib video_cards_rage128 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
do you have clanlib emerged ? attach the config.log from the build dir
Created attachment 62481 [details] config.log as requested Hi spanKY, * dev-games/clanlib Latest version available: 0.7.8-r1 Latest version installed: 0.7.8-r1 Size of downloaded files: 6,413 kB Homepage: http://www.clanlib.org/ Description: multi-platform game development library License: LGPL-2 There is new wormux version, 0.5.1, at http://www.wormux.org. I'll try that one also. Cheers, Ssl
I've emerged wormux 0.5.1 (same ebuild as 0.5.0) and the problem was gone.
0.5.1 now in portage then, thanks