Undefined symbol "xf86MatchSbusInstances" (Re: testing modular X.org on DragonFly (fwd))

Jeremy C. Reed reed at reedmedia.net
Wed Mar 1 10:04:10 PST 2006


On Wed, 1 Mar 2006, Daniel Stone wrote:

> The sun* drivers shouldn't be getting built.  fbdev probably shouldn't
> be getting built either.

I see in util/modular/build.sh the build_driver_video() function that 
says "Some drivers are only buildable on some OS'es".

It currently has sections for FreeBSD on sparc64, NetBSD and OpenBSD, and 
Linux with a few additions. Then it has the rest (which includes the sun* 
and fbdev drivers).

What systems should allow this?

Should I use something like following? (untested)

Index: modular/build.sh
===================================================================
RCS file: /cvs/xorg/util/modular/build.sh,v
retrieving revision 1.67
diff -b -u -r1.67 build.sh
--- modular/build.sh	21 Feb 2006 19:24:31 -0000	1.67
+++ modular/build.sh	1 Mar 2006 18:02:38 -0000
@@ -345,6 +345,22 @@
 	    ;;
     esac
 
+    # Do not install some sun* drivers on some operating systems
+    case $HOST_OS in
+	*DragonFly*)
+	    # do nothing
+	    ;;
+	*)
+    	    build driver xf86-video-sunbw2
+	    build driver xf86-video-suncg14
+	    build driver xf86-video-suncg3
+	    build driver xf86-video-suncg6
+ 	    build driver xf86-video-sunleo
+ 	    build driver xf86-video-suntcx
+	    ;;
+    esac
+		
+
     build driver xf86-video-apm
     build driver xf86-video-ark
     build driver xf86-video-ati
@@ -370,12 +386,6 @@
     build driver xf86-video-savage
     build driver xf86-video-siliconmotion
     build driver xf86-video-sis
-    build driver xf86-video-sunbw2
-    build driver xf86-video-suncg14
-    build driver xf86-video-suncg3
-    build driver xf86-video-suncg6
-    build driver xf86-video-sunleo
-    build driver xf86-video-suntcx
     build driver xf86-video-tdfx
     build driver xf86-video-tga
     build driver xf86-video-trident

(I see that build-from-tarballs.sh is not in sync for this, but probably 
should be done too.)

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/



More information about the xorg mailing list