Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ubuntuvm:~/rockbox/utils/MTP$ gcc sendfirm.c -o sendfirm -x C
- gcc: warning: '-x C' after last input file has no effect
- sendfirm.c:35:20: error: libmtp.h: No such file or directory
- sendfirm.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
- sendfirm.c: In function ‘progress’:
- sendfirm.c:46: warning: incompatible implicit declaration of built-in function ‘printf’
- sendfirm.c:48: error: ‘stdout’ undeclared (first use in this function)
- sendfirm.c:48: error: (Each undeclared identifier is reported only once
- sendfirm.c:48: error: for each function it appears in.)
- sendfirm.c: In function ‘usage’:
- sendfirm.c:54: warning: incompatible implicit declaration of built-in function ‘fprintf’
- sendfirm.c:54: error: ‘stderr’ undeclared (first use in this function)
- sendfirm.c: In function ‘sendfile_function’:
- sendfirm.c:59: warning: incompatible implicit declaration of built-in function ‘printf’
- sendfirm.c:66: error: ‘LIBMTP_file_t’ undeclared (first use in this function)
- sendfirm.c:66: error: ‘genfile’ undeclared (first use in this function)
- sendfirm.c:76: warning: incompatible implicit declaration of built-in function ‘fprintf’
- sendfirm.c:76: error: ‘stderr’ undeclared (first use in this function)
- sendfirm.c:78: warning: incompatible implicit declaration of built-in function ‘exit’
- sendfirm.c:90: error: ‘LIBMTP_FILETYPE_FIRMWARE’ undeclared (first use in this function)
- sendfirm.c:98: error: ‘device’ undeclared (first use in this function)
- sendfirm.c: In function ‘main’:
- sendfirm.c:129: warning: incompatible implicit declaration of built-in function ‘fprintf’
- sendfirm.c:129: error: ‘stdout’ undeclared (first use in this function)
- sendfirm.c:129: error: expected ‘)’ before ‘LIBMTP_VERSION_STRING’
- sendfirm.c:131: error: ‘device’ undeclared (first use in this function)
- sendfirm.c:134: warning: incompatible implicit declaration of built-in function ‘printf’
- sendfirm.c:142: warning: incompatible implicit declaration of built-in function ‘exit’
- ubuntu@ubuntuvm:~/rockbox/utils/MTP$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement