Date: Wed, 20 Dec 2006 11:19:39 -0500 From: "Michael McCaskill" <michael.mccaskill@gmail.com> To: freebsd-x11@freebsd.org Subject: XOrg 7.2-RC3 install successful...sort of Message-ID: <69b259c70612200819g36773d75q8986cffc6e0593fc@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I managed to follow the http://wikitest.freebsd.org/ModularXorg instructions for the most part. I too had trouble with xdriinfo. libGL was installed but the problem was it was referencing things from dri that didn't exist. So I had to upgrade dri, recompile libGL then make install xdriinfo. Also, I had to manually edit dri Makefile so it installed them into /usr/X11R6/lib/xorg/modules vs /usr/X11R6/lib/modules. Lastly I had to modify the xorg-server build according to http://lists.freebsd.org/pipermail/freebsd-x11/2006-December/003410.html in order for dri to load in X. As it stands now, I cannot finish installation of xorg-drivers because of an error with xf86-video-mga with mga_driver.c: cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/xorg -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/drm -I/usr/X11R6/include/X11/dri -O2 -fno-strict-aliasing -pipe -MT mga_driver.lo -MD -MP -MF .deps/mga_driver.Tpo -c mga_driver.c -fPIC -DPIC -o .libs/mga_driver.o mga_driver.c:443: error: syntax error before ',' token mga_driver.c:444: warning: initialization makes integer from pointer without a cast mga_driver.c:444: error: initializer element is not computable at load time mga_driver.c:444: error: (near initialization for `mgaVersRec.patchlevel') mga_driver.c:445: warning: initialization makes pointer from integer without a cast mga_driver.c:446: warning: initialization makes integer from pointer without a cast mga_driver.c:447: warning: braces around scalar initializer mga_driver.c:447: warning: (near initialization for `mgaVersRec.moduleclass') mga_driver.c:447: warning: excess elements in scalar initializer mga_driver.c:447: warning: (near initialization for `mgaVersRec.moduleclass') mga_driver.c:447: warning: excess elements in scalar initializer mga_driver.c:447: warning: (near initialization for `mgaVersRec.moduleclass') mga_driver.c:447: warning: excess elements in scalar initializer mga_driver.c:447: warning: (near initialization for `mgaVersRec.moduleclass') I cannot seem to fix the problem. I compared it to the source of other xf86-video-* that have XF86ModuleVersionInfo declarations but other than variable names, they look the same. I've also tried to use hard coded numbers but that didn't work either.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b259c70612200819g36773d75q8986cffc6e0593fc>