Skip to content

Instantly share code, notes, and snippets.

@fconcklin
Created November 25, 2010 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fconcklin/715446 to your computer and use it in GitHub Desktop.
Save fconcklin/715446 to your computer and use it in GitHub Desktop.
cd utils/oibc && make all
fred@daffy [09:21:38] ~/src/ipad/openiBoot $ cd utils/oibc && make all
cc -DHAVE_GETEUID -I/opt/local/include -c oibc.c -o oibc.o
oibc.c:29:17: error: usb.h: No such file or directory
oibc.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
oibc.c: In function ‘doOutput’:
oibc.c:74: error: ‘device’ undeclared (first use in this function)
oibc.c:74: error: (Each undeclared identifier is reported only once
oibc.c:74: error: for each function it appears in.)
oibc.c: In function ‘sendBuffer’:
oibc.c:159: error: ‘device’ undeclared (first use in this function)
oibc.c: In function ‘doInput’:
oibc.c:194: warning: incompatible implicit declaration of built-in function ‘free’
oibc.c: In function ‘sendFile’:
oibc.c:261: warning: incompatible implicit declaration of built-in function ‘malloc’
oibc.c:274: warning: incompatible implicit declaration of built-in function ‘free’
oibc.c: In function ‘main’:
oibc.c:353: warning: assignment makes pointer from integer without a cast
oibc.c:357: error: dereferencing pointer to incomplete type
oibc.c:358: error: dereferencing pointer to incomplete type
oibc.c:358: error: dereferencing pointer to incomplete type
oibc.c:361: error: dereferencing pointer to incomplete type
oibc.c:361: error: dereferencing pointer to incomplete type
oibc.c:366: error: dereferencing pointer to incomplete type
oibc.c:367: error: dereferencing pointer to incomplete type
oibc.c:368: error: dereferencing pointer to incomplete type
oibc.c:369: error: dereferencing pointer to incomplete type
oibc.c:370: error: dereferencing pointer to incomplete type
oibc.c:383: error: ‘device’ undeclared (first use in this function)
make: *** [oibc.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment