From owner-freebsd-x11@FreeBSD.ORG Wed Dec 20 16:44:10 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 024E216A412 for ; Wed, 20 Dec 2006 16:44:10 +0000 (UTC) (envelope-from michael.mccaskill@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8227643CB5 for ; Wed, 20 Dec 2006 16:44:04 +0000 (GMT) (envelope-from michael.mccaskill@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so2004960wxc for ; Wed, 20 Dec 2006 08:44:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=CtbJ7N41QKTSW+zpYo4MUXEq1S2AnJH7XTChhoT1eQ4aY6ZREzf+T7ScaH1/PGZ3L9MmbPiTtXm+YKz0Hf4J1RCyUEOLWhTabda+CyncSpxrW+xxmpBTmP6OaqVPQiRDHkBAsdymHO7kPTOrlSM4couHuatbtBIlyf8NoPqKLhQ= Received: by 10.70.38.12 with SMTP id l12mr12389745wxl.1166631579670; Wed, 20 Dec 2006 08:19:39 -0800 (PST) Received: by 10.70.33.6 with HTTP; Wed, 20 Dec 2006 08:19:39 -0800 (PST) Message-ID: <69b259c70612200819g36773d75q8986cffc6e0593fc@mail.gmail.com> Date: Wed, 20 Dec 2006 11:19:39 -0500 From: "Michael McCaskill" To: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: XOrg 7.2-RC3 install successful...sort of X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 16:44:10 -0000 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.