You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The changes in commit bb24e1c cause compilation to fail on Debian Wheezy;
kirrus@MrsCake:~/development/ipad_charge$ make
gcc -Wall -Wextra ipad_charge.c -lusb-1.0 -o ipad_charge
ipad_charge.c: In function ‘set_charging_mode’:
ipad_charge.c:38:3: warning: implicit declaration of function ‘libusb_strerror’ [-Wimplicit-function-declaration]
ipad_charge.c:38:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat]
ipad_charge.c:44:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat]
ipad_charge.c:54:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat]
ipad_charge.c: In function ‘main’:
ipad_charge.c:153:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat]
/tmp/cc3F3dOB.o: In function `set_charging_mode':
ipad_charge.c:(.text+0x54): undefined reference to `libusb_strerror'
ipad_charge.c:(.text+0xbc): undefined reference to `libusb_strerror'
ipad_charge.c:(.text+0x152): undefined reference to `libusb_strerror'
/tmp/cc3F3dOB.o: In function `main':
ipad_charge.c:(.text+0x528): undefined reference to `libusb_strerror'
collect2: error: ld returned 1 exit status
make: *** [ipad_charge] Error 1
ii libusb-0.1-4:amd64 2:0.1.12-20+nmu1 amd64 userspace USB programming library
ii libusb-1.0-0:amd64 2:1.0.11-1 amd64 userspace USB programming library
ii libusb-1.0-0-dev 2:1.0.11-1 amd64 userspace USB programming library development files
ii libusb-dev 2:0.1.12-20+nmu1 amd64 userspace USB programming
Hi,
The changes in commit bb24e1c cause compilation to fail on Debian Wheezy;
Building from 3088eba succeeded.
The text was updated successfully, but these errors were encountered: