Bug 8260

Summary: wsfb driver won't build
Product: xorg Reporter: Jim Gettys <jg>
Component: * OtherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTABUG QA Contact:
Severity: blocker    
Priority: highest    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 6666    

Description Jim Gettys 2006-09-13 15:51:20 UTC
jg@ubuntu:~/git/xorg/driver/xf86-video-wsfb$ make
make  all-recursive
make[1]: Entering directory `/home/jg/git/xorg/driver/xf86-video-wsfb'
Making all in src
make[2]: Entering directory `/home/jg/git/xorg/driver/xf86-video-wsfb/src'
source='wsfb_driver.c' object='wsfb_driver.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/sh ../depcomp \
        /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I..    -I/home/jg/xorg/include/xorg -I/home/jg/xorg/include   -g -O2 -c -o
wsfb_driver.lo wsfb_driver.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/jg/xorg/include/xorg
-I/home/jg/xorg/include -g -O2 -c wsfb_driver.c  -fPIC -DPIC -o .libs/wsfb_driver.o
wsfb_driver.c:46:33: error: dev/wscons/wsconsio.h: No such file or directory
wsfb_driver.c:237: error: field 'info' has incomplete type
wsfb_driver.c:245: error: field 'saved_cmap' has incomplete type
wsfb_driver.c: In function 'WsfbProbe':
wsfb_driver.c:373: warning: assignment makes integer from pointer without a cast
wsfb_driver.c: In function 'WsfbPreInit':
wsfb_driver.c:429: error: 'WSDISPLAYIO_GINFO' undeclared (first use in this
function)
wsfb_driver.c:429: error: (Each undeclared identifier is reported only once
wsfb_driver.c:429: error: for each function it appears in.)
wsfb_driver.c:435: error: 'WSDISPLAYIO_GTYPE' undeclared (first use in this
function)
wsfb_driver.c:441: error: 'WSDISPLAYIO_LINEBYTES' undeclared (first use in this
function)
wsfb_driver.c:473: error: 'WSDISPLAY_TYPE_SUN24' undeclared (first use in this
function)
wsfb_driver.c:474: error: 'WSDISPLAY_TYPE_SUNCG12' undeclared (first use in this
function)
wsfb_driver.c:475: error: 'WSDISPLAY_TYPE_SUNCG14' undeclared (first use in this
function)
wsfb_driver.c:476: error: 'WSDISPLAY_TYPE_SUNTCX' undeclared (first use in this
function)
wsfb_driver.c:477: error: 'WSDISPLAY_TYPE_SUNFFB' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbScreenInit':
wsfb_driver.c:613: error: 'WSDISPLAYIO_MODE_DUMBFB' undeclared (first use in
this function)
wsfb_driver.c:651: error: 'WSDISPLAYIO_SMODE' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbWindowLinear':
wsfb_driver.c:833: error: 'WSDISPLAYIO_LINEBYTES' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbLoadPalette':
wsfb_driver.c:888: error: storage size of 'cmap' isn't known
wsfb_driver.c:905: error: 'WSDISPLAYIO_PUTCMAP' undeclared (first use in this
function)
wsfb_driver.c:922: error: 'WSDISPLAYIO_GETCMAP' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbSaveScreen':
wsfb_driver.c:949: error: 'WSDISPLAYIO_VIDEO_ON' undeclared (first use in this
function)
wsfb_driver.c:950: error: 'WSDISPLAYIO_VIDEO_OFF' undeclared (first use in this
function)
wsfb_driver.c:951: error: 'WSDISPLAYIO_SVIDEO' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbSave':
wsfb_driver.c:969: error: 'WSDISPLAYIO_GETCMAP' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbRestore':
wsfb_driver.c:991: error: 'WSDISPLAYIO_PUTCMAP' undeclared (first use in this
function)
wsfb_driver.c:1001: error: 'WSDISPLAYIO_MODE_EMUL' undeclared (first use in this
function)
wsfb_driver.c:1002: error: 'WSDISPLAYIO_SMODE' undeclared (first use in this
function)
wsfb_driver.c: In function 'WsfbDGAAddModes':
wsfb_driver.c:1114: error: 'WSDISPLAYIO_LINEBYTES' undeclared (first use in this
function)
make[2]: *** [wsfb_driver.lo] Error 1
make[2]: Leaving directory `/home/jg/git/xorg/driver/xf86-video-wsfb/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jg/git/xorg/driver/xf86-video-wsfb'
make: *** [all] Error 2
jg@ubuntu:~/git/xorg/driver/xf86-video-wsfb$
Comment 1 Chris Lee 2006-09-13 15:56:45 UTC
<jg> the only driver that is "maintained" in the maintainer's file, that won't
build, is wsfb.
<ajax> it only builds on netbsd and openbsd, by design.
Comment 2 Jim Gettys 2006-09-13 16:04:40 UTC
OK, makes sense.  I removed it from the drivers target of the jhbuild
xorg.modules and created a separate BSD target, so that jhbuild won't attempt to
build it anymore.

Sorry I missed that it was BSD specific...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.