Skip to content

Compile of opc-server.c fails on Debian 10.3 on BBB #69

@pscheie

Description

@pscheie

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions