Advertisement
Guest User

ptpcam make error

a guest
Jul 16th, 2012
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. root@debian:/usr/src/ptpcam# make
  2. gcc -o ptpcam myusb.c properties.c ptp.c ptpcam.c -lusb
  3. myusb.c:32:17: fatal error: usb.h: No such file or directory
  4. compilation terminated.
  5. In file included from ptp.h:27:0,
  6. from properties.c:22:
  7. libptp-endian.h:39:0: warning: "htobe16" redefined [enabled by default]
  8. /usr/include/endian.h:64:0: note: this is the location of the previous definition
  9. libptp-endian.h:40:0: warning: "htobe32" redefined [enabled by default]
  10. /usr/include/endian.h:69:0: note: this is the location of the previous definition
  11. libptp-endian.h:41:0: warning: "be16toh" redefined [enabled by default]
  12. /usr/include/endian.h:66:0: note: this is the location of the previous definition
  13. libptp-endian.h:42:0: warning: "be32toh" redefined [enabled by default]
  14. /usr/include/endian.h:71:0: note: this is the location of the previous definition
  15. In file included from ptp.h:27:0,
  16. from ptp.c:23:
  17. libptp-endian.h:39:0: warning: "htobe16" redefined [enabled by default]
  18. /usr/include/endian.h:64:0: note: this is the location of the previous definition
  19. libptp-endian.h:40:0: warning: "htobe32" redefined [enabled by default]
  20. /usr/include/endian.h:69:0: note: this is the location of the previous definition
  21. libptp-endian.h:41:0: warning: "be16toh" redefined [enabled by default]
  22. /usr/include/endian.h:66:0: note: this is the location of the previous definition
  23. libptp-endian.h:42:0: warning: "be32toh" redefined [enabled by default]
  24. /usr/include/endian.h:71:0: note: this is the location of the previous definition
  25. In file included from ptp.h:27:0,
  26. from ptpcam.c:21:
  27. libptp-endian.h:39:0: warning: "htobe16" redefined [enabled by default]
  28. /usr/include/endian.h:64:0: note: this is the location of the previous definition
  29. libptp-endian.h:40:0: warning: "htobe32" redefined [enabled by default]
  30. /usr/include/endian.h:69:0: note: this is the location of the previous definition
  31. libptp-endian.h:41:0: warning: "be16toh" redefined [enabled by default]
  32. /usr/include/endian.h:66:0: note: this is the location of the previous definition
  33. libptp-endian.h:42:0: warning: "be32toh" redefined [enabled by default]
  34. /usr/include/endian.h:71:0: note: this is the location of the previous definition
  35. ptpcam.c:36:17: fatal error: usb.h: No such file or directory
  36. compilation terminated.
  37. make: *** [ptpcam] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement