Friday, May 2, 2008 - New servers are in! Click-in for more info!
VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234 ]
Subject: kernel 2.6.24 & rp-pppoe-3.8


Author:
Dema B
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 06:55:40 2008-02-13 Wed
Author Host/IP: 89.19.170.88

I can't build rp-pppoe-3.8 on kernel 2.6.24
because it gets error

x86_64-pc-linux-gnu-gcc '-DRP_VERSION="3.8"' -O2 -march=athlon64 -funroll-all-loops -mfpmath=sse -fpeel-loops -funswitch-loops -funroll-loops -Wall -Wstrict-prototypes -D_GNU_SOURCE '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I../../ppp-2.4.3 -c -o plugin/plugin.o -fPIC plugin.c
In file included from /usr/include/linux/if_pppol2tp.h:19,
from /usr/include/linux/if_pppox.h:26,
from plugin.c:55:
/usr/include/linux/in.h:26: error: redeclaration of enumerator 'IPPROTO_IP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:34: error: previous definition of 'IPPROTO_IP' was here
/usr/include/linux/in.h:27: error: redeclaration of enumerator 'IPPROTO_ICMP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:38: error: previous definition of 'IPPROTO_ICMP' was here
/usr/include/linux/in.h:28: error: redeclaration of enumerator 'IPPROTO_IGMP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:40: error: previous definition of 'IPPROTO_IGMP' was here
/usr/include/linux/in.h:29: error: redeclaration of enumerator 'IPPROTO_IPIP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:42: error: previous definition of 'IPPROTO_IPIP' was here
/usr/include/linux/in.h:30: error: redeclaration of enumerator 'IPPROTO_TCP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:44: error: previous definition of 'IPPROTO_TCP' was here
/usr/include/linux/in.h:31: error: redeclaration of enumerator 'IPPROTO_EGP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:46: error: previous definition of 'IPPROTO_EGP' was here
/usr/include/linux/in.h:32: error: redeclaration of enumerator 'IPPROTO_PUP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:48: error: previous definition of 'IPPROTO_PUP' was here
/usr/include/linux/in.h:33: error: redeclaration of enumerator 'IPPROTO_UDP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:50: error: previous definition of 'IPPROTO_UDP' was here
/usr/include/linux/in.h:34: error: redeclaration of enumerator 'IPPROTO_IDP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:52: error: previous definition of 'IPPROTO_IDP' was here
/usr/include/linux/in.h:36: error: redeclaration of enumerator 'IPPROTO_RSVP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:62: error: previous definition of 'IPPROTO_RSVP' was here
/usr/include/linux/in.h:37: error: redeclaration of enumerator 'IPPROTO_GRE'
/usr/include/gentoo-multilib/amd64/netinet/in.h:64: error: previous definition of 'IPPROTO_GRE' was here
/usr/include/linux/in.h:39: error: redeclaration of enumerator 'IPPROTO_IPV6'
/usr/include/gentoo-multilib/amd64/netinet/in.h:56: error: previous definition of 'IPPROTO_IPV6' was here
/usr/include/linux/in.h:41: error: redeclaration of enumerator 'IPPROTO_ESP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:66: error: previous definition of 'IPPROTO_ESP' was here
/usr/include/linux/in.h:42: error: redeclaration of enumerator 'IPPROTO_AH'
/usr/include/gentoo-multilib/amd64/netinet/in.h:68: error: previous definition of 'IPPROTO_AH' was here
/usr/include/linux/in.h:44: error: redeclaration of enumerator 'IPPROTO_PIM'
/usr/include/gentoo-multilib/amd64/netinet/in.h:80: error: previous definition of 'IPPROTO_PIM' was here
/usr/include/linux/in.h:46: error: redeclaration of enumerator 'IPPROTO_COMP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:82: error: previous definition of 'IPPROTO_COMP' was here
/usr/include/linux/in.h:47: error: redeclaration of enumerator 'IPPROTO_SCTP'
/usr/include/gentoo-multilib/amd64/netinet/in.h:84: error: previous definition of 'IPPROTO_SCTP' was here
/usr/include/linux/in.h:50: error: redeclaration of enumerator 'IPPROTO_RAW'
/usr/include/gentoo-multilib/amd64/netinet/in.h:86: error: previous definition of 'IPPROTO_RAW' was here
/usr/include/linux/in.h:52: error: redeclaration of enumerator 'IPPROTO_MAX'
/usr/include/gentoo-multilib/amd64/netinet/in.h:89: error: previous definition of 'IPPROTO_MAX' was here
/usr/include/linux/in.h:56: error: redefinition of 'struct in_addr'
/usr/include/linux/in.h:116: error: redefinition of 'struct ip_mreq'
/usr/include/linux/in.h:122: error: redefinition of 'struct ip_mreqn'
/usr/include/linux/in.h:128: error: redefinition of 'struct ip_mreq_source'
/usr/include/linux/in.h:134: error: redefinition of 'struct ip_msfilter'
/usr/include/linux/in.h:147: error: redefinition of 'struct group_req'
/usr/include/linux/in.h:153: error: redefinition of 'struct group_source_req'
/usr/include/linux/in.h:160: error: redefinition of 'struct group_filter'
/usr/include/linux/in.h:173: error: redefinition of 'struct in_pktinfo'
/usr/include/linux/in.h:181: error: redefinition of 'struct sockaddr_in'
make: *** [plugin/plugin.o] Error 1
make: *** Waiting for unfinished jobs....

---
Dema
http://bashlov.ru

[ Next Thread | Previous Thread | Next Message | Previous Message ]


VoyUser Login ] Not required to post.
Post a public reply to this message | Go post a new public message
* Notice: Posting problems? [ Click here ]
* HTML allowed in marked fields.
Message subject (required):

Name (required):

  Expression (Optional mood/title along with your name) Examples: (happy, sad, The Joyful, etc.) help)

  E-mail address (optional):

Type your message here:

Choose Message Icon: [ View Emoticons ]

Notice: Copies of your message may remain on this and other systems on internet. Please be respectful.

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.