From owner-freebsd-x11@FreeBSD.ORG Thu Nov 9 06:27:06 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 5356B16A416 for ; Thu, 9 Nov 2006 06:27:06 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6974143D5A for ; Thu, 9 Nov 2006 06:27:05 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so413589nfc for ; Wed, 08 Nov 2006 22:27:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XZvOnUBJJK5AfUOrUXSULJm/VsUuq6s3AFzAUnR9Se5ylEkWMkrht6N9vRPYwG88U7cMRPu3hiOdOvxrkUuD00Vboh8G3mzDZsgX7tIw5XvyI4LHZukYxj0JAqcOiEGOU/LlHXzItFCM0KrypK0HJkxEn7O8k0d5uym9S2xnPec= Received: by 10.49.91.9 with SMTP id t9mr3470198nfl.1163053623912; Wed, 08 Nov 2006 22:27:03 -0800 (PST) Received: by 10.49.23.18 with HTTP; Wed, 8 Nov 2006 22:27:03 -0800 (PST) Message-ID: <4c40c4e70611082227r3cb91907q656badbb8e672754@mail.gmail.com> Date: Thu, 9 Nov 2006 13:27:03 +0700 From: "Angka H. K." To: cr-maia@criticalsoftware.com In-Reply-To: <4551F181.9060107@dei.isep.ipp.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20061103103302.M50985@dei.isep.ipp.pt> <1162555670.79571.0.camel@mayday.esat.net> <4551F181.9060107@dei.isep.ipp.pt> 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: Thu, 09 Nov 2006 06:27:06 -0000 The error came from libdrm. You should update libdrm to latest. On 11/8/06, Claudio Maia wrote: > 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=3DCC --mode=3Dcompile gcc > >> -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../inclu= de > >> -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 -DXFree86Ser= ver > >> -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../../includ= e > >> -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/glxdr= i.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../../i= nclude > >> -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_CONFI= G_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 declaratio= n 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 declarati= on 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? > > > > > No I'm using the X.org modular tree. As far as I know there are no ports = yet > for X7.0. > > Cheers, > Cl=E1udio Maia > > > DISCLAIMER: This message may contain confidential information or privileg= ed material and is intended only for the individual(s) named. If you are no= t a named addressee and mistakenly received this message you should not cop= y or otherwise disseminate it: please delete this e-mail from your system a= nd notify the sender immediately. E-mail transmissions are not guaranteed t= o be secure or error-free as information could be intercepted, corrupted, l= ost, destroyed, arrive late or incomplete or contain viruses. Therefore, th= e sender does not accept liability for any errors or omissions in the conte= nts of this message that arise as a result of e-mail transmissions. Please = request a hard copy version if verification is required. Critical Software,= SA. > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >