Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt-3.1.2 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
dexter
n00b
n00b


Joined: 31 Mar 2003
Posts: 33

PostPosted: Tue Oct 14, 2003 7:41 am    Post subject: qt-3.1.2 error Reply with quote

Code:

g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-3.1.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../include -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qdns.o network/qdns.cpp
In file included from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/cwchar:54,
                 from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:45,
                 from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/bits/char_traits.h:46,
                 from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/string:47,
                 from ../include/qstring.h:46,
                 from ../include/qwindowdefs.h:44,
                 from ../include/qobject.h:43,
                 from network/qdns.h:42,
                 from network/qdns.cpp:60:
/usr/include/wchar.h:529: two or more data types in declaration of `wcstol'
In file included from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/cstdlib:52,
                 from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/bits/stl_algobase.h:67,
                 from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/memory:54,
                 from /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include/g++-v3/string:48,
                 from ../include/qstring.h:46,
                 from ../include/qwindowdefs.h:44,
                 from ../include/qobject.h:43,
                 from network/qdns.h:42,
                 from network/qdns.cpp:60:
/usr/include/stdlib.h:316: two or more data types in declaration of `strtol'
make[1]: *** [.obj/release-shared-mt/qdns.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r4/work/qt-x11-free-3.1.2/src'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.1.2-r4 failed.
!!! Function src_compile, Line 112, Exitcode 2
!!! (no error message)


bekomme diesen Error. Kann da wer was mit anfangen ?
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Tue Oct 14, 2003 8:56 am    Post subject: Reply with quote

Hm, wie sehen denn deine CFlags aus?
Vielleicht mal mit nicht so aggressiven Flags versuchen.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
dexter
n00b
n00b


Joined: 31 Mar 2003
Posts: 33

PostPosted: Tue Oct 14, 2003 9:50 am    Post subject: Reply with quote

Code:

CFLAGS="-march=k6-2 -03 -pipe"


das wars
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Tue Oct 14, 2003 10:43 am    Post subject: Reply with quote

moin,
was tut er denn damit?
Code:

#include <stdio.h>

struct foo
{
    int val;
    foo() : val(0) { }
    int printf(const char *fmt, ...) { return 0; }
};

int main (int argc, char *argv[])
{
    return 0;
}

kann mir zwar nicht vorstellen, dass das nicht kompiliert, aber versuchs mal...

compilieren mit: 'g++ -O2'

versuch das mal ;-)
btw:
dein fehler rührt von
Code:

#ifdef __USE_EXTERN_INLINES

her;
das sind inline macros; sowas hatte ich mal so 2001 rum; bin gespannt ;-)
bestimmte gcc 3.x (???) versionen hatten sowas gemacht...
ach ja; versuch mal -02; weiss jetz nicht auswendig, aber kann sein, dass
er dann __USE_EXTERN_INLINES auf #undef setzt;
dann sollte es klappen ;-)
ausserdem: was hast du denn für versionen?
gruss
rootshell
Back to top
View user's profile Send private message
dexter
n00b
n00b


Joined: 31 Mar 2003
Posts: 33

PostPosted: Tue Oct 14, 2003 11:01 am    Post subject: Reply with quote

habe gcc-3.2.3-r1

=9
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Tue Oct 14, 2003 11:06 am    Post subject: Reply with quote

*grins*
und??
kompiliert er det proggie von oben?
gruss
rootshell
Back to top
View user's profile Send private message
dexter
n00b
n00b


Joined: 31 Mar 2003
Posts: 33

PostPosted: Tue Oct 14, 2003 11:06 am    Post subject: Reply with quote

bin gerade dabei. dauert ein bissl. langsame maschine =(
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Tue Oct 14, 2003 11:13 am    Post subject: Reply with quote

du könntest eh als killer-workaround mal
__USE_EXTERN_INLINES
auf
#undef setzen.
so manuell halt ;-)
aber bei deiner architektur ( i586 ) ein qt / kde ??? *staun*
na damit wirst du eh nich' viel freude haben...
muss weg jetz; versuchs mal...

gruss
rootshell
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Tue Oct 14, 2003 11:51 am    Post subject: Reply with quote

hi nochmal,
paste doch mal den letzten kompileraufruf in eine shell und füge zu den kompileroptionen
Code:
-U__USE_EXTERN_INLINES -U__OPTIMIZE__
hinzu.
vielleicht hast du ja glück...
sag mir ob's geht, bitte ;-)

gruss
rootshell
Back to top
View user's profile Send private message
dexter
n00b
n00b


Joined: 31 Mar 2003
Posts: 33

PostPosted: Tue Oct 14, 2003 6:35 pm    Post subject: Reply with quote

jo, nachdem urlaub =)
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