2005 07 12 CVS Snapshot compilation error

Jacek Luczak difrost at pin.if.uz.zgora.pl
Tue Jul 12 14:50:47 PDT 2005


Hi all

I received this error during latest CVS snapshot compilation:

rm -f fbmmx.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing
-march=pentium4 -pipe -ansi -Wall -Wpointer-arith
-Wstrict-prototypes 			  -Wmissing-prototypes -Wmissing-declarations 		
   -Wredundant-decls -Wnested-externs -Wundef  -fPIC
-I../../../programs/Xserver/fb -I../../../programs/Xserver/mi
-I../../../programs/Xserver/include 	
-I../../../exports/include/X11 	      -I../../../include/fonts
-I../../../programs/Xserver/hw/xfree86/common  	
-I../../../programs/Xserver/render -I../../../include/extensions
-I../../../programs/Xserver/Xext  -I../../.. -I../../../exports/include
   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE
-D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE
          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				
-D_GNU_SOURCE 				 -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP
-DXCSECURITY -DTOGCUP  	-DXF86BIGFONT -DDPMSExtension 	 -DPANORAMIX 	
-DRENDER -DRANDR 	-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE 	 -DGCCUSESGAS
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA
-DXvExtension 				-DXFree86LOADER -DDLOPEN_HACK -DXFree86Server 			
-DXF86VIDMODE 				-DXvMCExtension 				-DSMART_SCHEDULE 				-DBUILDDEBUG
-DXResExtension 				-DX_BYTE_ORDER=X_LITTLE_ENDIAN 			
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((99) *
1000) + 14)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE
-DXFree86Module   -mmmx -msse -Winline --param
inline-unit-growth=10000 	--param large-function-growth=10000 -DUSE_MMX
fbmmx.c
fbmmx.c:2303: error: parse error before "detectCPUFeatures"
fbmmx.c:2303: warning: return type defaults to `int'
fbmmx.c:2303: warning: no previous prototype for 'detectCPUFeatures'
fbmmx.c: In function `detectCPUFeatures':
fbmmx.c:2304: error: `uint' undeclared (first use in this function)
fbmmx.c:2304: error: (Each undeclared identifier is reported only once
fbmmx.c:2304: error: for each function it appears in.)
fbmmx.c:2304: error: parse error before "result"
fbmmx.c:2309: warning: implicit declaration of function `asm'
fbmmx.c:2309: warning: nested extern declaration of `asm'
fbmmx.c:2332: error: parse error before ':' token
fbmmx.c:2341: error: `result' undeclared (first use in this function)
fbmmx.c:2342: error: parse error before '/' token
fbmmx.c:2346: error: `features' undeclared (first use in this function)
fbmmx.c:2354: error: parse error before "result"
fbmmx.c:2364: error: parse error before ':' token
fbmmx.c: In function `fbHaveMMX':
fbmmx.c:2383: error: `uint' undeclared (first use in this function)
fbmmx.c:2383: error: parse error before "features"
fbmmx.c:2384: error: `features' undeclared (first use in this function)
make[5]: *** [fbmmx.o] Błąd 1
make[5]: Leaving directory `/NORA/BETON/tmp/xc_build/programs/Xserver/fb'
make[4]: *** [fb] Błąd 2
make[4]: Leaving directory `/NORA/BETON/tmp/xc_build/programs/Xserver'
make[3]: *** [all] Błąd 2
make[3]: Leaving directory `/NORA/BETON/tmp/xc_build/programs'
make[2]: *** [all] Błąd 2
make[2]: Leaving directory `/NORA/BETON/tmp/xc_build'
make[1]: *** [World] Błąd 2
make[1]: Leaving directory `/NORA/BETON/tmp/xc_build'
make: *** [World] Błąd 2

Laatest changes (from ChangeLog file):

2005-07-12  Lars Knoll <lars at trolltech.com>
	* programs/Xserver/fb/fbcompose.c:
	* programs/Xserver/fb/fbmmx.c:
	* programs/Xserver/fb/fbmmx.h:
	* programs/Xserver/fb/fbpict.c:
	* programs/Xserver/fb/fbpict.h:
	Add MMX Code paths for the basic composition operations
	in fbComposeGeneral.

Computer & os:
- Intel Pentium4 3GHz, ASUS Motherboard with i915G chipset;
- Slackware Current with some changes mady by myself: GCC 3.4.4,
binutils 2.16.1, kernel 2.6.13-rc2 (raw kernel headers installed).

-> config/cf/host.def


#define DefaultGcc2i386Opt      -O2 -march=pentium4 -pipe


#define HasFreetype2            YES
#define HasFontconfig           YES
#define HasExpat                YES
#define HasLibpng               YES
#define HasZlib                 YES

#define LinuxDitribution        LinuxSlackware
#define LinuxDistName           Slackware

#define XF86CardDrivers         i810 vmware chips apm GlideDriver fbdev \
				vesa vga
								
#define NormalLibGlx NO

#define XInputDrivers           mouse keyboard

#define HasMTRRSupport          YES
#define HasKatmaiSupport        YES
#define BuildSpecsDocs          NO
#define JoystickSupport         NO

#define BuildSpecsDocs          NO
#define BuildLinuxDocPS         NO
#define InstallJapaneseDocs     NO

#define BuildXprint             NO
#define BuildXprintClients      NO

#define XprtServer              NO
#define XnestServer             NO
#define XVirtualFramebufferServer NO
#define BuildDmx                NO
#define XdmxServer              NO



Best regards
	Jacek





More information about the xorg mailing list