Build OpenConnect 4.07 on Oracle Solaris 11.1
Frederic Geerdink
ansjovis at xs4all.nl
Sun Nov 4 15:37:15 EST 2012
Hi,
I fixed the link problem on Oracle Solaris 11.1
1. Run ./configure --disable-nls
2. Replace the libtool script with /usr/apr/1.3/build/libtool
3. Create and run the following script with (I added -lsocket and -lnsl):
./libtool --tag=CC --mode=link gcc -I/usr/include/libxml2
-I/usr/include/li
bproxy -g -O2 -Wall -Wextra -Wno-missing-field-initializers
-Wno-sign-compare
-Wno-unused-parameter -Werror=pointer-to-int-cast
-Wdeclaration-after-statement
-Werror-implicit-function-declaration -Wformat-nonliteral
-Wformat-security -Wi
nit-self -Wmissing-declarations -Wmissing-include-dirs -Wnested-externs
-Wpointe
r-arith -Wwrite-strings -o openconnect openconnect-xml.o
openconnect-main.o o
penconnect-dtls.o openconnect-cstp.o openconnect-mainloop.o
openconnect-tun.o
libopenconnect.la -lssl -lcrypto -lxml2 -lproxy -lz -lsocket -lnsl
4. make install
More information about the openconnect-devel
mailing list