View Single Post
  #386    
Old June 24th, 2009 (11:26 AM).
IIMarckus's Avatar
IIMarckus IIMarckus is offline
J946@5488AA97464
 
Join Date: Oct 2007
Gender:
Posts: 402
Turns out I was using an old version anyway. Just checked out version 2.0.4 from the SVN, and got these results:
Code:
$ gcc -o pksv.out pksv2.c
In file included from pksv2.c:26:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use <stdlib.h>"
In file included from sulib.h:4,
                 from pksv2.c:34:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use <stdlib.h>"
In file included from pksv2.c:55:
codeproc.h:370:21: gba_asm.h: No such file or directory
In file included from codeproc.h:371,
                 from pksv2.c:55:
decompiler.h: In function `DecodeProcLevel':
decompiler.h:3985: error: `VersionOverride' undeclared (first use in this function)
decompiler.h:3985: error: (Each undeclared identifier is reported only once
decompiler.h:3985: error: for each function it appears in.)
decompiler.h:4106: error: `asm_buf' undeclared (first use in this function)
decompiler.h: In function `DecodeProc':
decompiler.h:4135: error: `VersionOverride' undeclared (first use in this function)
decompiler.h:4221: error: `asm_buf' undeclared (first use in this function)
decompiler.h: In function `DecodeProcASM':
decompiler.h:4248: error: `VersionOverride' undeclared (first use in this function)
decompiler.h:4285: error: `asm_buf' undeclared (first use in this function)
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.5/3.3.5/specs
Configured with: 
Thread model: single
gcc version 3.3.5 (propolice)
$
Platform: OpenBSD i386
__________________
iimarck.us / hax.iimarck.us

If you want me, please contact me by email. [email protected]

If you want to hack Pokémon RBY or GSC, read, read, and read some more. This has tons of valuable information.

Pokémon Red disassembly project

Rules that should be rethought: 25charlimit, bumping.
Bad posts are bad posts, regardless of how many words are in them or how old the thread is.
Good posts are good posts, regardless of how old the thread is—and brevity is underrated.