Bug 6520 - freebsd-dri no long er compiles
Summary: freebsd-dri no long er compiles
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: DRI git
Hardware: x86 (IA32) FreeBSD
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 22:48 UTC by Adam K Kirchhoff
Modified: 2006-04-07 08:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Adam K Kirchhoff 2006-04-07 22:48:33 UTC
I don't know when it broke, but as of at least April 6th, building freebsd-dri
gives the following error message:

gmake[3]: Entering directory
`/home/adamk/saved/source/Mesa/src/mesa/drivers/dri/radeon'
touch depend
makedepend -fdepend -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DRADEON_COMMON=0 -I.
-I../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../drm/shared-core -I../../../../../include
-I../../../../../include/GL/internal -I../../../../../src/mesa
-I../../../../../src/mesa/main -I../../../../../s
rc/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform
-I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast
-I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main
-I../../../../../src/egl/drivers/dri -I/usr/local/include `pkg-config --cflags
libdrm` ../../common/driverfuncs.c ../common/utils.c ../common/texmem.c
../common/vblank.c ../common/dri_util.c ../common/xmlconfig.c
../common/drirenderbuffer.c radeon_context.c radeon_ioctl.c radeon_lock.c
radeon_screen.c radeon_state.c rad
eon_state_init.c radeon_tex.c radeon_texmem.c radeon_texstate.c radeon_tcl.c
radeon_swtcl.c radeon_span.c radeon_maos.c radeon_sanity.c radeon_vtxfmt.c
radeon_vtxfmt_c.c radeon_vtxfmt_sse.c radeon_vtxfmt_x86.c    \
       >& /dev/null
Syntax error: Bad fd number
gmake[3]: *** [depend] Error 2
gmake[3]: Leaving directory
`/home/adamk/saved/source/Mesa/src/mesa/drivers/dri/radeon'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/home/adamk/saved/source/Mesa/src/mesa/drivers/dri'
gmake[1]: *** [linux-solo] Error 2
gmake[1]: Leaving directory `/home/adamk/saved/source/Mesa/src/mesa'
gmake: *** [default] Error 2
*** Error code 1

This happens with at least the radeon, mach64, and i810 drivers (and, I imagine,
all of them).
Comment 1 Brian Paul 2006-04-08 00:21:18 UTC
What happens if you remove the >&/dev/null part from the makedepend command (in
Makefile.template)?

Comment 2 Alan Hourihane 2006-04-08 00:24:02 UTC
I think that would work Brian as the current >& /dev/null is bourne shell specific.
Comment 3 Adam K Kirchhoff 2006-04-08 00:32:45 UTC
Woohoo...  That resolved that error...  Of course, I'm now getting a new one
about RADEON_CARD_PCI being undeclared.  I'll try and poke around with that this
weekend.
Comment 4 Brian Paul 2006-04-08 01:12:40 UTC
RADEON_CARD_PCI is defined in the radeon_drm.h file from the DRM repository.

I'm replacing the >&/dev/null with >/dev/null to be more shell-portable.

Closing this bug now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.