ocserv 0.9.0 make error

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

 



wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.9.0.tar.xz
  tar xvf ocserv-0.9.0.tar.xz
  cd ocserv-0.9.0

./configure --prefix=/usr --sysconfdir=/etc --enable-linux-namespaces

main.c: In function ?listen_ports?:
main.c:276:11: warning: unused variable ?fds? [-Wunused-variable]
  int ret, fds;
           ^
main.c: In function ?main?:
main.c:1025:8: warning: ignoring return value of ?chdir?, declared
with attribute warn_unused_result [-Wunused-result]
   chdir(s->config->chroot_dir);
        ^
  CC       main-auth.o
  CC       worker-vpn.o
  CC       worker-auth.o
  CC       tlslib.o
  CC       cookies.o
  CC       main-misc.o
  CC       ip-lease.o
  CC       log.o
  CC       tun.o
  CC       config.o
  CC       worker-resume.o
  CC       main-resume.o
  CC       worker-extras.o
  CC       html.o
  CC       worker-http.o
worker-http.c:453:24: fatal error: http-heads.h: No such file or directory
 #include "http-heads.h"
                        ^
compilation terminated.
make[4]: *** [worker-http.o] Error 1
make[4]: Leaving directory `/root/ocserv-0.9.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/ocserv-0.9.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ocserv-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ocserv-0.9.0'
make: *** [all] Error 2



btw,I try to enable lz4 compression,but failed.I'm now using ubuntu
14.10,i installed lz4 bt apt-get install liblz4-1 liblz4-1-dbg
liblz4-dev liblz4-tool

but I got this, any suggestion?

checking for LIBLZ4... no
configure: WARNING:
***
*** lz4 not found. Will disable compression support.
***



[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