cfg Loader fails zu compile

Discussion in 'Wii - Backup Loaders' started by Nidhoegger, Jun 24, 2010.

Jun 24, 2010
  1. Nidhoegger
    OP

    Newcomer Nidhoegger Newbie

    Joined:
    Jun 24, 2010
    Messages:
    3
    Country:
    Germany
    Hi,

    i am atm trying to compile my own version of the cfg loader. So ive installed the devkitPPC on my system (gentoo linux) like the manual of devkitPRO says and check out the svn repo. I type in "make" and end up with errors:

    <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:Pre;overflow:auto'>Building cfg56 -DBUILD_222=0 -DVERSION=56
    apploader.c
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:2:20: warning: ogcsys.h: No such file or directory
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:9:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Apploader_Run'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:10:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Init'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Close'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_GetHandle'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Reset'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_ReadDiskId'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Seek'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Offset'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_StopLaser'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_StopMotor'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_OpenPartition'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_ClosePartition'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_UnencryptedRead'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Read'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_WaitForDisc'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_GetCoverStatus'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_SetWBFSMode'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Eject'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_Read_Disc_BCA'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_SetFragList'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WDVD_hello'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wdvd.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MLOAD_SetWBFSMode'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:11:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:7: warning: parameter names (without types) in function declaration
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:10: warning: parameter names (without types) in function declaration
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:11: warning: parameter names (without types) in function declaration
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:12: warning: parameter names (without types) in function declaration
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:14: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:16: warning: parameter names (without types) in function declaration
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:17: error: expected declaration specifiers or '...' before 'u16'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:17: error: expected declaration specifiers or '...' before 'u16'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ScreenShot'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Video_SaveBg'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/video.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CON_InitTr'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:12:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:4:25: warning: wiiuse/wpad.h: No such file or directory
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:5:21: warning: ogc/pad.h: No such file or directory
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:12:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wpad_Init'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wpad_GetButtons'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wpad_WaitButtons'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wpad_WaitButtonsRpt'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wpad_WaitButtonsCommon'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Wpad_Held'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:15: warning: 'struct ir_t' declared inside parameter list
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:15: warning: its scope is only this definition or declaration, which is probably not what you want
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wpad.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'buttonmap'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:13:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:7:21: warning: gctypes.h: No such file or directory
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:8,
    from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:13:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:8: error: expected specifier-qualifier-list before 'u8'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:40: error: expected specifier-qualifier-list before 'u8'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_Init'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_Open'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_Wait'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_SetWBFS'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_ReadHeader'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_IsWii'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_IsGC'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_BootPartition'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Disc_WiiBoot'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/disc.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'appentrypoint'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:10,
    from /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:9,
    from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:13:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/mem.h:65: error: expected ')' before 'size'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:9,
    from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:13:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'str_replace'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'str_replace_all'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'trimsplit'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:9,
    from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:13:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbs_trunc'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'con_trunc'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_be32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_le32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_le16'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:100: error: expected declaration specifiers or '...' before 'u8'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/util.h:100: error: expected declaration specifiers or '...' before 's32'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:13:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:188: error: expected specifier-qualifier-list before 'u8'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:418: error: expected specifier-qualifier-list before 'f32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:433: error: expected specifier-qualifier-list before 'u32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_Load_Settings'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:496: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_Save_Settings'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_Save_Global_Settings'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:500: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:503: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:504: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:505: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:506: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_is_saved'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:507: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_is_changed'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:508: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_save_game_opt'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:509: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CFG_discard_game_opt'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:521: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_ios_idx_mload'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:523: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_favorite'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:524: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_favorite'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:526: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'set_hide_game'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:527: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_hide_game'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:536: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getPlayCount'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:537: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/cfg.h:538: error: expected ')' before '*' token
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:14:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hooktype'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'configbytes'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'regionfree'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hookpatched'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dogamehooks'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:34: error: expected declaration specifiers or '...' before 'u32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:35: error: expected declaration specifiers or '...' before 'u32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/patchcode.h:36: error: expected declaration specifiers or '...' before 'u32'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:15:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dol.h:2: error: expected specifier-qualifier-list before 'u32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dol.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'load_dol_start'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dol.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'load_dol_image'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:16:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wiip.h:1:20: warning: gccore.h: No such file or directory
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:16:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wiip.h:4: error: expected ')' before 'dst'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wiip.h:5: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/wiip.h:6: error: expected ')' before '*' token
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:17:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/gettext.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gettextLoadLanguage'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:18:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:11: error: expected ')' before 'disc'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:12: error: expected declaration specifiers or '...' before 'bool'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__Menu_GetEntries'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:16: error: expected ')' before 'must_select'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Menu_Confirm'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:24: error: expected ')' before 'showfullinfo'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gameCnt'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'all_gameCnt'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/menu.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'menu_window_mark'
    In file included from /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:19:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dolmenu.h:5: error: expected specifier-qualifier-list before 'u32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dolmenu.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dolparameter'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dolmenu.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'createdolmenubuffer'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/dolmenu.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'load_dolmenu'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'buffer'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load_Dol_from_sd'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load_Dol_from_disc_menu'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load_Dol_from_disc'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getdoloffsetbyname'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Remove_001_Protection'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dolcount'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dolindex'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'compare_videomodes'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:85: error: expected ')' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Search_and_patch_Video_Modes'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:232: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Search_and_patch_Video_To'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Apploader_Run'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:491: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:494: error: expected declaration specifiers or '...' before 'u32'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: In function '__Patch_CoverRegister':
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:496: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'oldcode'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:496: error: 'oldcode' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:496: error: (Each undeclared identifier is reported only once
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:496: error: for each function it appears in.)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:496: error: expected expression before ']' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newcode'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:499: error: 'newcode' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:499: error: expected expression before ']' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:504: error: 'len' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: At top level:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NewSuperMarioBrosPatch'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: In function 'patch_video_modes':
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:549: error: 'GXRModeObj' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:549: error: 'table' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:552: warning: implicit declaration of function 'Search_and_patch_Video_To'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:552: error: 'vmodes' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:552: error: 'disc_vmode' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:558: warning: implicit declaration of function 'CONF_GetVideo'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:560: error: 'CONF_VIDEO_PAL' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:561: warning: implicit declaration of function 'CONF_GetEuRGB60'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:563: error: 'NTSC2PAL60' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:567: error: 'NTSC2PAL' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:571: error: 'CONF_VIDEO_MPAL' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:576: error: 'PAL2NTSC' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:579: warning: implicit declaration of function 'Search_and_patch_Video_Modes'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: In function 'maindolpatches':
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:597: warning: implicit declaration of function 'DCFlushRange'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:599: warning: implicit declaration of function 'wipregisteroffset'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:599: error: 'u32' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:599: error: expected ')' before 'dst'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:604: warning: implicit declaration of function 'dogamehooks'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:607: error: too many arguments to function 'vidolpatcher'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:611: error: too many arguments to function 'langpatcher'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:624: error: too many arguments to function '__Patch_CoverRegister'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:628: warning: implicit declaration of function 'NewSuperMarioBrosPatch'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: At top level:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:639: error: expected specifier-qualifier-list before 'u8'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:646: error: expected ')' before 'index'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:661: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fstfileoffset'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:674: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load_Dol_from_disc'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: In function 'getdolnames':
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:737: error: 'u32' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:737: error: expected expression before ')' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:738: error: expected ';' before 'count'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:741: error: 'dolcount' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:743: error: 'count' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:745: warning: implicit declaration of function 'fstfilename'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:745: warning: passing argument 1 of 'strstr' makes pointer from integer without a cast
    /opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/4.4.3/../../../../powerpc-eabi/include/string.h:41: note: expected 'const char *' but argument is of type 'int'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:749: error: 'dolindex' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:737: warning: unused variable 'fst'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: At top level:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:756: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stringcompare'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:773: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getdoloffsetbyname'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:800: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load_Dol_from_disc_menu'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:924: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load_Dol_from_sd'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1035: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: In function 'PatchCountryStrings':
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1039: error: 'u8' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1039: error: expected ';' before 'SearchPattern'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1040: error: expected ';' before 'PatchData'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1041: error: 'Addr' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1041: error: expected expression before ')' token
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1043: warning: implicit declaration of function 'CONF_GetRegion'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1047: error: 'CONF_REGION_JP' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1048: error: 'SearchPattern' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1052: error: 'CONF_REGION_EU' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1057: error: 'CONF_REGION_KR' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1062: error: 'CONF_REGION_CN' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1067: error: 'CONF_REGION_US' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1074: error: 'diskid' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1077: error: 'PatchData' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: At top level:
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Remove_001_Protection'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c: In function 'Anti_002_fix':
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1139: error: 'u8' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1139: error: expected ';' before 'SearchPattern'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1140: error: expected ';' before 'PatchData'
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1145: error: 'SearchPattern' undeclared (first use in this function)
    /home/user/cfgloader/cfg-loader-read-only/Source/source/apploader.c:1149: error: 'PatchData' undeclared (first use in this function)
    make[1]: *** [apploader.o] Fehler 1
    make: *** [build] Fehler 2</div>

    Can someone help me?

    - Nidhoegger
     
  2. mattesno1

    Newcomer mattesno1 Advanced Member

    Joined:
    Apr 27, 2010
    Messages:
    72
    Country:
    Germany
    Warning: Spoilers inside!
    wich version of devkitPPC/libogc do you use for compiling?
    You need to use devkitPPC r17 and libogc 1.7.1
     

Share This Page