Bug 25745 - error: radeon_bo_int.h: No such file or directory
Summary: error: radeon_bo_int.h: No such file or directory
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R100 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 09:39 UTC by udo
Modified: 2009-12-21 09:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description udo 2009-12-21 09:39:39 UTC
Compile of git fails.
Folowed this howto: http://turqee.tumblr.com/post/230394871/dri2-for-radeon-r600-700-chipsets-on-ubuntu-9-10

mturquette@quantum:~/src/mesa$ ./autogen.sh 
mturquette@quantum:~/src/mesa$ ./configure --prefix=/opt/xorg --with-dri-drivers=radeon,r600 --disable-gallium
mturquette@quantum:~/src/mesa$ make -j16
mturquette@quantum:~/src/mesa$ sudo make install

gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBDRM_RADEON=1 -I/usr/include/drm   -DRADEON_R100 -Wall radeon_sanity.c -o radeon_sanity.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm    -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBDRM_RADEON=1 -I/usr/include/drm   -DRADEON_R100 -Wall radeon_bo_legacy.c -o radeon_bo_legacy.o
radeon_bo_legacy.c:54:27: error: radeon_bo_int.h: No such file or directory
radeon_bo_legacy.c:66: error: field ‘base’ has incomplete type
radeon_bo_legacy.c: In function ‘legacy_is_pending’:
radeon_bo_legacy.c:198: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:213: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘legacy_wait_pending’:
radeon_bo_legacy.c:229: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘bo_dma_alloc’:
radeon_bo_legacy.c:334: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:347: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:358: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘bo_dma_free’:
radeon_bo_legacy.c:366: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘bo_unref’:
radeon_bo_legacy.c:490: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘bo_map’:
radeon_bo_legacy.c:505: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:512: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:528: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘bo_unmap’:
radeon_bo_legacy.c:546: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘bo_is_busy’:
radeon_bo_legacy.c:554: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: At top level:
radeon_bo_legacy.c:572: warning: initialization from incompatible pointer type
radeon_bo_legacy.c:573: warning: initialization from incompatible pointer type
radeon_bo_legacy.c:574: warning: initialization from incompatible pointer type
radeon_bo_legacy.c:575: warning: initialization from incompatible pointer type
radeon_bo_legacy.c:577: warning: initialization from incompatible pointer type
radeon_bo_legacy.c:581: warning: initialization from incompatible pointer type
radeon_bo_legacy.c: In function ‘bo_vram_validate’:
radeon_bo_legacy.c:587: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:596: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:636: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:642: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:644: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:668: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:669: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:673: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:681: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘radeon_bo_legacy_validate’:
radeon_bo_legacy.c:710: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:717: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:720: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:726: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:730: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:746: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘radeon_bo_legacy_pending’:
radeon_bo_legacy.c:755: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c: In function ‘radeon_bo_legacy_relocs_size’:
radeon_bo_legacy.c:908: error: dereferencing pointer to incomplete type
radeon_bo_legacy.c:911: error: dereferencing pointer to incomplete type
gmake[6]: *** [radeon_bo_legacy.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory `/usr/src/mesa/src/mesa/drivers/dri/radeon'
gmake[5]: *** [lib] Error 2
gmake[5]: Leaving directory `/usr/src/mesa/src/mesa/drivers/dri/radeon'
gmake[4]: *** [subdirs] Error 1
gmake[4]: Leaving directory `/usr/src/mesa/src/mesa/drivers/dri'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/usr/src/mesa/src/mesa/drivers'
gmake[2]: *** [driver_subdirs] Error 2
gmake[2]: Leaving directory `/usr/src/mesa/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/mesa/src'
make: *** [default] Error 1

So where is that header file?
Comment 1 Marcin Kościelnicki 2009-12-21 09:46:02 UTC
In libdrm git.
Comment 2 Martin Peres 2009-12-21 09:47:53 UTC
The API has been updated.

Please recompile the master branch of libdrm. You'll then need to recompile mesa and your ddx.

I think this entry should be set as NOTABUG.
Comment 3 udo 2009-12-21 09:57:50 UTC
After consulting #radeonhd I did `yum --enablerepo=rawhide update  libdrm`
which have me libdrm 2.4.17 and devel of 2.4.17.
Then mesa git built again.


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.