Christian König wrote:
You need to install libdrm-dev.
sudo apt-get install libdrm-dev
should fix this.
Christian, That got me further. I found I also needed libgl1-mesa-dev: sudo apt-get libgl1-mesa-dev Thanks for the pointer, hope this helps anyone else who is tracking this. Tony.
Christian.
Am Dienstag, den 27.05.2008, 23:55 +0100 schrieb Tony Sweeney:
Adam Williamson wrote:
On Tue, 2008-05-27 at 18:01 +0200, Matthias Hopf wrote:
I just pushed DRI support to master for radeonhd. Yippie!
Having trouble building this on current Mandriva Cooker (which is not bleeding edge X.org, in case that's important). Well, I figure it's this that's breaking, but hey, it could be the scaler or RS780 stuff. Anyway :) Here's the error:
In file included from /usr/include/xorg/opaque.h:48, from /usr/include/xorg/windowstr.h:60, from /usr/include/xorg/exa.h:36, from rhd_dri.c:60: /usr/include/setjmp.h:49: error: conflicting types for 'xf86jmp_buf' /usr/include/xorg/xf86_libc.h:99: error: previous declaration of 'xf86jmp_buf' was here /usr/include/setjmp.h:53: error: expected ')' before '==' token /usr/include/setjmp.h:82: error: conflicting types for 'xf86longjmp' /usr/include/xorg/xf86_ansic.h:292: error: previous declaration of 'xf86longjmp' was here
any advice on the best fix? Thanks.
Also having problems on Ubuntu 8.04 64-bit:
sweeney@homunculus:~/xf86-video-radeonhd/build2$ make make all-recursive make[1]: Entering directory `/home/sweeney/xf86-video-radeonhd/build2' Making all in man make[2]: Entering directory `/home/sweeney/xf86-video-radeonhd/build2/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/sweeney/xf86-video-radeonhd/build2/man' Making all in src make[2]: Entering directory `/home/sweeney/xf86-video-radeonhd/build2/src' /bin/bash ../.././git_version.sh -k -s ../../. -o git_version.h git_version.sh: Output is unchanged, keeping git_version.h make all-am make[3]: Entering directory `/home/sweeney/xf86-video-radeonhd/build2/src' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.././src -I.. -I../.././src/AtomBios/includes -I/usr/include/xorg -I/usr/include/pixman-1 -Wall -Wextra -Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing -Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var -Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wdisabled-optimization -pedantic -Wno-long-long -Wno-variadic-macros -g -O2 -finline-functions -MT radeonhd_drv_la-rhd_driver.lo -MD -MP -MF .deps/radeonhd_drv_la-rhd_driver.Tpo -c -o radeonhd_drv_la-rhd_driver.lo `test -f 'rhd_driver.c' || echo '../.././src/'`rhd_driver.c gcc -DHAVE_CONFIG_H -I. -I../.././src -I.. -I../.././src/AtomBios/includes -I/usr/include/xorg -I/usr/include/pixman-1 -Wall -Wextra -Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing -Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var -Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wdisabled-optimization -pedantic -Wno-long-long -Wno-variadic-macros -g -O2 -finline-functions -MT radeonhd_drv_la-rhd_driver.lo -MD -MP -MF .deps/radeonhd_drv_la-rhd_driver.Tpo -c ../.././src/rhd_driver.c -fPIC -DPIC -o .libs/radeonhd_drv_la-rhd_driver.o In file included from /usr/include/xorg/miscstruct.h:54, from /usr/include/xorg/regionstr.h:53, from /usr/include/xorg/region.h:51, from /usr/include/xorg/window.h:52, from /usr/include/xorg/input.h:55, from /usr/include/xorg/xf86str.h:38, from /usr/include/xorg/xf86.h:45, from ../.././src/rhd_driver.c:35: /usr/include/pixman-1/pixman.h:504: warning: comma at end of enumerator list In file included from /usr/include/xorg/glyphstr.h:29, from /usr/include/xorg/picturestr.h:28, from /usr/include/xorg/fb.h:44, from ../.././src/rhd_driver.c:67: /usr/include/xorg/picture.h:119: warning: comma at end of enumerator list In file included from ../.././src/rhd_dri.h:33, from ../.././src/rhd_driver.c:115: /usr/include/GL/glxint.h:28:19: error: GL/gl.h: No such file or directory In file included from ../.././src/rhd_dri.h:33, from ../.././src/rhd_driver.c:115: /usr/include/GL/glxint.h:95: error: expected specifier-qualifier-list before ‘GLboolean’ In file included from ../.././src/rhd_driver.c:115: ../.././src/rhd_dri.h:34:21: error: xf86drm.h: No such file or directory make[3]: *** [radeonhd_drv_la-rhd_driver.lo] Error 1 make[3]: Leaving directory `/home/sweeney/xf86-video-radeonhd/build2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/sweeney/xf86-video-radeonhd/build2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sweeney/xf86-video-radeonhd/build2' make: *** [all] Error 2 sweeney@homunculus:~/xf86-video-radeonhd/build2$
The problem did not manifest when I pulled and built the RS780 code yesterday (which works great, incidentally, thanks Egbert!). I made a fresh build directory (build2 above) and reran autogen.sh to make sure I was getting a clean build. I have the standard Xorg development packages installed, radeonhd is the only package I am trying to build from source.
Tony.
-- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org