Yona-Appletree / LEDscape

Beagle Bone Black cape and firmware for driving a large number of WS281x LED strips.
126 stars 58 forks source link

Error: invalid use of ‘__builtin_va_arg_pack ()’ #68

Closed mx-marcelr closed 2 years ago

mx-marcelr commented 2 years ago

When running install_software.sh, I receive this fatal error:

opc-server.c: In function ‘opc_server_set_error.part.1’:
opc-server.c:211:3: error: invalid use of ‘__builtin_va_arg_pack ()’
   snprintf(
    extra_info_out,
    sizeof(extra_info_out),
    extra_info,
    __builtin_va_arg_pack()
   );
make: *** [Makefile:93: opc-server.o] Error 1

BeagleBone Black Debian 10.3

mx-marcelr commented 2 years ago

As a workaround, commenting out the call to __builtin_va_arg_pack() enables it to compile successfully. I'm assuming this just affects error/debug output in opc_server_set_error().

mx-marcelr commented 2 years ago

Closing as I suspect 10.3 is not supported. I installed Debian 7.11 and everything works as expected.