Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102523 - kppp-3.4.2, use of enum `NPmode' without previous declaration
Summary: kppp-3.4.2, use of enum `NPmode' without previous declaration
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-14 11:44 UTC by Toby Dickenson
Modified: 2005-08-14 11:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Dickenson 2005-08-14 11:44:32 UTC
kppp-3.4.2 fails to compile with linux-headers-2.6.8.1-r2. error message 
below. fixed by upgrading to latest stable linux-headers, 2.6.11-r2.  
 
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_B 
ITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscript 
s -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 
-march=i586 -mcpu=athlon-xp -O2 -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 utils.o `test -f 'utils.cpp' || echo './'`utils.cpp 
/usr/qt/3/bin/moc ./providerdb.h -o providerdb.moc 
/usr/qt/3/bin/moc ./modems.h -o modems.moc 
/usr/kde/3.4/bin/dcopidl ./KPPPIface.h > KPPPIface.kidl || ( rm -f 
KPPPIface.kidl ; false ) 
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_B 
ITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscript 
s -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 
-march=i586 -mcpu=athlon-xp -O2 -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 kpppwidget.o `test -f 'kpppwidget.cpp' || echo 
'./'`kpppwidget.cpp 
In file included from opener.cpp:72: 
/usr/include/linux/if_ppp.h:90: error: use of enum `NPmode' without previous 
   declaration 
/usr/include/linux/if_ppp.h:95: error: syntax error before `*' token 
/usr/include/linux/if_ppp.h:96: error: '__u32' is used as a type, but is not 
   defined as a type. 
/usr/include/linux/if_ppp.h:101: error: field `b' has incomplete type 
/usr/include/linux/if_ppp.h:102: error: field `stats' has incomplete type 
/usr/include/linux/if_ppp.h:106: error: field `b' has incomplete type 
/usr/include/linux/if_ppp.h:107: error: field `stats' has incomplete type 
opener.cpp: In function `int checkForInterface()': 
opener.cpp:659: error: aggregate `ifreq ifr' has incomplete type and cannot be 
   defined 
make[3]: *** [opener.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory `/tmp/portage/kppp-3.4.2/work/kppp-3.4.2/kppp' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/tmp/portage/kppp-3.4.2/work/kppp-3.4.2/kppp' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/tmp/portage/kppp-3.4.2/work/kppp-3.4.2' 
make: *** [all] Error 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-14 11:53:49 UTC
(In reply to comment #0)
> kppp-3.4.2 fails to compile with linux-headers-2.6.8.1-r2. error message 
> below. fixed by upgrading to latest stable linux-headers, 2.6.11-r2.  

So, what's your problem then? :)