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
cc -I/usr/include/libevdev-1.0 -o roccat-vulcan hid.o roccat-vulcan.o output.o evdev.o fx.o -levdev -lhidapi-libusb -ludev /usr/bin/ld: roccat-vulcan.o:(.bss+0x0): multiple definition of rv_topo_model'; hid.o:(.bss+0x0): first defined here
/usr/bin/ld: roccat-vulcan.o:(.data+0x0): multiple definition of rv_colors'; hid.o:(.bss+0x20): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x4): multiple definition of rv_color_off'; hid.o:(.bss+0x5c): first defined here
/usr/bin/ld: roccat-vulcan.o:(.bss+0xc): multiple definition of rv_verbose'; hid.o:(.bss+0x64): first defined here /usr/bin/ld: roccat-vulcan.o:(.data+0x3c): multiple definition of rv_products'; hid.o:(.bss+0x68): first defined here
/usr/bin/ld: roccat-vulcan.o:(.data+0x50): multiple definition of rv_products_str'; hid.o:(.bss+0x70): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x20): multiple definition of rv_fixed'; hid.o:(.bss+0xa0): first defined here
/usr/bin/ld: roccat-vulcan.o:(.bss+0x4a0): multiple definition of rv_active_keys'; hid.o:(.bss+0x520): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x530): multiple definition of rv_released_keys'; hid.o:(.bss+0x5b0): first defined here
/usr/bin/ld: roccat-vulcan.o:(.bss+0x540): multiple definition of rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x550): multiple definition of rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here
/usr/bin/ld: output.o:(.bss+0x0): multiple definition of rv_topo_model'; hid.o:(.bss+0x0): first defined here /usr/bin/ld: output.o:(.bss+0x20): multiple definition of rv_colors'; hid.o:(.bss+0x20): first defined here
/usr/bin/ld: output.o:(.bss+0x5c): multiple definition of rv_color_off'; hid.o:(.bss+0x5c): first defined here /usr/bin/ld: output.o:(.bss+0x64): multiple definition of rv_verbose'; hid.o:(.bss+0x64): first defined here
/usr/bin/ld: output.o:(.bss+0x68): multiple definition of rv_products'; hid.o:(.bss+0x68): first defined here /usr/bin/ld: output.o:(.bss+0x70): multiple definition of rv_products_str'; hid.o:(.bss+0x70): first defined here
/usr/bin/ld: output.o:(.bss+0xa0): multiple definition of rv_fixed'; hid.o:(.bss+0xa0): first defined here /usr/bin/ld: output.o:(.bss+0x520): multiple definition of rv_active_keys'; hid.o:(.bss+0x520): first defined here
/usr/bin/ld: output.o:(.bss+0x5b0): multiple definition of rv_released_keys'; hid.o:(.bss+0x5b0): first defined here /usr/bin/ld: output.o:(.bss+0x5c0): multiple definition of rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here
/usr/bin/ld: output.o:(.bss+0x5d0): multiple definition of rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here /usr/bin/ld: evdev.o:(.bss+0x0): multiple definition of rv_topo_model'; hid.o:(.bss+0x0): first defined here
/usr/bin/ld: evdev.o:(.bss+0x20): multiple definition of rv_colors'; hid.o:(.bss+0x20): first defined here /usr/bin/ld: evdev.o:(.bss+0x5c): multiple definition of rv_color_off'; hid.o:(.bss+0x5c): first defined here
/usr/bin/ld: evdev.o:(.bss+0x64): multiple definition of rv_verbose'; hid.o:(.bss+0x64): first defined here /usr/bin/ld: evdev.o:(.bss+0x68): multiple definition of rv_products'; hid.o:(.bss+0x68): first defined here
/usr/bin/ld: evdev.o:(.bss+0x70): multiple definition of rv_products_str'; hid.o:(.bss+0x70): first defined here /usr/bin/ld: evdev.o:(.bss+0xa0): multiple definition of rv_fixed'; hid.o:(.bss+0xa0): first defined here
/usr/bin/ld: evdev.o:(.bss+0x520): multiple definition of rv_active_keys'; hid.o:(.bss+0x520): first defined here /usr/bin/ld: evdev.o:(.bss+0x5b0): multiple definition of rv_released_keys'; hid.o:(.bss+0x5b0): first defined here
/usr/bin/ld: evdev.o:(.bss+0x5c0): multiple definition of rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here /usr/bin/ld: evdev.o:(.bss+0x5d0): multiple definition of rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here
/usr/bin/ld: fx.o:(.bss+0x0): multiple definition of rv_topo_model'; hid.o:(.bss+0x0): first defined here /usr/bin/ld: fx.o:(.bss+0x20): multiple definition of rv_colors'; hid.o:(.bss+0x20): first defined here
/usr/bin/ld: fx.o:(.bss+0x5c): multiple definition of rv_color_off'; hid.o:(.bss+0x5c): first defined here /usr/bin/ld: fx.o:(.bss+0x64): multiple definition of rv_verbose'; hid.o:(.bss+0x64): first defined here
/usr/bin/ld: fx.o:(.bss+0x68): multiple definition of rv_products'; hid.o:(.bss+0x68): first defined here /usr/bin/ld: fx.o:(.bss+0x70): multiple definition of rv_products_str'; hid.o:(.bss+0x70): first defined here
/usr/bin/ld: fx.o:(.bss+0xa0): multiple definition of rv_fixed'; hid.o:(.bss+0xa0): first defined here /usr/bin/ld: fx.o:(.bss+0x520): multiple definition of rv_active_keys'; hid.o:(.bss+0x520): first defined here
/usr/bin/ld: fx.o:(.bss+0x5b0): multiple definition of rv_released_keys'; hid.o:(.bss+0x5b0): first defined here /usr/bin/ld: fx.o:(.bss+0x5c0): multiple definition of rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here
/usr/bin/ld: fx.o:(.bss+0x5d0): multiple definition of rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:13: roccat-vulcan] Error 1
The text was updated successfully, but these errors were encountered:
set all variables in roccat-vulcan.h to extern.
i.e. "int rv_topo_model;" -> "extern int rv_topo_model;"
Do this for all variables mentioned in the linkage error. It should compile afterwards.
All packages are installed.
Make Log:
cc -I/usr/include/libevdev-1.0 -o roccat-vulcan hid.o roccat-vulcan.o output.o evdev.o fx.o -levdev -lhidapi-libusb -ludev /usr/bin/ld: roccat-vulcan.o:(.bss+0x0): multiple definition of
rv_topo_model'; hid.o:(.bss+0x0): first defined here/usr/bin/ld: roccat-vulcan.o:(.data+0x0): multiple definition of
rv_colors'; hid.o:(.bss+0x20): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x4): multiple definition of
rv_color_off'; hid.o:(.bss+0x5c): first defined here/usr/bin/ld: roccat-vulcan.o:(.bss+0xc): multiple definition of
rv_verbose'; hid.o:(.bss+0x64): first defined here /usr/bin/ld: roccat-vulcan.o:(.data+0x3c): multiple definition of
rv_products'; hid.o:(.bss+0x68): first defined here/usr/bin/ld: roccat-vulcan.o:(.data+0x50): multiple definition of
rv_products_str'; hid.o:(.bss+0x70): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x20): multiple definition of
rv_fixed'; hid.o:(.bss+0xa0): first defined here/usr/bin/ld: roccat-vulcan.o:(.bss+0x4a0): multiple definition of
rv_active_keys'; hid.o:(.bss+0x520): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x530): multiple definition of
rv_released_keys'; hid.o:(.bss+0x5b0): first defined here/usr/bin/ld: roccat-vulcan.o:(.bss+0x540): multiple definition of
rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here /usr/bin/ld: roccat-vulcan.o:(.bss+0x550): multiple definition of
rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here/usr/bin/ld: output.o:(.bss+0x0): multiple definition of
rv_topo_model'; hid.o:(.bss+0x0): first defined here /usr/bin/ld: output.o:(.bss+0x20): multiple definition of
rv_colors'; hid.o:(.bss+0x20): first defined here/usr/bin/ld: output.o:(.bss+0x5c): multiple definition of
rv_color_off'; hid.o:(.bss+0x5c): first defined here /usr/bin/ld: output.o:(.bss+0x64): multiple definition of
rv_verbose'; hid.o:(.bss+0x64): first defined here/usr/bin/ld: output.o:(.bss+0x68): multiple definition of
rv_products'; hid.o:(.bss+0x68): first defined here /usr/bin/ld: output.o:(.bss+0x70): multiple definition of
rv_products_str'; hid.o:(.bss+0x70): first defined here/usr/bin/ld: output.o:(.bss+0xa0): multiple definition of
rv_fixed'; hid.o:(.bss+0xa0): first defined here /usr/bin/ld: output.o:(.bss+0x520): multiple definition of
rv_active_keys'; hid.o:(.bss+0x520): first defined here/usr/bin/ld: output.o:(.bss+0x5b0): multiple definition of
rv_released_keys'; hid.o:(.bss+0x5b0): first defined here /usr/bin/ld: output.o:(.bss+0x5c0): multiple definition of
rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here/usr/bin/ld: output.o:(.bss+0x5d0): multiple definition of
rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here /usr/bin/ld: evdev.o:(.bss+0x0): multiple definition of
rv_topo_model'; hid.o:(.bss+0x0): first defined here/usr/bin/ld: evdev.o:(.bss+0x20): multiple definition of
rv_colors'; hid.o:(.bss+0x20): first defined here /usr/bin/ld: evdev.o:(.bss+0x5c): multiple definition of
rv_color_off'; hid.o:(.bss+0x5c): first defined here/usr/bin/ld: evdev.o:(.bss+0x64): multiple definition of
rv_verbose'; hid.o:(.bss+0x64): first defined here /usr/bin/ld: evdev.o:(.bss+0x68): multiple definition of
rv_products'; hid.o:(.bss+0x68): first defined here/usr/bin/ld: evdev.o:(.bss+0x70): multiple definition of
rv_products_str'; hid.o:(.bss+0x70): first defined here /usr/bin/ld: evdev.o:(.bss+0xa0): multiple definition of
rv_fixed'; hid.o:(.bss+0xa0): first defined here/usr/bin/ld: evdev.o:(.bss+0x520): multiple definition of
rv_active_keys'; hid.o:(.bss+0x520): first defined here /usr/bin/ld: evdev.o:(.bss+0x5b0): multiple definition of
rv_released_keys'; hid.o:(.bss+0x5b0): first defined here/usr/bin/ld: evdev.o:(.bss+0x5c0): multiple definition of
rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here /usr/bin/ld: evdev.o:(.bss+0x5d0): multiple definition of
rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here/usr/bin/ld: fx.o:(.bss+0x0): multiple definition of
rv_topo_model'; hid.o:(.bss+0x0): first defined here /usr/bin/ld: fx.o:(.bss+0x20): multiple definition of
rv_colors'; hid.o:(.bss+0x20): first defined here/usr/bin/ld: fx.o:(.bss+0x5c): multiple definition of
rv_color_off'; hid.o:(.bss+0x5c): first defined here /usr/bin/ld: fx.o:(.bss+0x64): multiple definition of
rv_verbose'; hid.o:(.bss+0x64): first defined here/usr/bin/ld: fx.o:(.bss+0x68): multiple definition of
rv_products'; hid.o:(.bss+0x68): first defined here /usr/bin/ld: fx.o:(.bss+0x70): multiple definition of
rv_products_str'; hid.o:(.bss+0x70): first defined here/usr/bin/ld: fx.o:(.bss+0xa0): multiple definition of
rv_fixed'; hid.o:(.bss+0xa0): first defined here /usr/bin/ld: fx.o:(.bss+0x520): multiple definition of
rv_active_keys'; hid.o:(.bss+0x520): first defined here/usr/bin/ld: fx.o:(.bss+0x5b0): multiple definition of
rv_released_keys'; hid.o:(.bss+0x5b0): first defined here /usr/bin/ld: fx.o:(.bss+0x5c0): multiple definition of
rv_pressed_keys'; hid.o:(.bss+0x5c0): first defined here/usr/bin/ld: fx.o:(.bss+0x5d0): multiple definition of
rv_repeated_keys'; hid.o:(.bss+0x5d0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:13: roccat-vulcan] Error 1
The text was updated successfully, but these errors were encountered: