All pastes #329995 Raw Edit

Something

public text v1 · immutable
#329995 ·published 2007-01-27 06:49 UTC
rendered paste body
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\darnell\My Documents\ipodpatcher_source\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\darnell\My Documents\ipodpatcher_source\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"   

g++.exe -c ipodpatcher.c -o ipodpatcher.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"   

ipodpatcher.c:70: error: `HANDLE' was not declared in this scope
ipodpatcher.c:70: error: `dh' was not declared in this scope

ipodpatcher.c:70: error: expected primary-expression before "char"
ipodpatcher.c:70: error: expected primary-expression before "int"
ipodpatcher.c:70: error: expected primary-expression before "int"
ipodpatcher.c:70: error: initializer expression list treated as compound expression
ipodpatcher.c:71: error: `HANDLE' was not declared in this scope
ipodpatcher.c:71: error: `dh' was not declared in this scope
ipodpatcher.c:71: error: expected primary-expression before "char"
ipodpatcher.c:71: error: initializer expression list treated as compound expression
ipodpatcher.c:72: error: `HANDLE' was not declared in this scope
ipodpatcher.c:73: error: `HANDLE' was not declared in this scope
ipodpatcher.c:73: error: expected primary-expression before "unsigned"
ipodpatcher.c:73: error: initializer expression list treated as compound expression
ipodpatcher.c:74: error: `HANDLE' was not declared in this scope
ipodpatcher.c:74: error: expected primary-expression before "unsigned"
ipodpatcher.c:74: error: expected primary-expression before "int"
ipodpatcher.c:74: error: initializer expression list treated as compound expression
ipodpatcher.c:75: error: `HANDLE' was not declared in this scope
ipodpatcher.c:75: error: expected primary-expression before "unsigned"
ipodpatcher.c:75: error: expected primary-expression before "int"
ipodpatcher.c:75: error: initializer expression list treated as compound expression

ipodpatcher.c:186: error: `HANDLE' was not declared in this scope
ipodpatcher.c:186: error: expected primary-expression before "int"
ipodpatcher.c:186: error: expected primary-expression before "struct"
ipodpatcher.c:187: error: expected primary-expression before "int"
ipodpatcher.c:188: error: initializer expression list treated as compound expression
ipodpatcher.c:188: error: expected `,' or `;' before '{' token
ipodpatcher.c:228: error: `HANDLE' was not declared in this scope
ipodpatcher.c:228: error: expected primary-expression before "int"
ipodpatcher.c:228: error: expected primary-expression before "unsigned"
ipodpatcher.c:229: error: expected primary-expression before "unsigned"
ipodpatcher.c:229: error: expected primary-expression before "int"
ipodpatcher.c:230: error: initializer expression list treated as compound expression
ipodpatcher.c:230: error: expected `,' or `;' before '{' token
ipodpatcher.c:285: error: `HANDLE' was not declared in this scope
ipodpatcher.c:285: error: expected primary-expression before "int"
ipodpatcher.c:285: error: expected primary-expression before "unsigned"
ipodpatcher.c:286: error: expected primary-expression before "int"
ipodpatcher.c:287: error: initializer expression list treated as compound expression
ipodpatcher.c:287: error: expected `,' or `;' before '{' token
ipodpatcher.c:412: error: `HANDLE' was not declared in this scope
ipodpatcher.c:412: error: expected primary-expression before "int"
ipodpatcher.c:412: error: expected primary-expression before "int"

ipodpatcher.c:412: error: expected primary-expression before "struct"
ipodpatcher.c:413: error: expected primary-expression before "int"
ipodpatcher.c:413: error: expected primary-expression before "int"
ipodpatcher.c:414: error: initializer expression list treated as compound expression
ipodpatcher.c:414: error: expected `,' or `;' before '{' token
ipodpatcher.c:491: error: `HANDLE' was not declared in this scope
ipodpatcher.c:491: error: expected primary-expression before "int"
ipodpatcher.c:491: error: expected primary-expression before "char"
ipodpatcher.c:491: error: expected primary-expression before "int"
ipodpatcher.c:491: error: expected primary-expression before "int"
ipodpatcher.c:492: error: expected primary-expression before "int"
ipodpatcher.c:492: error: expected primary-expression before "struct"
ipodpatcher.c:493: error: expected primary-expression before "diroffset"
ipodpatcher.c:493: error: expected primary-expression before "int"
ipodpatcher.c:493: error: expected primary-expression before "char"
ipodpatcher.c:494: error: initializer expression list treated as compound expression
ipodpatcher.c:494: error: expected `,' or `;' before '{' token

ipodpatcher.c:682: error: `HANDLE' was not declared in this scope
ipodpatcher.c:682: error: expected primary-expression before "int"
ipodpatcher.c:682: error: expected primary-expression before "int"
ipodpatcher.c:682: error: expected primary-expression before "diroffset"
ipodpatcher.c:683: error: expected primary-expression before "struct"
ipodpatcher.c:684: error: initializer expression list treated as compound expression
ipodpatcher.c:684: error: expected `,' or `;' before '{' token
ipodpatcher.c:756: error: `HANDLE' was not declared in this scope
ipodpatcher.c:756: error: expected primary-expression before "char"
ipodpatcher.c:756: error: expected primary-expression before "int"
ipodpatcher.c:756: error: expected primary-expression before "int"
ipodpatcher.c:757: error: expected primary-expression before "int"
ipodpatcher.c:757: error: expected primary-expression before "struct"
ipodpatcher.c:758: error: expected primary-expression before "diroffset"
ipodpatcher.c:758: error: expected primary-expression before "int"
ipodpatcher.c:758: error: expected primary-expression before "char"

ipodpatcher.c:759: error: initializer expression list treated as compound expression
ipodpatcher.c:759: error: expected `,' or `;' before '{' token
ipodpatcher.c:889: error: `HANDLE' was not declared in this scope
ipodpatcher.c:889: error: expected primary-expression before "char"
ipodpatcher.c:889: error: expected primary-expression before "int"
ipodpatcher.c:889: error: expected primary-expression before "int"
ipodpatcher.c:890: error: expected primary-expression before "struct"
ipodpatcher.c:891: error: expected primary-expression before "int"
ipodpatcher.c:891: error: expected primary-expression before "char"
ipodpatcher.c:892: error: initializer expression list treated as compound expression
ipodpatcher.c:892: error: expected `,' or `;' before '{' token
ipodpatcher.c:949: error: `HANDLE' was not declared in this scope
ipodpatcher.c:949: error: expected primary-expression before "int"
ipodpatcher.c:949: error: expected primary-expression before "int"
ipodpatcher.c:950: error: expected primary-expression before "struct"
ipodpatcher.c:950: error: expected primary-expression before '*' token
ipodpatcher.c:950: error: `diroffset' was not declared in this scope
ipodpatcher.c:951: error: initializer expression list treated as compound expression
ipodpatcher.c:951: error: expected `,' or `;' before '{' token

ipodpatcher.c: In function `int ipod_scan()':
ipodpatcher.c:1140: error: `HANDLE' undeclared (first use this function)
ipodpatcher.c:1140: error: (Each undeclared identifier is reported only once for each function it appears in.)
ipodpatcher.c:1140: error: expected `;' before "dh"

ipodpatcher.c:1166: error: `dh' undeclared (first use this function)
ipodpatcher.c:1166: error: `ipod_open' cannot be used as a function
ipodpatcher.c:1170: error: `read_partinfo' cannot be used as a function
ipodpatcher.c:1179: error: `read_directory' cannot be used as a function

ipodpatcher.c: In function `int main(int, char**)':
ipodpatcher.c:1222: error: `HANDLE' undeclared (first use this function)
ipodpatcher.c:1222: error: expected `;' before "dh"

ipodpatcher.c:1319: error: `dh' undeclared (first use this function)
ipodpatcher.c:1319: error: `ipod_open' cannot be used as a function
ipodpatcher.c:1326: error: `read_partinfo' cannot be used as a function
ipodpatcher.c:1339: error: `read_directory' cannot be used as a function
ipodpatcher.c:1357: error: `ipod_reopen_rw' cannot be used as a function
ipodpatcher.c:1365: error: `delete_bootloader' cannot be used as a function
ipodpatcher.c:1372: error: `ipod_reopen_rw' cannot be used as a function
ipodpatcher.c:1378: error: `add_bootloader' cannot be used as a function
ipodpatcher.c:1384: error: `ipod_reopen_rw' cannot be used as a function
ipodpatcher.c:1390: error: `write_firmware' cannot be used as a function

ipodpatcher.c:1398: error: `read_firmware' cannot be used as a function
ipodpatcher.c:1411: error: `read_partition' cannot be used as a function
ipodpatcher.c:1418: error: `ipod_reopen_rw' cannot be used as a function
ipodpatcher.c:1434: error: `write_partition' cannot be used as a function
ipodpatcher.c:1447: error: `ipod_close' cannot be used as a function

make.exe: *** [ipodpatcher.o] Error 1

Execution terminated