[Mesa-dev] [Bug 43629] New: mesa># gmake freebsd-dri-amd64 breaks

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 8 04:44:34 PST 2011


             Bug #: 43629
           Summary: mesa># gmake freebsd-dri-amd64 breaks
    Classification: Unclassified
           Product: Mesa
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: FreeBSD
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: zaphod at berentweb.com

O/S: FreeBSD 9.0-RC2 on amd64.  Video Card:
drm0: <ATI Radeon 3000 Graphics> on vgapci0
info: [drm] Initialized radeon 1.31.0 20080613
info: [drm] Setting GART location based on new memory map
info: [drm] Loading RS780/RS880 Microcode

I am trying to build drm / mesa from latest git clone (and not ports version)
Before attempting to compile latest mesa, I re-built all dependencies to latest
version, without any problems:
glproto, libXxf86vm, xf86vidmodeproto, libXmu, drm.
They are all at latest ver from git. 
When I try to run below, It breaks with error:

mesa># gmake freebsd-dri-amd64
gmake default
gmake[1]: Entering directory `/asp/g.mesa/mesa'
gmake[2]: Entering directory `/asp/g.mesa/mesa/src'
Making sources for freebsd-dri-x86-64
gmake[3]: Entering directory `/asp/g.mesa/mesa/src/glx'
gcc -c -I. -I../../include -I../../include/GL/internal -I../../src/mesa
-I../../src/mapi -I../../src/mapi/glapi `pkg-config --cflags libdrm`  
-I/usr/local/include -Wall -O -g -fPIC -Wmissing-prototypes -std=c99 -Wundef
-ffast-math -DUSE_X86_64_ASM -I/usr/local/include -DPTHREADS
-DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" dri2.c -o dri2.o
dri2.c: In function 'DRI2WireToEvent':
dri2.c:101: error: 'xDRI2BufferSwapComplete2' undeclared (first use in this
dri2.c:101: error: (Each undeclared identifier is reported only once
dri2.c:101: error: for each function it appears in.)
dri2.c:101: error: 'awire' undeclared (first use in this function)
dri2.c:101: error: expected expression before ')' token
gmake[3]: *** [dri2.o] Error 1
gmake[3]: Leaving directory `/asp/g.mesa/mesa/src/glx'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/asp/g.mesa/mesa/src'
gmake[1]: *** [default] Error 1
gmake[1]: Leaving directory `/asp/g.mesa/mesa'
gmake: *** [freebsd-dri-amd64] Error 2

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list