-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile of opc-server.c fails on Debian 10.3 on BBB #69
Comments
having the same issue currently, anyone figured out a workaround to this issue? |
For whatever reason setting the compiler optimization from -O2 --> -O1 suppresses the error... but you'll still have linker errors in the end. also.. (while still using -O2)
allows to compile.. but I'm still getting a segmentation fault.. |
FWIW ThrowingBagels works out of the box.. only caveat is new packet format. |
Ok.. so for the segmentation faults check out here: https://github.com/steely-glint/starway/blob/novparkreno/bbbuildnotes.txt Specifically the recommendations as follows:
|
Geocene has a working version in 4.19: https://github.com/Geocene/LEDscape |
I've got a Beaglebone Black running Debian 10.3. When I run 'make' to build the opc-server, it's failing thusly:
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()
~~~~~~~~~~~~~~~~~~~~~~~
);
I'm running the stock kernel 4.19.94. GCC is version 8.3.0-6.
There are also a bunch of warnings beforehand. Any suggestions on how to fix this?
The text was updated successfully, but these errors were encountered: