Building The Unichrome Projects drivers for your X version: ----------------------------------------------------------- WARNING: The content of this file is about building and installing this driver yourself. This will not make your package manager happy. You might also want to back up via_drv.o/so and the manpage first. If you run into any difficulties, please contact the unichrome-users mailinglist at unichrome-users@lists.sourceforge.net . Subscribe at http://lists.sourceforge.net/mailman/listinfo/unichrome-users first. 1) Monolithic X: Applies to xfree86 4.3.x and 4.4.x, and X.org 6.7.x, 6.8.x and 6.9.x. 1.1) Against a full X tree: This requires that a sufficiently built X tree is present (see 1.2 otherwise). The top level directory of an X tree tends to be named xc/. Replace with whatever is suited for you. From the top level, in xf86-video-unichrome/, (the same level as this file) run: # xmkmf # make Makefiles # make # make install 1.2) Preparing an X tree: ... 1.3) Against the SDK/DDK: ... 2) Modular X: This is (of course) only suited for the X.org 7.x release. Sadly, the macros used in the current configure.ac require you to use at least RC2. Building against modular is a breeze. You should have everything installed for building drivers if and when you want to. # ./autogen.sh or # ./autogen.sh --prefix=<...> then # make # make install Possible issues: aclocal might be unable to find the X macros. You will see configure complain with: ./configure: line xxxxx: XORG_MANPAGE_SECTIONS: command not found ./configure: line xxxxx: XORG_RELEASE_VERSION: command not found What happens is that aclocal is unable to find your xorgversion.m4 and xorg-macros.m4. These are usually found in /share/aclocal This can be solved by doing the following before running autogen.sh: - permanent solution: add a file named dirlist to your /usr/share/aclocal/ directory, and add a line with the path for X macros. - temporary solution: run # export ACLOCAL_LOCALDIR="/share/aclocal/" Another possible issue is configure failing with: ./configure: line xxxxx: syntax error near unexpected token `RANDR,' ./configure: line xxxxx: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)' The cause of this is that xorg-server.m4 isn't available. This was only added a few days before 7.0RC2 was tagged, but it is quite incompatible with earlier versions. So make sure you have at least RC2. If anyone with a lot of autoconf experience knows how to properly check for the existence of individual macros at the autoheader stage, please don't hesitate to contact me.