Errors building Xserver

Florent Thoumie flz at xbsd.org
Fri Nov 3 12:08:30 UTC 2006


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 at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20061103/f702c8f1/attachment.pgp


More information about the freebsd-x11 mailing list