Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13542 - game-launcher ebuild broken
Summary: game-launcher ebuild broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-08 22:26 UTC by Bret Towe
Modified: 2003-09-25 12:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed game-launcher-0.9.8.ebuild (game-launcher-0.9.8.ebuild,2.27 KB, text/plain)
2003-01-08 22:30 UTC, Bret Towe
Details
game-launcher.patch (game-launcher.patch,299 bytes, text/plain)
2003-01-08 22:34 UTC, Bret Towe
Details
proposed 0.9.8-gcc-3 patch (game-launcher-gcc-3.3.patch,5.23 KB, patch)
2003-09-24 03:48 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2003-01-08 22:26:45 UTC
found 2 problems while trying to merge this
1 is a missing depend for jpgalleg
2 is it didnt compile under gcc 3.2.1
this problem also goes to the depend library allegro least im assuming so
since the errors that i recieve are from headers for that lib

i did fix the ebuild and attached a patch for game-launcher so it will at least
compile to the place where the headers are a problem
Comment 1 Bret Towe 2003-01-08 22:30:46 UTC
Created attachment 7109 [details]
fixed game-launcher-0.9.8.ebuild
Comment 2 Bret Towe 2003-01-08 22:34:20 UTC
Created attachment 7110 [details]
game-launcher.patch
Comment 4 Brandy Westcott (RETIRED) gentoo-dev 2003-09-24 03:48:04 UTC
Created attachment 18256 [details, diff]
proposed 0.9.8-gcc-3 patch

This is a replacement for the current 0.9.8-gcc-3.patch that will allow
game-launcher to compile.
Comment 5 David Solomon 2003-09-24 11:44:08 UTC
Ok.  I am able to ebuild unpack, ebuild compile and ebuild install using the latest 
patches, but emerge still errors. 
 
davondual game-launcher # emerge game-launcher 
Calculating dependencies ...done! 
>>> emerge (1 of 1) games-emulation/game-launcher-0.9.8 to / 
>>> md5 src_uri ;-) gl098s.zip 
>>> Unpacking source... 
>>> Unpacking gl098s.zip to /var/tmp/portage/game-launcher-0.9.8/work 
 * Applying 0.9.8-gcc3.patch...                                                         [ ok ] 
 * Applying 0.9.8-digi-oss.patch...                                                     [ ok ] 
>>> Source unpacked. 
g++ -o glaunch -DGLAUNCH_VERSION='"0.9.8"'  -Wall -Wstrict-prototypes 
-Iinclude startup/unix/glaunch.cc 
make -C engine all 
make[1]: Entering directory `/var/tmp/portage/game-launcher-0.9.8/work/glaunch/
engine' 
g++  -O3 -mcpu=i686 -pipe -funroll-loops -mmmx -msse -m3dnow  -c engine.cc -o 
engine.o 
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/
backward/strstream:51, 
                 from engine.cc:3: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/backward/
backward_warning.h:32:2: warning: #warning This file includes at least one 
deprecated or antiquated header. Please consider using one of the 32 headers 
found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> 
header for the <X.h> header for C++ includes, or <sstream> instead of the 
deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. 
In file included from engine.cc:17: 
enginei.h:4:20: engine.h: No such file or directory 
In file included from engine.cc:17: 
enginei.h:12: error: parse error before `,' token 
enginei.h:25: error: destructors must be member functions 
enginei.h:25: error: virtual outside class declaration 
enginei.h:27: error: virtual outside class declaration 
enginei.h:29: error: virtual outside class declaration 
enginei.h:31: error: parse error before `private' 
enginei.h:40: error: syntax error before `*' token 
enginei.h:43: error: syntax error before `*' token 
enginei.h:46: error: syntax error before `*' token 
enginei.h:56: error: parse error before `{' token 
enginei.h:59: error: virtual outside class declaration 
enginei.h:60: error: virtual outside class declaration 
enginei.h:61: error: virtual outside class declaration 
enginei.h:62: error: virtual outside class declaration 
enginei.h:63: error: destructors must be member functions 
enginei.h:63: error: virtual outside class declaration 
enginei.h:66: error: `Timer_Manager' was not declared in this scope 
enginei.h:66: error: `manager' was not declared in this scope 
enginei.h:66: error: parse error before `)' token 
enginei.h:66: error: ISO C++ forbids declaration of `Timer_Impl' with no type 
enginei.h:70: error: parse error before `private' 
enginei.h:73: error: syntax error before `*' token 
enginei.h:77: error: 'State' is used as a type, but is not defined as a type. 
enginei.h:78: error: parse error before `}' token 
enginei.h:80: error: parse error before `,' token 
enginei.h:85: error: syntax error before `*' token 
enginei.h:86: error: `Timer' was not declared in this scope 
enginei.h:86: error: `timer' was not declared in this scope 
enginei.h:86: error: variable or field `delete_timer' declared void 
enginei.h:87: error: virtual outside class declaration 
enginei.h:90: error: parse error before `private' 
enginei.h:93: error: redefinition of `unsigned int p_ticks_per_second' 
enginei.h:76: error: `unsigned int p_ticks_per_second' previously declared here 
enginei.h:94: error: 'Timer_List_Impl' is used as a type, but is not defined as 
   a type. 
enginei.h:95: error: parse error before `}' token 
enginei.h:98: error: parse error before `{' token 
enginei.h:101: error: virtual outside class declaration 
enginei.h:102: error: virtual outside class declaration 
enginei.h:103: error: virtual outside class declaration 
enginei.h:104: error: virtual outside class declaration 
enginei.h:105: error: virtual outside class declaration 
enginei.h:106: error: virtual outside class declaration 
enginei.h:109: error: parse error before `*' token 
enginei.h:111: error: destructors must be member functions 
enginei.h:111: error: virtual outside class declaration 
enginei.h:113: error: parse error before `private' 
enginei.h:125: error: syntax error before `*' token 
enginei.h:126: error: syntax error before `*' token 
enginei.h:129: error: parse error before `,' token 
enginei.h:133: error: `Keypress_Watcher' was not declared in this scope 
enginei.h:134: error: `keypress_watcher' was not declared in this scope 
enginei.h:134: error: variable or field `delete_keypress_watcher' declared void 
enginei.h:137: error: parse error before `*' token 
enginei.h:138: error: destructors must be member functions 
enginei.h:138: error: virtual outside class declaration 
enginei.h:140: error: parse error before `private' 
enginei.h:143: error: 'Keypress_Watcher_List' is used as a type, but is not 
   defined as a type. 
enginei.h:144: error: syntax error before `*' token 
enginei.h:148: error: parse error before `{' token 
enginei.h:151: error: virtual outside class declaration 
enginei.h:152: error: virtual outside class declaration 
enginei.h:153: error: virtual outside class declaration 
enginei.h:154: error: virtual outside class declaration 
enginei.h:157: error: parse error before `*' token 
enginei.h:159: error: destructors must be member functions 
enginei.h:159: error: virtual outside class declaration 
enginei.h:161: error: parse error before `private' 
enginei.h:164: error: multiple definition of `enum Type' 
enginei.h:116: error: previous definition here 
enginei.h:164: error: conflicting types for `REPEAT' 
enginei.h:116: error: previous declaration as `Type REPEAT' 
enginei.h:164: error: conflicting types for `CONTINUOUS' 
enginei.h:116: error: previous declaration as `Type CONTINUOUS' 
enginei.h:164: error: conflicting types for `ONE_TIME' 
enginei.h:116: error: previous declaration as `Type ONE_TIME' 
enginei.h:166: error: redefinition of `Type p_type' 
enginei.h:118: error: `Type p_type' previously declared here 
enginei.h:167: error: syntax error before `*' token 
enginei.h:168: error: redefinition of `bool p_is_pressed' 
enginei.h:121: error: `bool p_is_pressed' previously declared here 
enginei.h:169: error: redefinition of `bool p_was_pressed' 
enginei.h:122: error: `bool p_was_pressed' previously declared here 
enginei.h:170: error: redefinition of `int p_initial_delay' 
enginei.h:123: error: `int p_initial_delay' previously declared here 
enginei.h:171: error: redefinition of `int p_repeat_delay' 
enginei.h:124: error: `int p_repeat_delay' previously declared here 
enginei.h:172: error: syntax error before `*' token 
enginei.h:173: error: syntax error before `*' token 
enginei.h:177: error: parse error before `{' token 
enginei.h:180: error: virtual outside class declaration 
enginei.h:181: error: virtual outside class declaration 
enginei.h:182: error: virtual outside class declaration 
enginei.h:183: error: virtual outside class declaration 
enginei.h:184: error: parse error before `}' token 
enginei.h:186: error: parse error before `,' token 
enginei.h:193: error: `Joystick_Watcher' was not declared in this scope 
enginei.h:194: error: `joystick_watcher' was not declared in this scope 
enginei.h:194: error: variable or field `delete_joystick_watcher' declared void 
enginei.h:197: error: parse error before `*' token 
enginei.h:198: error: destructors must be member functions 
enginei.h:198: error: virtual outside class declaration 
enginei.h:200: error: parse error before `private' 
enginei.h:203: error: 'Joystick_Watcher_List' is used as a type, but is not 
   defined as a type. 
enginei.h:204: error: syntax error before `*' token 
engine.cc:18:22: glch_dat.h: No such file or directory 
engine.cc:19:21: logfile.h: No such file or directory 
engine.cc:24: error: parse error before `::' token 
engine.cc:42: error: syntax error before `*' token 
engine.cc:83: error: syntax error before `*' token 
engine.cc:94: error: syntax error before `::' token 
engine.cc:99: error: ISO C++ forbids declaration of `log_os_type' with no type 
engine.cc:101: error: syntax error before `->' token 
engine.cc:106: error: ISO C++ forbids declaration of `install_keyboard' with no 
   type 
engine.cc:107: error: ISO C++ forbids declaration of `install_timer' with no 
   type 
engine.cc:109: error: parse error before `if' 
engine.cc:112: error: ISO C++ forbids declaration of `p_is_mouse_installed' 
   with no type 
engine.cc:113: error: parse error before `}' token 
engine.cc:117: error: ISO C++ forbids declaration of `p_is_mouse_installed' 
   with no type 
engine.cc:117: error: redefinition of `int p_is_mouse_installed' 
engine.cc:112: error: `int p_is_mouse_installed' previously defined here 
engine.cc:118: error: parse error before `}' token 
engine.cc:119: error: ISO C++ forbids declaration of `p_infinite_mouse_x' with 
   no type 
engine.cc:120: error: ISO C++ forbids declaration of `p_infinite_mouse_y' with 
   no type 
engine.cc:130: error: ISO C++ forbids declaration of `Engine_cycle_counter' 
   with no type 
engine.cc:130: error: conflicting types for `int Engine_cycle_counter' 
engine.cc:35: error: previous declaration as `volatile unsigned int 
   Engine_cycle_counter' 
engine.cc:133: error: `TARGET_FPS' was not declared in this scope 
engine.cc:133: error: ISO C++ forbids declaration of `install_int_ex' with no 
   type 
engine.cc:133: error: `int install_int_ex' redeclared as different kind of 
   symbol 
/usr/include/allegro/timer.h:59: error: previous declaration of `int 
   install_int_ex(void (*)(), long int)' 
engine.cc:133: error: initializer list being treated as compound expression 
engine.cc:133: warning: left-hand operand of comma is a reference, not call, to 
   function `Engine_cycle_incrementor()' 
engine.cc:141: error: ISO C++ forbids declaration of `install_int_ex' with no 
   type 
engine.cc:141: error: redefinition of `int install_int_ex' 
engine.cc:133: error: `int install_int_ex' previously defined here 
engine.cc:141: error: initializer list being treated as compound expression 
engine.cc:141: warning: left-hand operand of comma is a reference, not call, to 
   function `Engine_one_second_timer()' 
engine.cc:145: error: ISO C++ forbids declaration of ` 
   keyboard_lowlevel_callback' with no type 
engine.cc:145: error: conflicting types for `int keyboard_lowlevel_callback' 
/usr/include/allegro/keyboard.h:57: error: previous declaration as `void 
   (*keyboard_lowlevel_callback)(int)' 
engine.cc:145: error: invalid conversion from `void (*)(int)' to `int' 
engine.cc:147: error: parse error before `if' 
engine.cc:150: error: ISO C++ forbids declaration of `mouse_callback' with no 
   type 
engine.cc:150: error: conflicting types for `int mouse_callback' 
/usr/include/allegro/mouse.h:81: error: previous declaration as `void 
   (*mouse_callback)(int)' 
engine.cc:150: error: invalid conversion from `void (*)(int)' to `int' 
engine.cc:151: error: parse error before `}' token 
engine.cc:153: error: ISO C++ forbids declaration of `p_system_container' with 
   no type 
engine.cc:153: error: parse error before `(' token 
engine.cc:154: error: ISO C++ forbids declaration of `p_root_container' with no 
   type 
engine.cc:154: error: parse error before `(' token 
engine.cc:156: error: ISO C++ forbids declaration of `p_timer_manager' with no 
   type 
engine.cc:156: error: invalid use of undefined type `class Timer_Manager' 
enginei.h:80: error: forward declaration of `class Timer_Manager' 
engine.cc:157: error: syntax error before `->' token 
engine.cc:158: error: syntax error before `->' token 
engine.cc:161: error: ISO C++ forbids declaration of `p_keypress_manager' with 
   no type 
engine.cc:162: error: ISO C++ forbids declaration of `p_keypress_manager' with 
   no type 
engine.cc:162: error: redefinition of `int p_keypress_manager' 
engine.cc:161: error: `int p_keypress_manager' previously defined here 
engine.cc:162: error: parse error before `(' token 
engine.cc:163: error: syntax error before `->' token 
engine.cc:166: error: ISO C++ forbids declaration of `p_joystick_manager' with 
   no type 
engine.cc:167: error: ISO C++ forbids declaration of `p_joystick_manager' with 
   no type 
engine.cc:167: error: redefinition of `int p_joystick_manager' 
engine.cc:166: error: `int p_joystick_manager' previously defined here 
engine.cc:167: error: parse error before `(' token 
engine.cc:180: error: ISO C++ forbids declaration of `p_engine_manager' with no 
   type 
engine.cc:180: error: parse error before `(' token 
engine.cc:181: error: syntax error before `->' token 
engine.cc:183: error: syntax error before `->' token 
engine.cc:186: error: ISO C++ forbids declaration of `p_null_background_task' 
   with no type 
engine.cc:186: error: parse error before `(' token 
engine.cc:187: error: ISO C++ forbids declaration of `p_background_task' with 
   no type 
engine.cc:188: error: parse error before `}' token 
engine.cc:190: error: syntax error before `::' token 
engine.cc:194: error: `NUM_FRAMES' was not declared in this scope 
engine.cc:194: error: parse error before `;' token 
engine.cc:194: error: syntax error before `++' token 
engine.cc:211: error: syntax error before `::' token 
engine.cc:239: error: ISO C++ forbids declaration of `log_digi_card' with no 
   type 
engine.cc:241: error: ISO C++ forbids declaration of `set_volume' with no type 
engine.cc:241: error: `int set_volume' redeclared as different kind of symbol 
/usr/include/allegro/sound.h:41: error: previous declaration of `void 
   set_volume(int, int)' 
engine.cc:241: error: initializer list being treated as compound expression 
engine.cc:242: error: parse error before `}' token 
engine.cc:246: error: syntax error before `::' token 
engine.cc:261: error: `color_depth' was not declared in this scope 
engine.cc:261: error: ISO C++ forbids declaration of `set_color_depth' with no 
   type 
engine.cc:261: error: `int set_color_depth' redeclared as different kind of 
   symbol 
/usr/include/allegro/gfx.h:345: error: previous declaration of `void 
   set_color_depth(int)' 
engine.cc:262: error: parse error before `if' 
engine.cc:269: error: ISO C++ forbids declaration of `set_color_depth' with no 
   type 
engine.cc:269: error: redefinition of `int set_color_depth' 
engine.cc:261: error: `int set_color_depth' previously defined here 
engine.cc:270: error: parse error before `if' 
engine.cc:284: error: syntax error before `->' token 
engine.cc:285: error: syntax error before `->' token 
engine.cc:289: error: syntax error before `::' token 
engine.cc:294: error: ISO C++ forbids declaration of `p_use_vram' with no type 
engine.cc:294: error: `use_vram' was not declared in this scope 
engine.cc:295: error: ISO C++ forbids declaration of `p_use_vsync' with no type 
engine.cc:295: error: `use_vsync' was not declared in this scope 
engine.cc:297: error: ISO C++ forbids declaration of `p_frames' with no type 
engine.cc:297: error: invalid initializer 
engine.cc:298: error: parse error before `if' 
engine.cc:302: error: ISO C++ forbids declaration of `clear' with no type 
engine.cc:302: error: `int clear' redeclared as different kind of symbol 
/usr/include/allegro/alcompat.h:30: error: previous declaration of `void 
   clear(BITMAP*)' 
engine.cc:305: error: parse error before `if' 
engine.cc:314: error: ISO C++ forbids declaration of `clear' with no type 
engine.cc:314: error: redefinition of `int clear' 
engine.cc:302: error: `int clear' previously declared here 
engine.cc:315: error: ISO C++ forbids declaration of `p_current_frame' with no 
   type 
engine.cc:316: error: ISO C++ forbids declaration of `show_video_bitmap' with 
   no type 
engine.cc:316: error: `int show_video_bitmap' redeclared as different kind of 
   symbol 
/usr/include/allegro/gfx.h:353: error: previous declaration of `int 
   show_video_bitmap(BITMAP*)' 
engine.cc:317: error: ISO C++ forbids declaration of `p_animation_method' with 
   no type 
engine.cc:317: error: `DOUBLE_BUFFERING' was not declared in this scope 
engine.cc:318: error: syntax error before `->' token 
engine.cc:319: error: syntax error before `->' token 
engine.cc:326: error: ISO C++ forbids declaration of `show_video_bitmap' with 
   no type 
engine.cc:326: error: redefinition of `int show_video_bitmap' 
engine.cc:316: error: `int show_video_bitmap' previously declared here 
engine.cc:327: error: ISO C++ forbids declaration of `p_animation_method' with 
   no type 
engine.cc:327: error: redefinition of `int p_animation_method' 
engine.cc:317: error: `int p_animation_method' previously defined here 
engine.cc:327: error: `PAGE_FLIPPING' was not declared in this scope 
engine.cc:328: error: ISO C++ forbids declaration of `p_current_frame' with no 
   type 
engine.cc:328: error: redefinition of `int p_current_frame' 
engine.cc:315: error: `int p_current_frame' previously defined here 
engine.cc:329: error: syntax error before `->' token 
engine.cc:332: error: ISO C++ forbids declaration of `p_frame' with no type 
engine.cc:333: error: parse error before `}' token 
engine.cc:336: error: syntax error before `::' token 
engine.cc:342: error: syntax error before `::' token 
engine.cc:348: error: syntax error before `::' token 
engine.cc:351: error: ISO C++ forbids declaration of `Engine_cycle_counter' 
   with no type 
engine.cc:351: error: redefinition of `int Engine_cycle_counter' 
engine.cc:130: error: `int Engine_cycle_counter' previously defined here 
engine.cc:352: error: ISO C++ forbids declaration of `Engine_total_frames' with 
   no type 
engine.cc:352: error: conflicting types for `int Engine_total_frames' 
engine.cc:38: error: previous declaration as `volatile unsigned int 
   Engine_total_frames' 
engine.cc:353: error: ISO C++ forbids declaration of `Engine_last_fps' with no 
   type 
engine.cc:353: error: conflicting types for `int Engine_last_fps' 
engine.cc:36: error: previous declaration as `volatile unsigned int 
   Engine_last_fps' 
engine.cc:354: error: ISO C++ forbids declaration of `Engine_seconds' with no 
   type 
engine.cc:354: error: conflicting types for `int Engine_seconds' 
engine.cc:39: error: previous declaration as `volatile unsigned int 
   Engine_seconds' 
engine.cc:355: error: ISO C++ forbids declaration of `Engine_idle_seconds' with 
   no type 
engine.cc:355: error: conflicting types for `int Engine_idle_seconds' 
engine.cc:40: error: previous declaration as `volatile unsigned int 
   Engine_idle_seconds' 
engine.cc:357: error: ISO C++ forbids declaration of `p_end_game' with no type 
engine.cc:358: error: ISO C++ forbids declaration of `p_paused' with no type 
engine.cc:359: error: ISO C++ forbids declaration of `p_actual_cycle' with no 
   type 
engine.cc:360: error: ISO C++ forbids declaration of `p_loop_count' with no 
   type 
engine.cc:362: error: syntax error before `->' token 
engine.cc:364: error: syntax error before `->' token 
engine.cc:368: error: syntax error before `->' token 
engine.cc:378: error: syntax error before `++' token 
engine.cc:381: error: ISO C++ forbids declaration of `get_keyboard_input' with 
   no type 
engine.cc:383: error: ISO C++ forbids declaration of `draw_one_frame' with no 
   type 
engine.cc:385: error: syntax error before `++' token 
engine.cc:387: error: syntax error before `->' token 
engine.cc:391: error: ISO C++ forbids declaration of `memset' with no type 
engine.cc:391: error: `int memset' redeclared as different kind of symbol 
/usr/include/string.h:58: error: previous declaration of `void* memset(void*, 
   int, unsigned int)' 
engine.cc:391: error: initializer list being treated as compound expression 
engine.cc:394: error: syntax error before `<<' token 
engine.cc:395: error: syntax error before `->' token 
engine.cc:401: error: syntax error before `::' token 
engine.cc:406: error: syntax error before `*' token 
engine.cc:413: error: syntax error before `::' token 
engine.cc:423: error: syntax error before `::' token 
engine.cc:429: error: syntax error before `::' token 
engine.cc:435: error: syntax error before `::' token 
engine.cc:441: error: syntax error before `::' token 
engine.cc:447: error: syntax error before `::' token 
engine.cc:453: error: syntax error before `::' token 
engine.cc:458: error: ISO C++ forbids declaration of `p_end_game' with no type 
engine.cc:458: error: redefinition of `int p_end_game' 
engine.cc:357: error: `int p_end_game' previously defined here 
engine.cc:459: error: parse error before `}' token 
engine.cc:466: error: ISO C++ forbids declaration of `shot' with no type 
engine.cc:466: error: invalid conversion from `BITMAP*' to `int' 
engine.cc:467: error: ISO C++ forbids declaration of `blit' with no type 
engine.cc:467: error: `int blit' redeclared as different kind of symbol 
/usr/include/allegro/draw.h:55: error: previous declaration of `void 
   blit(BITMAP*, BITMAP*, int, int, int, int, int, int)' 
engine.cc:467: error: initializer list being treated as compound expression 
engine.cc:468: error: ISO C++ forbids declaration of `save_bitmap' with no type 
engine.cc:468: error: `int save_bitmap' redeclared as different kind of symbol 
/usr/include/allegro/datafile.h:87: error: previous declaration of `int 
   save_bitmap(const char*, BITMAP*, const RGB*)' 
engine.cc:468: error: initializer list being treated as compound expression 
engine.cc:468: error: invalid conversion from `RGB*' to `int' 
engine.cc:469: error: parse error before `}' token 
engine.cc:478: error: syntax error before `::' token 
engine.cc:483: error: syntax error before `->' token 
engine.cc:488: error: syntax error before `++' token 
engine.cc:489: error: syntax error before `%=' token 
engine.cc:490: error: ISO C++ forbids declaration of `p_frame' with no type 
engine.cc:490: error: redefinition of `int p_frame' 
engine.cc:332: error: `int p_frame' previously declared here 
engine.cc:491: error: parse error before `}' token 
engine.cc:496: error: ISO C++ forbids declaration of `blit' with no type 
engine.cc:496: error: redefinition of `int blit' 
engine.cc:467: error: `int blit' previously declared here 
engine.cc:496: error: initializer list being treated as compound expression 
engine.cc:497: error: parse error before `}' token 
engine.cc:498: error: syntax error before `++' token 
engine.cc:502: error: syntax error before `::' token 
engine.cc:516: error: `delta_x' was not declared in this scope 
engine.cc:516: error: ISO C++ forbids declaration of `get_mouse_mickeys' with 
   no type 
engine.cc:516: error: `int get_mouse_mickeys' redeclared as different kind of 
   symbol 
/usr/include/allegro/mouse.h:93: error: previous declaration of `void 
   get_mouse_mickeys(int*, int*)' 
engine.cc:516: error: initializer list being treated as compound expression 
engine.cc:517: error: syntax error before `+=' token 
engine.cc:518: error: syntax error before `+=' token 
engine.cc:521: error: syntax error before `++' token 
engine.cc:527: error: syntax error before `::' token 
engine.cc:534: error: syntax error before `::' token 
engine.cc:539: error: syntax error before `*' token 
engine.cc:545: error: syntax error before `*' token 
engine.cc:551: error: syntax error before `*' token 
engine.cc:559: error: syntax error before `::' token 
engine.cc:563: error: ISO C++ forbids declaration of `prefix' with no type 
engine.cc:563: error: invalid conversion from `const char*' to `int' 
engine.cc:567: error: parse error before `switch' 
engine.cc:633: error: syntax error before `->' token 
engine.cc:639: error: syntax error before `::' token 
engine.cc:643: error: ISO C++ forbids declaration of `prefix' with no type 
engine.cc:643: error: redefinition of `int prefix' 
engine.cc:563: error: `int prefix' previously defined here 
engine.cc:643: error: invalid conversion from `const char*' to `int' 
engine.cc:647: error: parse error before `switch' 
engine.cc:725: error: syntax error before `::' token 
engine.cc:731: error: syntax error before `::' token 
engine.cc:737: error: syntax error before `::' token 
engine.cc:743: error: syntax error before `::' token 
engine.cc:748: error: syntax error before `::' token 
engine.cc:754: error: syntax error before `::' token 
engine.cc:760: error: syntax error before `::' token 
engine.cc:765: error: syntax error before `::' token 
engine.cc:770: error: syntax error before `::' token 
engine.cc:774: error: syntax error before `!=' token 
engine.cc:774: error: syntax error before `++' token 
engine.cc:781: error: syntax error before `::' token 
engine.cc:787: error: ISO C++ forbids declaration of `updated_any' with no type 
engine.cc:787: error: conflicting types for `int updated_any' 
engine.cc:784: error: previous declaration as `bool updated_any' 
engine.cc:788: error: parse error before `for' 
engine.cc:788: error: syntax error before `!=' token 
engine.cc:788: error: syntax error before `++' token 
engine.cc:791: error: syntax error before `|=' token 
engine.cc:799: error: syntax error before `::' token 
engine.cc:805: error: syntax error before `::' token 
engine.cc:808: error: syntax error before `::' token 
engine.cc:809: error: syntax error before `::' token 
engine.cc:811: error: ISO C++ forbids declaration of `first' with no type 
engine.cc:811: error: `p_drawable_objects' was not declared in this scope 
engine.cc:812: error: ISO C++ forbids declaration of `last' with no type 
engine.cc:812: error: `p_drawable_objects' was not declared in this scope 
engine.cc:814: error: parse error before `for' 
engine.cc:814: error: syntax error before `!=' token 
engine.cc:814: error: syntax error before `++' token 
engine.cc:824: error: syntax error before `::' token 
engine.cc:830: error: syntax error before `::' token 
engine.cc:833: error: syntax error before `::' token 
engine.cc:834: error: syntax error before `::' token 
engine.cc:836: error: ISO C++ forbids declaration of `first' with no type 
engine.cc:836: error: redefinition of `int first' 
engine.cc:811: error: `int first' previously defined here 
engine.cc:836: error: `p_updatable_objects' was not declared in this scope 
engine.cc:837: error: ISO C++ forbids declaration of `last' with no type 
engine.cc:837: error: redefinition of `int last' 
engine.cc:812: error: `int last' previously defined here 
engine.cc:837: error: `p_updatable_objects' was not declared in this scope 
engine.cc:839: error: parse error before `for' 
engine.cc:839: error: syntax error before `!=' token 
engine.cc:839: error: syntax error before `++' token 
engine.cc:850: error: syntax error before `::' token 
engine.cc:855: error: syntax error before `::' token 
engine.cc:860: error: syntax error before `::' token 
engine.cc:870: error: `Engine' was not declared in this scope 
engine.cc:870: error: `engine' was not declared in this scope 
engine.cc:871: error: invalid use of undefined type `class 
   GameEngine::Engine_Manager' 
enginei.h:12: error: forward declaration of `class GameEngine::Engine_Manager' 
engine.cc:871: error: invalid declarator 
engine.cc:871: error: syntax error before `{' token 
engine.cc:873: error: ISO C++ forbids declaration of `p_fps_toggle_key' with no 
   type 
engine.cc:874: error: `p_engine' was not declared in this scope 
engine.cc:875: error: syntax error before `->' token 
engine.cc:877: error: ISO C++ forbids declaration of `p_debug_toggle_key' with 
   no type 
engine.cc:878: error: `p_engine' was not declared in this scope 
engine.cc:879: error: syntax error before `->' token 
engine.cc:881: error: ISO C++ forbids declaration of `p_show_fps' with no type 
engine.cc:882: error: ISO C++ forbids declaration of `p_show_debug' with no 
   type 
engine.cc:883: error: parse error before `}' token 
engine.cc:886: error: invalid use of undefined type `class 
   GameEngine::Engine_Manager' 
enginei.h:12: error: forward declaration of `class GameEngine::Engine_Manager' 
engine.cc: In destructor `GameEngine::Engine_Manager::~Engine_Manager()': 
engine.cc:887: error: type `int' argument given to `delete', expected pointer 
engine.cc:888: error: type `int' argument given to `delete', expected pointer 
engine.cc: At global scope: 
engine.cc:893: error: invalid use of undefined type `class 
   GameEngine::Engine_Manager' 
enginei.h:12: error: forward declaration of `class GameEngine::Engine_Manager' 
engine.cc:902: error: invalid use of undefined type `class 
   GameEngine::Engine_Manager' 
enginei.h:12: error: forward declaration of `class GameEngine::Engine_Manager' 
engine.cc: In member function `bool GameEngine::Engine_Manager::update()': 
engine.cc:906: error: base operand of `->' is not a pointer 
engine.cc:908: error: `toggle_flag' undeclared (first use this function) 
engine.cc:908: error: (Each undeclared identifier is reported only once for 
   each function it appears in.) 
engine.cc:912: error: base operand of `->' is not a pointer 
engine.cc: At global scope: 
engine.cc:922: error: invalid use of undefined type `class 
   GameEngine::Engine_Manager' 
enginei.h:12: error: forward declaration of `class GameEngine::Engine_Manager' 
engine.cc: In member function `void 
GameEngine::Engine_Manager::draw(BITMAP*)': 
engine.cc:936: error: `p_engine' undeclared (first use this function) 
{standard input}: Assembler messages: 
{standard input}:43: Error: symbol `p_ticks_per_second' is already defined 
{standard input}:94: Error: symbol `p_type' is already defined 
{standard input}:99: Error: symbol `p_is_pressed' is already defined 
{standard input}:104: Error: symbol `p_was_pressed' is already defined 
{standard input}:110: Error: symbol `p_initial_delay' is already defined 
{standard input}:116: Error: symbol `p_repeat_delay' is already defined 
{standard input}:148: Error: symbol `p_is_mouse_installed' is already defined 
{standard input}:173: Error: symbol `install_int_ex' is already defined 
{standard input}:216: Error: symbol `p_keypress_manager' is already defined 
{standard input}:228: Error: symbol `p_joystick_manager' is already defined 
{standard input}:267: Error: symbol `set_color_depth' is already defined 
{standard input}:298: Error: symbol `clear' is already defined 
{standard input}:324: Error: symbol `show_video_bitmap' is already defined 
{standard input}:330: Error: symbol `p_animation_method' is already defined 
{standard input}:336: Error: symbol `p_current_frame' is already defined 
{standard input}:348: Error: symbol `Engine_cycle_counter' is already defined 
{standard input}:399: Error: symbol `p_end_game' is already defined 
{standard input}:432: Error: symbol `p_frame' is already defined 
{standard input}:438: Error: symbol `blit' is already defined 
{standard input}:470: Error: symbol `prefix' is already defined 
{standard input}:499: Error: symbol `first' is already defined 
{standard input}:505: Error: symbol `last' is already defined 
make[1]: *** [engine.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/game-launcher-0.9.8/work/glaunch/
engine' 
make: *** [_gl32_objs] Error 2 
 
 
Comment 6 Brandy Westcott (RETIRED) gentoo-dev 2003-09-24 15:37:49 UTC
David, the current ebuild itself is still broken and needs a some work. 
 
As a quick fix to at least try out the patch, make sure that the 
following line: 
 
	emake -j1 CXXFLAGS="${CXXFLAGS}" 
 
is changed to: 
 
	emake || die 
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2003-09-24 23:43:26 UTC
I combined the patch and the sed work in the ebuild in to one patch and added
it to CVS.  Please try it out and let me know how it goes.  I'm still holding
out hope that the game-launcher developers will release a new version so we
can kill this one off, but in the meantime, this might get people going.

Thanks for the patch Brandy!
Comment 8 David Solomon 2003-09-25 05:57:12 UTC
Yup.  That did it!  I just found it strange that with the patches, emerge
was failing but I could get it to install using ebuild without any problems.

I took a look at the home page for game-launcher and it seems to be a little
dated.  Maybe I will create an ebuild for the cvs or find a nice alternative
to game-launcher.

Thanks for the quick attention.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2003-09-25 12:37:24 UTC
Ok...I'll take that as FIXED then.