View previous topic :: View next topic |
Author |
Message |
dexter n00b
Joined: 31 Mar 2003 Posts: 33
|
Posted: Tue Oct 14, 2003 7:41 am Post subject: qt-3.1.2 error |
|
|
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 |
|
|
ralph Advocate
Joined: 02 Mar 2003 Posts: 2001 Location: Hamburg
|
Posted: Tue Oct 14, 2003 8:56 am Post subject: |
|
|
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 |
|
|
dexter n00b
Joined: 31 Mar 2003 Posts: 33
|
Posted: Tue Oct 14, 2003 9:50 am Post subject: |
|
|
Code: |
CFLAGS="-march=k6-2 -03 -pipe"
|
das wars |
|
Back to top |
|
|
ruth Retired Dev
Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Tue Oct 14, 2003 10:43 am Post subject: |
|
|
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 |
|
|
dexter n00b
Joined: 31 Mar 2003 Posts: 33
|
Posted: Tue Oct 14, 2003 11:01 am Post subject: |
|
|
habe gcc-3.2.3-r1
=9 |
|
Back to top |
|
|
ruth Retired Dev
Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Tue Oct 14, 2003 11:06 am Post subject: |
|
|
*grins*
und??
kompiliert er det proggie von oben?
gruss
rootshell |
|
Back to top |
|
|
dexter n00b
Joined: 31 Mar 2003 Posts: 33
|
Posted: Tue Oct 14, 2003 11:06 am Post subject: |
|
|
bin gerade dabei. dauert ein bissl. langsame maschine =( |
|
Back to top |
|
|
ruth Retired Dev
Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Tue Oct 14, 2003 11:13 am Post subject: |
|
|
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 |
|
|
ruth Retired Dev
Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Tue Oct 14, 2003 11:51 am Post subject: |
|
|
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 |
|
|
dexter n00b
Joined: 31 Mar 2003 Posts: 33
|
Posted: Tue Oct 14, 2003 6:35 pm Post subject: |
|
|
jo, nachdem urlaub =) |
|
Back to top |
|
|
|