Skip to content

error build #5

Description

@zavolo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions