Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104845

Summary: linux-headers bugfix for kdenetowrk/kppp
Product: Gentoo Linux Reporter: Jeremy Huddleston (RETIRED) <eradicator>
Component: [OLD] Core systemAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED FIXED    
Severity: normal Keywords: Inclusion
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: if_ppp.h.patch

Description Jeremy Huddleston (RETIRED) gentoo-dev 2005-09-04 15:55:46 UTC
Hey plasmaroo, where are you maintaining the userland linux-headers patches now?

sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include
-I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT
-D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2
-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION  -c -o opener.o `test -f 'opener.cpp' || echo './'`opener.cpp
In file included from opener.cpp:72:
/usr/include/linux/if_ppp.h:91: error: use of enum `NPmode' without previous
declaration
/usr/include/linux/if_ppp.h:102: error: field `b' has incomplete type
/usr/include/linux/if_ppp.h:103: error: field `stats' has incomplete type
/usr/include/linux/if_ppp.h:107: error: field `b' has incomplete type
/usr/include/linux/if_ppp.h:108: error: field `stats' has incomplete type
opener.cpp: In member function `int Opener::sendFD(int, ResponseHeader*)':
opener.cpp:360: warning: cast from `unsigned char*' to `int*' increases required
alignment of target type
opener.cpp: In function `int checkForInterface()':
opener.cpp:659: error: aggregate `ifreq ifr' has incomplete type and cannot be
defined
make[1]: *** [opener.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdenetwork-3.4.2/work/kdenetwork-3.4.2/kppp'
make: *** [all-recursive] Error 1
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-09-04 15:57:28 UTC
Created attachment 67658 [details, diff]
if_ppp.h.patch
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-11-18 15:47:48 UTC
Fixed in 2.6.11-r3, thanks!