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

/usr/include/linux/rtnetlink.h:487: error: expected specifier-qualifier-list before '__u64' #9

Closed
ledav-net opened this issue Apr 25, 2018 · 1 comment

Comments

@ledav-net
Copy link

Hi,

I've an issue trying to compile the official release "openvpn v2.4.6":

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -I/usr/kerberos/include -DPLUGIN_LIBDIR="/usr/local/lib/openvpn/plugins" -Wall -Wno-unused-parameter -Wno-unused-function -g -O2 -std=c99 -MT route.o -MD -MP -MF .deps/route.Tpo -c -o route.o route.c
In file included from route.c:48:
/usr/include/linux/rtnetlink.h:487: error: expected specifier-qualifier-list before '__u64'
/usr/include/linux/rtnetlink.h:656: error: expected specifier-qualifier-list before '__u64'
make[3]: *** [route.o] Error 1

It can be fixed by removing the "-std=c99" parameter... However, there is certainly a better way to do that... Maybe there is already a patch to fix this ?

I'm running a CentOS 5 with the latest updates.

Thanks in advance for your help & return.

Regards,
David.

@schwabe
Copy link
Owner

schwabe commented Jan 3, 2019

This is the wrong repo for this kind of reports

@schwabe schwabe closed this as completed Jan 3, 2019
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

2 participants