[Openchrome-users] building libxvmc on xfree86 4.4.0

Sinan Nalkaya erchamion.beren
Tue Jan 17 12:43:00 PST 2006


hi
 i have xfree86 4.4.0 source with semi compiled. i wanted to compile
libxvmc (from cvs 2005-11-16) on this source, this is log that what i
did

x:/usr/src/unichrome-20051116/libxvmc# xmkfm /usr/src/xfree86/xc
mv -f Makefile Makefile.bak
imake -I/usr/src/xfree86/xc/config/cf -DTOPDIR=/usr/src/xfree86/xc
-DCURDIR=.

x:/usr/src/unichrome-20051116/libxvmc# make
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic
-Wall -Wpointer-arith -Wundef  -I/usr/src/xfree86/xc/exports/include/X11
-I/usr/src/xfree86/xc/exports/include -I/usr/src/xfree86/xc/lib/X11
-I/usr/src/xfree86/xc/include/extensions
		-I/usr/src/xfree86/xc/programs/Xserver/hw/xfree86/common
-I/usr/src/xfree86/xc/programs/Xserver/hw/xfree86/os-support -I/shared
		-I/usr/src/xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel -I../unichrome  -I/usr/src/xfree86/xc -I/usr/src/xfree86/xc/exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE 				 -D_GNU_SOURCE 				  -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL -DTRUE=1 -DFALSE=0    -c -o viaXvMC.o viaXvMC.c
viaXvMC.c: In function `releaseDecoder':
viaXvMC.c:117: warning: ISO C forbids nested functions
viaXvMC.c:117: error: syntax error before '*' token
viaXvMC.c:117: error: `lockPtr' undeclared (first use in this function)
viaXvMC.c:117: error: (Each undeclared identifier is reported only once
viaXvMC.c:117: error: for each function it appears in.)
viaXvMC.c: In function `grabDecoder':
viaXvMC.c:140: warning: ISO C forbids nested functions
viaXvMC.c:140: error: syntax error before '*' token
viaXvMC.c:140: error: `lockPtr' undeclared (first use in this function)
viaXvMC.c:123: warning: unused variable `sAPriv'
make: *** [viaXvMC.o] Error 1

drivers compiled fine,
gnu make version 3.80
gcc 3.3.5 using debian sarge

i hope xvmc library is compatible with xfree86 4.4.0 :/
thanks





More information about the Openchrome-users mailing list