Problems building xorg-server-1.5.3_4,1

Robert Noland rnoland at FreeBSD.org
Sun Feb 8 01:09:18 PST 2009


On Sun, 2009-02-08 at 08:49 +0200, Jukka A. Ukkonen wrote:
> 	Hi,
> 
> 	I tried building xorg-server-1.5.3_4,1 on FreeBSD-7.1-stable.
> 	The outcome was the errors shown at the end of the message.
> 	The things start going wrong with the attempt to include a
> 	missing GL/internal/dri_interface.h.
> 	Does anyone have an idea what might be the reason and how to
> 	remedy the situation?

graphics/dri is either not installed or not updated.

robert.

> 
> 	Cheers,
> 		// jau
> .---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
>   /    Jukka A. Ukkonen,                             Oxit Ltd, Finland
>  /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
>    /   Internet: Jukka.Ukkonen(a)Oxit.Fi        (Home) +358-9-6215-280
>   /    Internet: jau(a)iki.fi
>  v
>         .---  .-  ..-  ...-.-  ..  -.-  ..  .-.-.-  ..-.  ..
> + + + + My opinions are mine and mine alone, not my employers. + + + +
> 
> 
> 
> ===>  Building for xorg-server-1.5.3_4,1
> Making all in doc
> make  all-am
> Making all in include
> make  all-am
> Making all in dix
> make  all-am
> Making all in fb
> Making all in mi
> Making all in Xext
> Making all in miext
> Making all in damage
> Making all in shadow
> Making all in cw
> Making all in os
> Making all in randr
> Making all in render
> Making all in Xi
> Making all in xkb
> Making all in dbe
> Making all in mfb
> Making all in afb
> Making all in cfb
> Making all in cfb32
> Making all in record
> Making all in xfixes
> Making all in damageext
> Making all in XTrap
> Making all in composite
> Making all in glx
> /bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. \
>  -I../include -I../hw/xfree86/os-support  -I../hw/xfree86/os-support/bus \
>  -I../hw/xfree86/common  -I../hw/xfree86/dri  -I../hw/xfree86/dri2 \
>  -I../mi    -DHAVE_DIX_CONFIG_H -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 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include \
>  -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 \
>  -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 \
>  -I/usr/local/include/dbus-1.0/include   -I/usr/local/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  -D_THREAD_SAFE -I/usr/local/include \
>  -I/usr/local/include/drm    -D_THREAD_SAFE -I/usr/local/include \
>  -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri \
>  -DXFree86Server -O2 -pipe -march=pentium2 -fno-strict-aliasing \
>  -MT glxdriswrast.lo -MD -MP -MF .deps/glxdriswrast.Tpo -c \
>  -o glxdriswrast.lo glxdriswrast.c
>  cc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support \
>  -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri \
>  -I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H -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 -DDBUS_API_SUBJECT_TO_CHANGE \
>  -I/usr/local/include -I/usr/local/include/freetype2 \
>  -I/usr/local/include/pixman-1 -I/usr/local/include/hal \
>  -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include \
>  -I/usr/local/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 -D_THREAD_SAFE \
>  -I/usr/local/include -I/usr/local/include/drm -D_THREAD_SAFE \
>  -I/usr/local/include -I/usr/local/include -I/usr/local/include/drm \
>  -I/usr/local/include/X11/dri -DXFree86Server -O2 -pipe -march=pentium2 \
>  -fno-strict-aliasing -MT glxdriswrast.lo -MD -MP -MF \
>  .deps/glxdriswrast.Tpo -c glxdriswrast.c  -fPIC -DPIC -o .libs/glxdriswrast.o
> glxdriswrast.c:39:39: error: GL/internal/dri_interface.h: No such file or directory
> In file included from glxdriswrast.c:49:
> glxdricommon.h:32: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
> glxdricommon.h:36: warning: type defaults to 'int' in declaration of '__DRIcoreExtension'
> glxdricommon.h:36: error: expected ';', ',' or ')' before '*' token
> glxdricommon.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systemTimeExtension'
> glxdriswrast.c:64: error: expected specifier-qualifier-list before '__DRIscreen'
> glxdriswrast.c:75: error: expected specifier-qualifier-list before '__DRIcontext'
> glxdriswrast.c:80: error: expected specifier-qualifier-list before '__DRIdrawable'
> glxdriswrast.c: In function '__glXDRIdrawableDestroy':
> glxdriswrast.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:92: error: 'core' undeclared (first use in this function)
> glxdriswrast.c:92: error: (Each undeclared identifier is reported only once
> glxdriswrast.c:92: error: for each function it appears in.)
> glxdriswrast.c:92: error: '__GLXDRIdrawable' has no member named 'screen'
> glxdriswrast.c:94: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c:96: error: '__GLXDRIdrawable' has no member named 'gc'
> glxdriswrast.c:97: error: '__GLXDRIdrawable' has no member named 'cleargc'
> glxdriswrast.c:98: error: '__GLXDRIdrawable' has no member named 'swapgc'
> glxdriswrast.c: In function '__glXDRIdrawableSwapBuffers':
> glxdriswrast.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:116: error: 'core' undeclared (first use in this function)
> glxdriswrast.c:116: error: '__GLXDRIdrawable' has no member named 'screen'
> glxdriswrast.c:118: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer':
> glxdriswrast.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:128: error: 'copySubBuffer' undeclared (first use in this function)
> glxdriswrast.c:129: error: '__GLXDRIdrawable' has no member named 'screen'
> glxdriswrast.c:132: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c: In function '__glXDRIcontextDestroy':
> glxdriswrast.c:141: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:141: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c: In function '__glXDRIcontextMakeCurrent':
> glxdriswrast.c:154: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:154: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c:155: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c:156: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c: In function '__glXDRIcontextLoseCurrent':
> glxdriswrast.c:165: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:165: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c: In function '__glXDRIcontextCopy':
> glxdriswrast.c:176: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:176: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c:177: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c: In function '__glXDRIcontextForceCurrent':
> glxdriswrast.c:188: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:188: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c:189: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c:190: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c: In function '__glXDRIscreenDestroy':
> glxdriswrast.c:253: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:253: error: '__GLXDRIscreen' has no member named 'driScreen'
> glxdriswrast.c:255: error: '__GLXDRIscreen' has no member named 'driver'
> glxdriswrast.c: In function '__glXDRIscreenCreateContext':
> glxdriswrast.c:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:270: error: 'core' undeclared (first use in this function)
> glxdriswrast.c:270: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:271: error: '__DRIcontext' undeclared (first use in this function)
> glxdriswrast.c:271: error: 'driShare' undeclared (first use in this function)
> glxdriswrast.c:275: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c:291: error: '__GLXDRIcontext' has no member named 'driContext'
> glxdriswrast.c:292: error: '__GLXDRIscreen' has no member named 'driScreen'
> glxdriswrast.c:293: error: '__GLXDRIconfig' has no member named 'driConfig'
> glxdriswrast.c: In function '__glXDRIscreenCreateDrawable':
> glxdriswrast.c:325: error: '__GLXDRIdrawable' has no member named 'screen'
> glxdriswrast.c:337: error: '__GLXDRIdrawable' has no member named 'gc'
> glxdriswrast.c:338: error: '__GLXDRIdrawable' has no member named 'cleargc'
> glxdriswrast.c:339: error: '__GLXDRIdrawable' has no member named 'swapgc'
> glxdriswrast.c:341: error: '__GLXDRIdrawable' has no member named 'gc'
> glxdriswrast.c:342: error: '__GLXDRIdrawable' has no member named 'cleargc'
> glxdriswrast.c:343: error: '__GLXDRIdrawable' has no member named 'swapgc'
> glxdriswrast.c:344: error: '__GLXDRIdrawable' has no member named 'swapgc'
> glxdriswrast.c:346: error: '__GLXDRIdrawable' has no member named 'driDrawable'
> glxdriswrast.c:347: error: '__GLXDRIscreen' has no member named 'swrast'
> glxdriswrast.c:347: error: '__GLXDRIscreen' has no member named 'driScreen'
> glxdriswrast.c:348: error: '__GLXDRIconfig' has no member named 'driConfig'
> glxdriswrast.c: At top level:
> glxdriswrast.c:355: error: expected ')' before '*' token
> glxdriswrast.c:369: error: expected ')' before '*' token
> glxdriswrast.c:398: error: expected ')' before '*' token
> glxdriswrast.c:409: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swrastLoaderExtension'
> glxdriswrast.c:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c: In function 'initializeExtensions':
> glxdriswrast.c:425: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:425: error: 'extensions' undeclared (first use in this function)
> glxdriswrast.c:428: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:428: error: '__GLXDRIscreen' has no member named 'driScreen'
> glxdriswrast.c: In function '__glXDRIscreenProbe':
> glxdriswrast.c:458: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:458: error: 'extensions' undeclared (first use in this function)
> glxdriswrast.c:459: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> glxdriswrast.c:459: error: 'driConfigs' undeclared (first use in this function)
> glxdriswrast.c:476: error: '__GLXDRIscreen' has no member named 'driver'
> glxdriswrast.c:477: error: '__GLXDRIscreen' has no member named 'driver'
> glxdriswrast.c:483: error: '__GLXDRIscreen' has no member named 'driver'
> glxdriswrast.c:483: error: '__DRI_DRIVER_EXTENSIONS' undeclared (first use in this function)
> glxdriswrast.c:491: error: '__DRI_CORE' undeclared (first use in this function)
> glxdriswrast.c:492: error: '__DRI_CORE_VERSION' undeclared (first use in this function)
> glxdriswrast.c:493: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:493: error: expected ')' before '__DRIcoreExtension'
> glxdriswrast.c:493: warning: type defaults to 'int' in declaration of 'type name'
> glxdriswrast.c:495: error: '__DRI_SWRAST' undeclared (first use in this function)
> glxdriswrast.c:496: error: '__DRI_SWRAST_VERSION' undeclared (first use in this function)
> glxdriswrast.c:497: error: '__GLXDRIscreen' has no member named 'swrast'
> glxdriswrast.c:497: error: expected ')' before '__DRIswrastExtension'
> glxdriswrast.c:497: warning: type defaults to 'int' in declaration of 'type name'
> glxdriswrast.c:501: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:501: error: '__GLXDRIscreen' has no member named 'swrast'
> glxdriswrast.c:507: error: '__GLXDRIscreen' has no member named 'driScreen'
> glxdriswrast.c:508: error: '__GLXDRIscreen' has no member named 'swrast'
> glxdriswrast.c:509: error: 'loader_extensions' undeclared (first use in this function)
> glxdriswrast.c:513: error: '__GLXDRIscreen' has no member named 'driScreen'
> glxdriswrast.c:520: warning: implicit declaration of function 'glxConvertConfigs'
> glxdriswrast.c:520: warning: nested extern declaration of 'glxConvertConfigs'
> glxdriswrast.c:520: error: '__GLXDRIscreen' has no member named 'core'
> glxdriswrast.c:520: warning: assignment makes pointer from integer without a cast
> glxdriswrast.c:530: error: '__GLXDRIscreen' has no member named 'driver'
> glxdriswrast.c:531: error: '__GLXDRIscreen' has no member named 'driver'
> *** Error code 1
> 
> Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3/glx.
> *** Error code 1
> 
> Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3.
> *** Error code 1
> 
> Stop in /usr/ports/x11-servers/xorg-server.
> *** Error code 1
> 
> Stop in /usr/ports/x11-servers/xorg-server.
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090208/7b2e97a1/attachment.pgp


More information about the freebsd-x11 mailing list