Opened 7 years ago
Last modified 4 years ago
#853 accepted Bug / Defect
AIX: down-root: fatal error: err.h: No such file or directory
Reported by: | eppesuigvpn | Owned by: | Gert Döring |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | plug-ins / plug-in API | Version: | OpenVPN git master branch (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | AIX |
Cc: |
Description
Compiling source on AIX 7.1 stop with this error message. What is this err.h? I only found the one from openssl, available at /opt/freeware/include/openssl/err.h, but I think this is a different file.
[...] Making all in down-root make[4]: Entering directory '/nfs/openvpn/src/plugins/down-root' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/opt/freeware/include -g -O2 -std=c99 -MT down-root.lo -MD -MP -MF .deps/down-root.Tpo -c -o down-root.lo down-root.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/opt/freeware/include -g -O2 -std=c99 -MT down-root.lo -MD -MP -MF .deps/down-root.Tpo -c down-root.c -fPIC -DPIC -o .libs/down-root.o down-root.c:45:17: fatal error: err.h: No such file or directory #include <err.h> ^ compilation terminated. Makefile:514: recipe for target 'down-root.lo' failed make[4]: *** [down-root.lo] Error 1
Thank you,
Giuseppe
Change History (6)
comment:1 Changed 7 years ago by
Owner: | set to Gert Döring |
---|---|
Status: | new → accepted |
Summary: | down-root: fatal error: err.h: No such file or directory → AIX: down-root: fatal error: err.h: No such file or directory |
comment:2 follow-up: 3 Changed 7 years ago by
Thank you, cron2. Disabling plug-ins I managed to compile the software. I'll test it tomorrow.
Bye,
Giuseppe
comment:3 Changed 7 years ago by
Replying to eppesuigvpn:
I'll test it tomorrow.
Note that AIX does not have tun interfaces, so you need to use tap mode.
Not a problem when doing AIX<->AIX or AIX<->Linux/Windows?/etc., but using AIX as an OpenVPN server for Android or iOS will not work (as *those* only do tun, no tap)
comment:4 follow-up: 5 Changed 6 years ago by
@cron2 should we automatically disable plugins at configure time for AIX? or just with --disable-plugin-down-root?
Or do you think this is something that can/should be fixed?
comment:5 Changed 6 years ago by
Replying to Antonio:
Or do you think this is something that can/should be fixed?
This is something that can & should be fixed :-)
gert
comment:6 Changed 4 years ago by
Component: | Generic / unclassified → plug-ins / plug-in API |
---|---|
Keywords: | AIX added |
Priority: | major → minor |
plugin support on AIX is currently broken - apologies. We call some functions that AIX does not have, and have no compat functions yet (plus, the dynamic linking is a bit weird and I had no time to really go fix it).
please configure with
configure --disable-plugins
for now