Bug 292001

Summary: Kernel mode in rp-pppoe plugin.
Product: [Fedora] Fedora Reporter: Sergey Skripchuk <kuzmich>
Component: rp-pppoeAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 8CC: virus
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-11 15:08:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sergey Skripchuk 2007-09-15 10:54:08 UTC
Description of problem:

It is a error in compiling rp-pppoe with plugin rp-pppoe.so in kernel mode.

In config.log:

configure:5622: checking for Linux 2.4.X kernel-mode PPPoE support
configure:5657: gcc -o conftest -g -O2   conftest.c  >&5
In file included from /usr/include/linux/if_pppox.h:23,
                 from conftest.c:57:
/usr/include/linux/if_pppol2tp.h:31: error: field 'addr' has incomplete type

How reproducible:
in src directory of rp-pppoe sources
./configure --enable-plugin=/usr/src/build/ppp-2.4.4

All sources from RPMS.


I'm sorry for my english.

Comment 1 QVirus 2008-11-11 13:01:32 UTC
--- configure.orig      2006-04-02 18:29:42.000000000 +0400
+++ configure   2008-11-11 16:00:08.000000000 +0300
@@ -5646,6 +5646,7 @@
 #include <sys/socket.h>
 #include <net/ethernet.h>
 #include <linux/if.h>
+#include <linux/in.h>
 #include <linux/if_pppox.h>
 int main()
 {

Comment 2 Than Ngo 2008-11-11 15:08:46 UTC
it's fixed in 3.10. thanks

Comment 3 QVirus 2008-11-12 06:22:35 UTC
Please look https://bugzilla.redhat.com/show_bug.cgi?id=471099