Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@debian:/usr/src/ptpcam# make
- gcc -o ptpcam myusb.c properties.c ptp.c ptpcam.c -lusb
- myusb.c:32:17: fatal error: usb.h: No such file or directory
- compilation terminated.
- In file included from ptp.h:27:0,
- from properties.c:22:
- libptp-endian.h:39:0: warning: "htobe16" redefined [enabled by default]
- /usr/include/endian.h:64:0: note: this is the location of the previous definition
- libptp-endian.h:40:0: warning: "htobe32" redefined [enabled by default]
- /usr/include/endian.h:69:0: note: this is the location of the previous definition
- libptp-endian.h:41:0: warning: "be16toh" redefined [enabled by default]
- /usr/include/endian.h:66:0: note: this is the location of the previous definition
- libptp-endian.h:42:0: warning: "be32toh" redefined [enabled by default]
- /usr/include/endian.h:71:0: note: this is the location of the previous definition
- In file included from ptp.h:27:0,
- from ptp.c:23:
- libptp-endian.h:39:0: warning: "htobe16" redefined [enabled by default]
- /usr/include/endian.h:64:0: note: this is the location of the previous definition
- libptp-endian.h:40:0: warning: "htobe32" redefined [enabled by default]
- /usr/include/endian.h:69:0: note: this is the location of the previous definition
- libptp-endian.h:41:0: warning: "be16toh" redefined [enabled by default]
- /usr/include/endian.h:66:0: note: this is the location of the previous definition
- libptp-endian.h:42:0: warning: "be32toh" redefined [enabled by default]
- /usr/include/endian.h:71:0: note: this is the location of the previous definition
- In file included from ptp.h:27:0,
- from ptpcam.c:21:
- libptp-endian.h:39:0: warning: "htobe16" redefined [enabled by default]
- /usr/include/endian.h:64:0: note: this is the location of the previous definition
- libptp-endian.h:40:0: warning: "htobe32" redefined [enabled by default]
- /usr/include/endian.h:69:0: note: this is the location of the previous definition
- libptp-endian.h:41:0: warning: "be16toh" redefined [enabled by default]
- /usr/include/endian.h:66:0: note: this is the location of the previous definition
- libptp-endian.h:42:0: warning: "be32toh" redefined [enabled by default]
- /usr/include/endian.h:71:0: note: this is the location of the previous definition
- ptpcam.c:36:17: fatal error: usb.h: No such file or directory
- compilation terminated.
- make: *** [ptpcam] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement