Build OpenConnect 4.07 on Oracle Solaris 11.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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







[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux