On Wed, Feb 11, 2004 at 07:36:58PM +0100, Marcin Winkler wrote: > g++ -c -pipe -Wall -W -O2 -march=i686 -D_REENTRANT -DQT_DLL > -DHAVE_MYSQLCC_CONFIG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > -I/usr/share/qt/mkspecs/linux-g++ -I. -Iinclude -Ishared/include > -Iinclude/CSqlEditor -I/usr/include/mysql -I/usr/include/qt > -I/usr/X11R6/include -Imoc/ -o tmp/globals.o src/globals.cpp g++ -c > -pipe -Wall -W -O2 -march=i686 -D_REENTRANT -DQT_DLL > -DHAVE_MYSQLCC_CONFIG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > -I/usr/share/qt/mkspecs/linux-g++ -I. -Iinclude -Ishared/include > -Iinclude/CSqlEditor -I/usr/include/mysql -I/usr/include/qt > -I/usr/X11R6/include -Imoc/ -o tmp/main.o src/main.cpp In file included > from /usr/include/linux/config.h:1, from > /usr/include/mysql/my_global.h:271, from > src/main.cpp:19:/usr/include/linux/err_kernel_only.h:1:2: #error Kernel > only header included in userspace make: *** [tmp/main.o] Błąd 1 > błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.80073 (%build) > > linux-libc-headers-2.6.1.3-1 > > Ktoś moze poradzic co z tym zrobic ? Prawie caly program sie > skompilowal : mysqlcc.spec z HEAD
mysql zwalony. Czy kogoś powaliło? Sprawdza CONFIG_SMP w <linux/config.h> - żeby skompilowany na UP nie działał dobrze na SMP? Do tego <asm/atomic.h> - ten kod może wymagać uruchamiania w przestrzeni jądra, może nie działać w userspace. Eh... -- Jakub Bogusz http://cyber.cs.net.pl/~qboosh/ __________________________________________________________ nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles
