Search squid archive

build error with kernel headers 4.2

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

 



I am getting a bunch of build errors with kernel headers 4.2:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../..
-I../../include -I../../lib -I../../src -I../../include -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -pipe -D_REENTRANT
-m64 -march=native -O2 -pipe -std=c++11 -c Intercept.cc  -fPIC -DPIC -o
.libs/Intercept.o
In file included from /usr/include/linux/netfilter.h:7:0,
                 from /usr/include/linux/netfilter_ipv4.h:8,
                 from Intercept.cc:91:
/usr/include/linux/in.h:28:16: error: redeclaration of ‘IPPROTO_IP’
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
                ^
In file included from ../../src/ip/Address.h:20:0,
                 from ../../src/comm/Connection.h:17,
                 from Intercept.cc:15:
/usr/include/netinet/in.h:42:5: note: previous declaration ‘<anonymous enum> IPPROTO_IP’
    IPPROTO_IP = 0,    /* Dummy protocol for TCP.  */
    ^
In file included from /usr/include/linux/netfilter.h:7:0,
                 from /usr/include/linux/netfilter_ipv4.h:8,
                 from Intercept.cc:91:
/usr/include/linux/in.h:30:18: error: redeclaration of ‘IPPROTO_ICMP’
     IPPROTO_ICMP = 1,  /* Internet Control Message Protocol */
                  ^
In file included from ../../src/ip/Address.h:20:0,
                 from ../../src/comm/Connection.h:17,
                 from Intercept.cc:15:
/usr/include/netinet/in.h:44:5: note: previous declaration ‘<anonymous enum> IPPROTO_ICMP’
     IPPROTO_ICMP = 1,    /* Internet Control Message Protocol.  */
     ^
[...]

and so on.  Known problem?

-- 
Eray
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux