Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdebase-3.2.(1) compile error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
phixom
Apprentice
Apprentice


Joined: 07 Jan 2003
Posts: 224

PostPosted: Fri Mar 12, 2004 6:23 pm    Post subject: kdebase-3.2.(1) compile error Reply with quote

Hallo
ich bin mal wieder einer der vielen, bei denen KDEbase nicht kompilieren will.
der Vorgangn bricht ab mit:
Code:
 
foreign  kcontrol/nics/Makefile
cd ../.. && perl admin/am_edit kcontrol/nics/Makefile.in
cd ../.. && /bin/sh ./config.status kcontrol/nics/Makefile depfiles
fast creating kcontrol/nics/Makefile
config.pl: fast created 1 file(s).
config.status: executing depfiles commands
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.1/work/kdebase-3.2.1/kcontrol/nics'
make[3]: Entering directory `/var/tmp/portage/kdebase-3.2.1/work/kdebase-3.2.1/kcontrol/nics'
/usr/qt/3/bin/moc ./nic.h -o nic.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -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 -D_GNU_SOURCE  -c -o nic.lo `test -f 'nic.cpp' || echo './'`nic.cpp
nic.cpp:50:22: net/if.h: No such file or directory
nic.cpp: In function `NICList* findNICs()':
nic.cpp:144: error: aggregate `ifconf ifc' has incomplete type and cannot be
   defined
nic.cpp:157: error: invalid use of undefined type `struct ifreq'
nic.cpp:146: error: forward declaration of `struct ifreq'
nic.cpp:162: error: invalid use of undefined type `struct ifreq'
nic.cpp:146: error: forward declaration of `struct ifreq'
nic.cpp:165: error: invalid use of undefined type `struct ifreq'
nic.cpp:146: error: forward declaration of `struct ifreq'
nic.cpp:168: error: aggregate `ifreq ifcopy' has incomplete type and cannot be
   defined
nic.cpp:174: error: invalid use of undefined type `struct ifreq'
nic.cpp:146: error: forward declaration of `struct ifreq'
nic.cpp:175: error: `IFF_UP' undeclared (first use this function)
nic.cpp:175: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
nic.cpp:180: error: `IFF_BROADCAST' undeclared (first use this function)
nic.cpp:182: error: `IFF_POINTOPOINT' undeclared (first use this function)
nic.cpp:185: error: `IFF_MULTICAST' undeclared (first use this function)
nic.cpp:188: error: `IFF_LOOPBACK' undeclared (first use this function)
make[3]: *** [nic.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.1/work/kdebase-3.2.1/kcontrol/nics'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.1/work/kdebase-3.2.1/kcontrol'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.1/work/kdebase-3.2.1'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdebase-3.2.1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make


Meine make.conf
Code:

# These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
USE="acl acpi acpi4linux amd apache2 artswrappersuid atm autofs bluetooth \
     cddb cups dga dvd dvdr evo fbcon fbdev ffmpeg fftw flash \
     GAPING_SECURITY_HOLE gatos geoip gimpprint hbci imap ipv6 irmc java \
     javascript krb5 lcap lids lua maildir matroska moznocompose moznoirc \
     moznomail mpeg4 multilib nagios-dns nagios-ntp nagios-ping nagios-ssh \
     nptl odbc operanom2 orathreads pg-vacuumdelay php pic prelude \
     pthreads radeon theora tiff transcode unicode usb vx xchattext xml \
     xosd --cups --java --qt -gtk"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~amd64"

PORTDIR_OVERLAY="/ebuilds/"


Ich verstehe nicht, wieso es Fehler in den Sourcen geben soll. Ich habe sie auch schon neu heruntergeladen. Das Problem tritt bei Version 3.2 UND 3.2.1 auf. Also wird es wohl weniger an den KDE-Sourcen liegen. Die Linux header habe ich auch schon in verschiedenen Varianten probiert. Hat jemand noch eine Idee?
phixom
Back to top
View user's profile Send private message
wolf@zh
n00b
n00b


Joined: 14 Feb 2003
Posts: 72

PostPosted: Fri Mar 12, 2004 7:09 pm    Post subject: Reply with quote

versuchs doch mal mit o2 statt o3...falls das nix bringt, würde ich mal ein paar use-flags streichen, besonders das --qt ist irgendwie komisch...(kde ohne qt geht nicht)
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sat Mar 13, 2004 8:35 am    Post subject: Re: kdebase-3.2.(1) compile error Reply with quote

phixom wrote:

ich bin mal wieder einer der vielen, bei denen KDEbase nicht kompilieren will.

Aber einer der wenigen mit nem AMD 64. ;)
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Sat Mar 13, 2004 9:20 am    Post subject: Reply with quote

Was macht eigentlich das doppel-Minus vor den Use-Flags? Ist das das gleiche wie ein normales Minus, ist es als negiertes Minus wieder ein Plus, oder ist es schlichtweg falsch?
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
phixom
Apprentice
Apprentice


Joined: 07 Jan 2003
Posts: 224

PostPosted: Sat Mar 13, 2004 9:31 am    Post subject: Reply with quote

keine Ahnung, was das Doppelminus soll. Das hat UFED, automatisch erstellt.
Das mit o3/02 hat nix mit dem compilieren zu tun. Wenn eine Datei vermisst wird
Code:

nic.cpp:50:22: net/if.h: No such file or directory

Kann ich auch alle O's weglassen, die Datei kommt trotzdem nicht wieder.
Immerhin hat KDE-base in der Version 3.2 schonmal einen erfolgreichen Compilierversuch hinter sich, also schliesse ich die C(xx)Flags als Ursache aus.
Die Datei muss vermutlich aus einem anderen Paket oder Kernel stammen. Ohne sie gehts halt nicht weiter :( In den KDE-sourcen ist sie nicht drin.
phixom
Back to top
View user's profile Send private message
wolf@zh
n00b
n00b


Joined: 14 Feb 2003
Posts: 72

PostPosted: Sat Mar 13, 2004 11:16 am    Post subject: Reply with quote

gcc hat so seine eigenheiten, ein "file not found" kann tatsächlich ein problem mit den o's sein...aber wie bereits gesagt, wahrscheinlich sind es deine use-flags, schmeiss dort mal die hälfte raus..."nptl" führt laut amd64-tech-notes übrigens zu problemen, flash für amd64 existiert nicht usw....was auch immer deine use-flags gemacht hat, hatte definitv keine ahnung von amd64 :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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