Hi,

for whatever reason my local FreeBSD build system never did cmocka
tests - now it does, and fails

cc -DHAVE_CONFIG_H -I. -I../../../../openvpn/tests/unit_tests/openvpn 
-I../../.. -I../../../include    -I../../../../openvpn/include 
-I/home/gert/src/openvpn-maint/test-build-master-fbsd/vendor/dist/include 
-I../../../../openvpn/src/openvpn -I../../../../openvpn/src/compat -Wall 
-Wno-unused-parameter -Wno-unused-function -g -O2 -std=c99 -MT 
argv_testdriver-argv.o -MD -MP -MF .deps/argv_testdriver-argv.Tpo -c -o 
argv_testdriver-argv.o `test -f '../../../../openvpn/src/openvpn/argv.c' || 
echo 
'../../../../openvpn/tests/unit_tests/openvpn/'`../../../../openvpn/src/openvpn/argv.c
In file included from ../../../../openvpn/src/openvpn/argv.c:41:
In file included from ../../../../openvpn/src/openvpn/options.h:41:
In file included from ../../../../openvpn/src/openvpn/comp.h:122:
../../../../openvpn/src/openvpn/lzo.h:42:10: fatal error: 'lzo/lzoutil.h' file 
not found
#include <lzo/lzoutil.h>


on FreeBSD, this is in -I/usr/local/include, which is properly configured
(so OpenVPN builds nicely) and these include flags do not make it over
to the cmocka builds.

So, whoever understands this stuff :-) - it would be nice to see a patch
here.

Reproduction should be fairly easy - put lzo into a user-installed path,
remove it from the system, and build openvpn including cmocka...

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to