Hi,
I've been having problems with compilation for a few months with Cooker. I hope it were solved with MDK 9, but after fresh installing the problems are the same and even more. Firstly it was a problem with gcc-c++. When I tried to compile soft in C++ (for example KDE soft like kopete) I always got a segmentation fault from g++ like this: ----- g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./../../../libkopete -I./../../../libkopete/ui -I./.. -I./../libkirc -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -c -o ircprefs.lo `test -f ircprefs.cpp || echo './'`ircprefs.cpp ircprefs.cpp: In constructor `ircPrefsUI::ircPrefsUI(QWidget*, const char*, unsigned int)': ircprefs.cpp:301: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:https://qa.mandrakesoft.com/> for instructions. make[5]: *** [ircprefs.lo] Error 1 make[5]: Saliendo directorio `/usr/src/RPM/BUILD/kopete-0.4.1/kopete/protocols/irc/ui' make[4]: *** [all-recursive] Error 1 make[4]: Saliendo directorio `/usr/src/RPM/BUILD/kopete-0.4.1/kopete/protocols/irc' make[3]: *** [all-recursive] Error 1 make[3]: Saliendo directorio `/usr/src/RPM/BUILD/kopete-0.4.1/kopete/protocols' make[2]: *** [all-recursive] Error 1 make[2]: Saliendo directorio `/usr/src/RPM/BUILD/kopete-0.4.1/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Saliendo directorio `/usr/src/RPM/BUILD/kopete-0.4.1' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.72019 (%build) ----- When I got this I tried again to continue with make, and it worked for a while, stopping in a new fail. When I compile manually this is not a serious problem (althoug it's annoying), but when I try to make a binary RPM this is an imposible obstacle... Now the problem is not only with C++ source, I got the following error when trying to compile WineX (C code): ------ gcc -c -I. -I. -I../../include -I../../include -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -mcpu=i686 -march=i686 -O2 -DNDEBUG -fomit-frame-pointer -Wall -mpreferred-stack-boundary=2 -D__WINE__ -DNO_DEBUG_MSGS -DNO_TRACE_MSGS -D_REENTRANT -o reader.o reader.c In file included from reader.c:70: ansi_gen.h:15: Internal compiler error in layout_decl, at stor-layout.c:346 Please submit a full bug report, with preprocessed source if appropriate. See <URL:https://qa.mandrakesoft.com/> for instructions. make[2]: *** [reader.o] Error 1 make[2]: Saliendo directorio `/usr/src/RPM/BUILD/wine/dlls/richedit' make[1]: *** [richedit/libriched32.so] Error 2 make[1]: Saliendo directorio `/usr/src/RPM/BUILD/wine/dlls' make: *** [dlls] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.45733 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.45733 (%build) ------ If now I try to follow the compilation manually I don't get the same error, and get it in a different moment... But I wanna make a binary RPM to instale WineX (from sources for personal use) as a RPM package. The src.rpm I have adapted is in http://asinkecualo.org/pub/winex-2.2-1asnk.src. I think there's not any problem with the spec nor the sources. Thanks a lot if someone can help me. P.S.: I make RPMs for contributing with MandrakeClub and Contrib RPMs, but with this problem I cannot make binary RPMs to test. My system is 9.0 now so, I have: gcc-3.2-1mdk gcc-c++-3.2-1mdk libgcc1-3.2-1mdk gcc-cpp-3.2-1mdk And all the necesary devel packages (this is not the problem, I think) -- F�lix Martos Trenado http://asinkecualo.org
