Bug 292001 - Kernel mode in rp-pppoe plugin.
Summary: Kernel mode in rp-pppoe plugin.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rp-pppoe
Version: 8
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-15 10:54 UTC by Sergey Skripchuk
Modified: 2008-11-12 06:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-11 15:08:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.