[vpn-help] 2.2 Alpha 11 Compilation Problem
Emre Erenoglu
erenoglu at gmail.com
Tue Jan 11 16:06:09 CST 2011
Hi,
I was trying to make 2.1.7 work on my linux system with the Windows works
but Linux not thread, so I decided to give a try to the 2.2 Alpha 11.
Unfortunately, I met an obstacle:
[ 32%] Building CXX object source/libpfk/CMakeFiles/ss_pfk.dir/libpfk.o
/tmp/ike/source/libpfk/libpfk.cpp: In member function 'const char*
_PFKI::name(long int, long int)':
/tmp/ike/source/libpfk/libpfk.cpp:406: error: 'SADB_X_AALG_SHA2_256' was not
declared in this scope
/tmp/ike/source/libpfk/libpfk.cpp:409: error: 'SADB_X_AALG_SHA2_384' was not
declared in this scope
/tmp/ike/source/libpfk/libpfk.cpp:412: error: 'SADB_X_AALG_SHA2_512' was not
declared in this scope
*** 3 errors, 0 warnings
make[2]: *** [source/libpfk/CMakeFiles/ss_pfk.dir/libpfk.o] Error 1
make[1]: *** [source/libpfk/CMakeFiles/ss_pfk.dir/all] Error 2
make: *** [all] Error 2
Again, 2.1.7 built fine in this system, so I assume there might be an issue.
In this system, we build packages with the following flags, but I'm not sure
if it applies also to self compiled applications, I didn't find these
environment variables on the shell I'm compiling shrew vpn:
cflags = -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -g3 -ggdb
cxxflags = -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer
-fstack-protector -D_FORTIFY_SOURCE=2 -g3 -ggdb
ldflags = -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed
-Wl,--sort-common
--
Emre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20110112/6d00c8b5/attachment-0001.html>
More information about the vpn-help
mailing list