Skip to content
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

Compiling Issue #66

Open
fpoltronieri opened this issue Oct 27, 2023 · 0 comments
Open

Compiling Issue #66

fpoltronieri opened this issue Oct 27, 2023 · 0 comments

Comments

@fpoltronieri
Copy link

Hi everyone,

When compiling on my x86_64 Arch Linux laptop (Kernel 6.5.8-arch1-1) I have the following error:

/home/filippo/code/mininet-wifi-compiled/OONF/src/librfc5444/rfc5444_reader.c:134:1: error: conflicting types for ‘rfc5444_reader_handle_packet’ due to enum/integer mismatch; have ‘enum rfc5444_result(struct rfc5444_reader *, const uint8_t *, size_t)’ {aka ‘enum rfc5444_result(struct rfc5444_reader *, const unsigned char *, long unsigned int)’} [-Werror=enum-int-mismatch] 134 | rfc5444_reader_handle_packet(struct rfc5444_reader *parser, const uint8_t *buffer, size_t length) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

I am using GCC 13.2.1.

Does anyone have any hints on how to solve this compilation error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant