I solved the problem :) I added
|| defined(__DragonFly__) in src/AtomBios/includes/CD_Common_Types.h and then it works fine thegraze 2008/5/2 thegraze <[EMAIL PROTECTED]>: > Hello! > > I installed DragonFly 1.12.2 on my computer. > > When I compile the pkgsrc-wip/xf86-video-ati 6.8.0 I get the following > errors [see at the end of this mail] > > The version 6.6.3 from pkgsrc-current compiles fine, but its too old > for my Radeon HD 2400 XT. Only the 6.8.0 works. The radeonhd compiles > also fine, but it isn't an alternative for me, because it works not > with my graphics card. > > I hope anyone find the problem and can help me > > thegraze > > > [ATTACHMENT] > if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. > -I. -I.. -I./AtomBios/includes -I/usr/pkg/include -I/usr/include > -Wall -I/usr/pkg/include/xorg -I/usr/pkg/include -I/usr/pkg/include > -I/usr/pkg/include/drm -I/usr/pkg/include/X11/dri -DDISABLE_EASF > -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER > -DFGL_LINUX -DDRIVER_PARSER -O2 -I/usr/pkg/include -I/usr/include -MT > radeon_driver.lo -MD -MP -MF ".deps/radeon_driver.Tpo" -c -o > radeon_driver.lo radeon_driver.c; \ > then mv -f ".deps/radeon_driver.Tpo" ".deps/radeon_driver.Plo"; else > rm -f ".deps/radeon_driver.Tpo"; exit 1; fi > cc -DHAVE_CONFIG_H -I. -I.. -I./AtomBios/includes > -I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include -Wall > -I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include/xorg > -I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include/drm > -I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include/X11/dri > -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS > -DATOM_BIOS_PARSER -DDRIVER_PARSER -O2 -MT radeon_driver.lo -MD -MP > -MF .deps/radeon_driver.Tpo -c radeon_driver.c -fPIC -DPIC -o > .libs/radeon_driver.o > In file included from radeon_atombios.h:133, > from radeon_driver.c:77: > ./AtomBios/includes/CD_Common_Types.h:54: error: conflicting types for > 'uint32_t' > /usr/include/stdint.h:41: error: previous declaration of 'uint32_t' was here > ./AtomBios/includes/CD_Common_Types.h:55: error: conflicting types for > 'int32_t' > /usr/include/stdint.h:36: error: previous declaration of 'int32_t' was here > ./AtomBios/includes/CD_Common_Types.h:76: warning: ignoring #pragma warning > ./AtomBios/includes/CD_Common_Types.h:150: warning: ignoring #pragma warning > gmake[2]: *** [radeon_driver.lo] Error 1 > gmake[2]: Leaving directory > `/usr/pkgsrc/wip/xf86-video-ati/work/xf86-video-ati-6.8.0/src' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/usr/pkgsrc/wip/xf86-video-ati/work/xf86-video-ati-6.8.0' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop. > bmake: stopped in /usr/pkgsrc/wip/xf86-video-ati > *** Error code 1 > > Stop. > bmake: stopped in /usr/pkgsrc/wip/xf86-video-ati >
