Date: Tue, 10 Sep 2013 22:07:45 GMT From: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/181999: graphics/dri build error Message-ID: <201309102207.r8AM7j7S085911@oldred.freebsd.org> Resent-Message-ID: <201309102210.r8AMA0RD043220@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 181999 >Category: ports >Synopsis: graphics/dri build error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 10 22:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Wolfgang Zenker >Release: CURRENT >Organization: >Environment: FreeBSD merkur.lyx 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Tue Sep 10 04:35:47 CEST 2013 wolfgang@merkur.lyx:/usr/obj/usr/src/sys/GENERIC i386 >Description: Build of graphics/dri fails with cc -c -I../../include -I../../src/mesa -I../../src/gallium/include -I../../src/gallium/auxiliary -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING glapi/glapi_getproc.c -o glapi/glapi_getproc.o In file included from glapi/glapi_getproc.c:78: glapi/glprocs.h:1666:67: error: use of undeclared identifier 'driDispatchRemapTable' NAME_FUNC_OFFSET( 5769, glAttachShader, glAttachShader, NULL, _gloff... ^ glapi/glapioffsets.h:831:32: note: expanded from macro '_gloffset_AttachShader' #define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index] ^ glapi/glprocs.h:49:67: note: expanded from macro 'NAME_FUNC_OFFSET' # define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o } ^ glapi/glprocs.h:1666:67: error: use of undeclared identifier 'AttachShader_remap_index' glapi/glapioffsets.h:831:54: note: expanded from macro '_gloffset_AttachShader' #define _gloffset_AttachShader driDispatchRemapTable[AttachShader_remap_index] ^ glapi/glprocs.h:49:67: note: expanded from macro 'NAME_FUNC_OFFSET' # define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o } etc .. until error-limit is reached Build options RADEON and SWRAST were selected, but build also fails with only one or the other. >How-To-Repeat: use current/i386 after gcc removal, go to port graphics/dri, set config options RADEON and SWRAST, make >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309102207.r8AM7j7S085911>