xf86-video-nv compile issue?

Aaron Plattner aplattner at nvidia.com
Mon Sep 17 11:51:32 PDT 2007

On Mon, Sep 17, 2007 at 02:07:26PM +0200, Christian Franck wrote:
> Hello,
> "xf86-video-nv" seems to break now, IIRC this has also been an issue in the
> intel driver - and maybe in other video drivers - and has been fixed there,
> I have read about some "pciVideoPtr" related changes recently.

Hi Christian,

This is due to the recent pci-rework changes.  I have a change about ready
to push that fixes this, but I need to do a little more testing first.

-- Aaron

> Anyone to kick me the right way?
> Thanks and best regards
> Christian
> compile log:
> ============
> 	[...]
> 	make[1]: Entering directory `/tmp/xorg/driver/xf86-video-nv'
> 	Making all in src
> 	make[2]: Entering directory `/tmp/blfs/xorg/driver/xf86-video-nv/src'
> 	if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I	. -I..    
> 	-I/usr/X11R7-cvs-3/include/xorg -I/usr/X11R7-cvs-3/include   -	g -O2 
> 	-MT nv_cursor.lo -MD -MP -MF ".deps/nv_cursor.Tpo" -c -o nv_cursor	
> 	.lo nv_cursor.c; \
>         then mv -f ".deps/nv_cursor.Tpo" ".deps/nv_cursor.Plo"; else rm -f ".dep	
> 	s/nv_cursor.Tpo"; exit 1; fi
> 	mkdir .libs
> 	 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R7-cvs-3/include/xorg -I/usr	
> 	/X11R7-cvs-3/include -g -O2 -MT nv_cursor.lo -MD -MP -MF .deps/nv_cursor	
> 	.Tpo -c nv_cursor.c  -fPIC -DPIC -o .libs/nv_cursor.o
> 	In file included from nv_include.h:60,
> 	                 from nv_cursor.c:44:
> 	nv_type.h:82: error: expected specifier-qualifier-list before 'pciVideoPtr'
> 	nv_cursor.c: In function 'ConvertCursor1555':
> 	nv_cursor.c:86: error: 'struct <anonymous>' has no member named 'curFg'
> 	nv_cursor.c:86: error: 'struct <anonymous>' has no member named 'curBg'
> 	nv_cursor.c: In function 'ConvertCursor8888':
> 	nv_cursor.c:117: error: 'struct <anonymous>' has no member named 'curFg'

More information about the xorg mailing list