From owner-freebsd-x11@FreeBSD.ORG Fri Nov 3 13:48:05 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F65A16A403 for ; Fri, 3 Nov 2006 13:48:05 +0000 (UTC) (envelope-from i020827@dei.isep.ipp.pt) Received: from mail.dei.isep.ipp.pt (picasso.dei.isep.ipp.pt [193.136.62.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E9A643D46 for ; Fri, 3 Nov 2006 13:48:04 +0000 (GMT) (envelope-from i020827@dei.isep.ipp.pt) Received: from dei.isep.ipp.pt (localhost [127.0.0.1]) by mail.dei.isep.ipp.pt (8.13.6/DEINET-1.1) with ESMTP id kA3Dm0Eh012130; Fri, 3 Nov 2006 13:48:00 GMT From: "Claudio Ribeiro Maia" To: Florent Thoumie Date: Fri, 3 Nov 2006 13:48:00 +0000 Message-Id: <20061103134637.M77372@dei.isep.ipp.pt> In-Reply-To: <1162555670.79571.0.camel@mayday.esat.net> References: <20061103103302.M50985@dei.isep.ipp.pt> <1162555670.79571.0.camel@mayday.esat.net> X-Mailer: Open WebMail 2.X (DEI-ISEP) 20050101 X-OriginatingIP: 212.13.49.154 (i020827) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: freebsd-x11@freebsd.org Subject: Re: Errors building Xserver 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: Fri, 03 Nov 2006 13:48:05 -0000 On Fri, 03 Nov 2006 12:07:50 +0000, Florent Thoumie wrote > On Fri, 2006-11-03 at 10:35 +0000, Claudio Ribeiro Maia wrote: > > Hi, > > > > I'm truing to build Xorg 7, but I'm getting errors when building it. > > > > I'm using FreeBSD 6.1 in a laptop with a NVidia GForce 7400. > > > > The error is the following: > > > > if /usr/local/bin/bash ../../libtool --tag=CC --mode=compile gcc > > -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include > > -I../../include -I../../include -I../../include -I../../include > > -I../../include -I../../include -I../../hw/xfree86/os-support > > -I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common > > -I../../hw/xfree86/dri -I../../mi -I/usr/Mesa/include -DHAVE_DIX_CONFIG_H > > -I/usr/X11R7/include -D_THREAD_SAFE -I/usr/X11R7/include > > -I/usr/X11R7/include -I/usr/X11R7/include/drm -I/usr/X11R7/include/X11/dri > > -I/usr/Mesa/src/mesa/glapi -I/usr/Mesa/src/mesa/main -DXFree86Server > > -DNO_LIBCWRAPPER -Wall -Wpointer-arith -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs > > -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT > > -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/local/include/dbus-1.0 > > -I/usr/local/include/dbus-1.0/include -I../../include -I../../include > > -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi > > -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render > > -I../../randr -I../../fb -g -O2 -MT glxdri.lo -MD -MP -MF ".deps/glxdri.Tpo" > > -c -o glxdri.lo glxdri.c; then mv -f ".deps/glxdri.Tpo" ".deps/glxdri.Plo"; > > else rm -f ".deps/glxdri.Tpo"; exit 1; fi > > gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include > > -I../../include -I../../include -I../../include -I../../include > > -I../../include -I../../include -I../../hw/xfree86/os-support > > -I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common > > -I../../hw/xfree86/dri -I../../mi -I/usr/Mesa/include -DHAVE_DIX_CONFIG_H > > -I/usr/X11R7/include -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/X11R7/include > > -I/usr/X11R7/include/drm -I/usr/X11R7/include/X11/dri > > -I/usr/Mesa/src/mesa/glapi -I/usr/Mesa/src/mesa/main -DXFree86Server > > -DNO_LIBCWRAPPER -Wall -Wpointer-arith -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs > > -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT > > -D_THREAD_SAFE -I/usr/X11R7/include -I/usr/local/include/dbus-1.0 > > -I/usr/local/include/dbus-1.0/include -I../../include -I../../include > > -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi > > -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render > > -I../../randr -I../../fb -g -O2 -MT glxdri.lo -MD -MP -MF .deps/glxdri.Tpo -c > > glxdri.c -fPIC -DPIC -o .libs/glxdri.o > > In file included from ../../hw/xfree86/os-support/xf86drm.h:39, > > from glxdri.c:44: > > ../../hw/xfree86/os-support/xf86mm.h:106: error: syntax error before > > "drm_bo_type_t" > > ../../hw/xfree86/os-support/xf86mm.h:108: error: syntax error before "drm_u64_t" > > ../../hw/xfree86/os-support/xf86mm.h:128: error: syntax error before > > "drm_bo_arg_t" > > ../../hw/xfree86/os-support/xf86mm.h:177: error: syntax error before > > "drm_bo_type_t" > > ../../hw/xfree86/os-support/xf86mm.h:178: warning: function declaration isn't > > a prototype > > In file included from glxdri.c:44: > > ../../hw/xfree86/os-support/xf86drm.h:548: error: syntax error before > > "drm_drawable_info_type_t" > > ../../hw/xfree86/os-support/xf86drm.h:549: warning: function declaration isn't > > a prototype > > *** Error code 1 > > > > Stop in /usr/xorg/xserver/GL/glx. > > *** Error code 1 > > > > Stop in /usr/xorg/xserver/GL. > > *** Error code 1 > > > > Stop in /usr/xorg/xserver. > > > > Has anyone got the same error? Can anyone help me? > > I don't. Are you trying to build from a port? > > -- > Florent Thoumie > flz@FreeBSD.org > FreeBSD Committer Hi Florent, No I'm using the X.org modular tree. As far as I know there are no ports yet for X7.0. Cheers, Cláudio Maia