Guest User

Untitled

a guest
Jan 20th, 2011
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ubuntu@ubuntuvm:~/rockbox/utils/MTP$ gcc sendfirm.c -o sendfirm -x C
  2. gcc: warning: '-x C' after last input file has no effect
  3. sendfirm.c:35:20: error: libmtp.h: No such file or directory
  4. sendfirm.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  5. sendfirm.c: In function ‘progress’:
  6. sendfirm.c:46: warning: incompatible implicit declaration of built-in function ‘printf’
  7. sendfirm.c:48: error: ‘stdout’ undeclared (first use in this function)
  8. sendfirm.c:48: error: (Each undeclared identifier is reported only once
  9. sendfirm.c:48: error: for each function it appears in.)
  10. sendfirm.c: In function ‘usage’:
  11. sendfirm.c:54: warning: incompatible implicit declaration of built-in function ‘fprintf’
  12. sendfirm.c:54: error: ‘stderr’ undeclared (first use in this function)
  13. sendfirm.c: In function ‘sendfile_function’:
  14. sendfirm.c:59: warning: incompatible implicit declaration of built-in function ‘printf’
  15. sendfirm.c:66: error: ‘LIBMTP_file_t’ undeclared (first use in this function)
  16. sendfirm.c:66: error: ‘genfile’ undeclared (first use in this function)
  17. sendfirm.c:76: warning: incompatible implicit declaration of built-in function ‘fprintf’
  18. sendfirm.c:76: error: ‘stderr’ undeclared (first use in this function)
  19. sendfirm.c:78: warning: incompatible implicit declaration of built-in function ‘exit’
  20. sendfirm.c:90: error: ‘LIBMTP_FILETYPE_FIRMWARE’ undeclared (first use in this function)
  21. sendfirm.c:98: error: ‘device’ undeclared (first use in this function)
  22. sendfirm.c: In function ‘main’:
  23. sendfirm.c:129: warning: incompatible implicit declaration of built-in function ‘fprintf’
  24. sendfirm.c:129: error: ‘stdout’ undeclared (first use in this function)
  25. sendfirm.c:129: error: expected ‘)’ before ‘LIBMTP_VERSION_STRING’
  26. sendfirm.c:131: error: ‘device’ undeclared (first use in this function)
  27. sendfirm.c:134: warning: incompatible implicit declaration of built-in function ‘printf’
  28. sendfirm.c:142: warning: incompatible implicit declaration of built-in function ‘exit’
  29. ubuntu@ubuntuvm:~/rockbox/utils/MTP$
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×