Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem when compiling KDEnetwork 3.4.3 on a mac mini :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
spinner
n00b
n00b


Joined: 30 Sep 2005
Posts: 46

PostPosted: Wed Nov 02, 2005 4:08 pm    Post subject: Problem when compiling KDEnetwork 3.4.3 on a mac mini :( Reply with quote

Code:
/usr/qt/3/bin/moc ./miniterm.h -o miniterm.moc
/usr/qt/3/bin/moc ./accounting.h -o accounting.moc
/usr/qt/3/bin/moc ./acctselect.h -o acctselect.moc
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
ruleset.o `test -f 'ruleset.cpp' || echo './'`ruleset.cpp
/usr/qt/3/bin/moc ./docking.h -o docking.moc
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
runtests.o `test -f 'runtests.cpp' || echo './'`runtests.cpp
/usr/qt/3/bin/moc ./loginterm.h -o loginterm.moc
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
ppplog.o `test -f 'ppplog.cpp' || echo './'`ppplog.cpp
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
newwidget.o `test -f 'newwidget.cpp' || echo './'`newwidget.cpp
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
requester.o `test -f 'requester.cpp' || echo './'`requester.cpp
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
/usr/qt/3/bin/moc ./modemdb.h -o modemdb.moc
powerpc-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  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=powerpc -pipe
-maltivec -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-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
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: expected `;' before '*' token
/usr/include/linux/if_ppp.h:96: error: `__u32' does not name 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
/usr/qt/3/bin/moc ./providerdb.h -o providerdb.moc
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
`/var/tmp/portage/kdenetwork-3.4.3/work/kdenetwork-3.4.3/kppp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdenetwork-3.4.3/work/kdenetwork-3.4.3/kppp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdenetwork-3.4.3/work/kdenetwork-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdenetwork-3.4.3 failed.
!!! Function kde_src_compile, Line 168, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status
message.




I can compile everything before kdenetwork-3.4.3 but I get the above error.
I don't want to use PPP with my mac mini and so for that I don't want to build kppp.
Should I edit the ebuild and change the flags ?
Something like "-kppp" or "-ppp" or whatever is correct ?
It seem though that there is a problem with kernel headers.
I run kernel 2.6.14 custom and gentoo headers.



Below there is an emerge -pv kde


Code:
These are the packages that I would merge, in order:

Calculating dependencies  .. ...done!
[ebuild  N    ] kde-base/kdenetwork-3.4.3  -arts -debug -kdeenablefinal -rdesktop -slp +ssl -wifi -xinerama +xmms 0 kB
[ebuild  N    ] x11-libs/openmotif-2.2.3-r7  0 kB
[ebuild  N    ] media-libs/t1lib-5.0.2  +X -doc 0 kB
[ebuild  N    ] app-text/xpdf-3.01-r1  +X +motif 0 kB
[ebuild  N    ] dev-libs/fribidi-0.10.5  0 kB
[ebuild  N    ] kde-base/kdegraphics-3.4.3  -arts -debug -gphoto2 -imlib -kdeenablefinal -nodrm -openexr +opengl -povray -scanner -tetex -xinerama 0 kB
[ebuild  N    ] kde-base/kdetoys-3.4.3  -arts -debug -kdeenablefinal -xinerama 0 kB
[ebuild  N    ] kde-base/kdeutils-3.4.3-r1  -arts +crypt -debug -kdeenablefinal -pbbuttonsd -snmp -xinerama 0 kB
[ebuild  N    ] kde-base/kdewebdev-3.4.3  -arts -debug -doc -kdeenablefinal -tidy -xinerama 0 kB
[ebuild  N    ] kde-base/kdeadmin-3.4.3  -arts -debug -kdeenablefinal -xinerama 0 kB
[ebuild  N    ] sci-libs/fftw-3.0.1-r2  (-3dnow) -altivec -mpi (-sse) (-sse2) 0 kB
[ebuild  N    ] media-libs/libsamplerate-0.1.2  -sndfile -static 0 kB
[ebuild  N    ] media-libs/taglib-1.4  -debug 0 kB
[ebuild  N    ] media-libs/libmad-0.15.1b  -debug 0 kB
[ebuild  N    ] dev-libs/liboil-0.3.3  0 kB
[ebuild     U ] media-libs/gstreamer-0.8.11 [0.8.9-r3] -debug -doc 0 kB
[ebuild     U ] media-libs/gst-plugins-0.8.11 [0.8.8-r2] +alsa -debug +esd -oss 0 kB
[ebuild     U ] media-plugins/gst-plugins-alsa-0.8.11 [0.8.8] 0 kB
[ebuild     U ] media-plugins/gst-plugins-esd-0.8.11 [0.8.8] 0 kB
[ebuild  N    ] media-libs/libid3tag-0.15.1b  -debug 0 kB
[ebuild  N    ] media-plugins/gst-plugins-mad-0.8.11  0 kB
[ebuild  N    ] kde-base/kdemultimedia-3.4.3  +alsa -arts -audiofile -debug -encode -flac +gstreamer -jack -kdeenablefinal +mp3 -musicbrainz -speex -theora +vorbis -xine -xinerama 0 kB
[ebuild  N    ] kde-base/kdeaddons-3.4.3  -arts +berkdb -debug -kdeenablefinal -sdl -xinerama +xmms 0 kB
[ebuild  N    ] kde-base/kdeedu-3.4.3-r10  -arts -debug -kdeenablefinal -kig-scripting -xinerama 0 kB
[ebuild  N    ] kde-base/kde-3.4.3  -accessibility 0 kB

Total size of downloads: 0 kB


I believe that the developers should check also my compiling error log :)
----->> Any ideas ?
Back to top
View user's profile Send private message
spinner
n00b
n00b


Joined: 30 Sep 2005
Posts: 46

PostPosted: Thu Nov 03, 2005 4:41 pm    Post subject: Reply with quote

I used 2.4.31 which I copied myself after I unistalled the 2.6.8 headers that were installed.
Everything compiled great.

I have glibc 2.4.x

Are you developers sure that you supply the correct headers by giving us 2.6.x headers ??

2.4.x headers are a better and more stable choice for now.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Nov 03, 2005 4:52 pm    Post subject: Reply with quote

kdenetwork-3.4.3 compiles fine on my stable ppc system. The stable linux headers for PPC are 2.6.11-r2, not 2.6.8, please upgrade. The 2.4 headers are not suggested on ppc and may have other issues since we don't test with them any longer.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
spinner
n00b
n00b


Joined: 30 Sep 2005
Posts: 46

PostPosted: Fri Nov 04, 2005 4:32 pm    Post subject: Reply with quote

JoseJX wrote:
kdenetwork-3.4.3 compiles fine on my stable ppc system. The stable linux headers for PPC are 2.6.11-r2, not 2.6.8, please upgrade. The 2.4 headers are not suggested on ppc and may have other issues since we don't test with them any longer.


I have no problem to upgrade but I use latest portage and it did not put in dependencies linux-headers 2.6.11-r2.
As far as I am concerned linux-headers have a connection with glibc.
You use the same headers as the ones that you used when compiling glibc.

I have a binary package of glibc and don't know the headers that it was compiled against to.
It the binary packages of glibc that comes with the -current iso ppc images.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 04, 2005 5:00 pm    Post subject: Reply with quote

http://packages.gentoo.org/ebuilds/?linux-headers-2.6.11-r2

As you can see, the latest linux headers are indeed 2.6.11-r2. If you're using only binary packages, you're probably stuck at 2.6.8, the binary packages are only updated during each release. I recommend that you sync your portage tree and update the entire system, a newer glibc itself has been stablized since 2005.1 was released.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
spinner
n00b
n00b


Joined: 30 Sep 2005
Posts: 46

PostPosted: Wed Nov 09, 2005 4:19 pm    Post subject: Reply with quote

JoseJX wrote:
http://packages.gentoo.org/ebuilds/?linux-headers-2.6.11-r2

As you can see, the latest linux headers are indeed 2.6.11-r2. If you're using only binary packages, you're probably stuck at 2.6.8, the binary packages are only updated during each release. I recommend that you sync your portage tree and update the entire system, a newer glibc itself has been stablized since 2005.1 was released.


I have upgraded to 2.6.11-r2 headers and recompiled glibc.

Today I had problems with kernel headers when compiling DirectFB.

Why don't you use 2.4.31 headers ?
They are pretty stable on both x86 and ppc since 2.6.x is still under development.
The interface the 2.4.31 headers provide is fine.

I am just wondering for the reasons and there is no irony in it, so don't think I am here for a flame 8) 8)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Nov 10, 2005 12:54 am    Post subject: Reply with quote

There is really no need for DirectFB. It's an X replacement.

We don't use the 2.4 headers because they're not compatible with NPTL. We will probably be transitioning to NPTL as our default glibc configuration for the next Gentoo release. Almost all of the Gentoo profiles use 2.6 headers, PPC is hardly unique in this area.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
spinner
n00b
n00b


Joined: 30 Sep 2005
Posts: 46

PostPosted: Fri Nov 11, 2005 4:53 pm    Post subject: Reply with quote

JoseJX wrote:
There is really no need for DirectFB. It's an X replacement.

We don't use the 2.4 headers because they're not compatible with NPTL. We will probably be transitioning to NPTL as our default glibc configuration for the next Gentoo release. Almost all of the Gentoo profiles use 2.6 headers, PPC is hardly unique in this area.


oops! I hadn't thought of that.
Thanks again for all the information dude :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum