-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Debian 12 aarch64 error build
make
-- Configuring done
-- Generating done
-- Build files have been written to: /root/gc/build
[ 7%] Building C object CMakeFiles/gc.dir/gc_generic.c.o
/root/gc/gc_generic.c: In function ‘gc_generate_id’:
/root/gc/gc_generic.c:255:22: error: ‘USBG_F_PRINTER’ undeclared (first use in this function); did you mean ‘USBG_F_PHONET’?
255 | }else if(type == USBG_F_PRINTER){
| ^~~~~~~~~~~~~~
| USBG_F_PHONET
/root/gc/gc_generic.c:255:22: note: each undeclared identifier is reported only once for each function it appears in
/root/gc/gc_generic.c:265:22: error: ‘USBG_F_UVC’ undeclared (first use in this function); did you mean ‘USBG_F_UAC2’?
265 | }else if(type == USBG_F_UVC){
| ^~~~~~~~~~
| USBG_F_UAC2
make[2]: *** [CMakeFiles/gc.dir/build.make:118: CMakeFiles/gc.dir/gc_generic.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/gc.dir/all] Error 2
make: *** [Makefile:136: all] Error 2