pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Two Problems with wip/xf86-video-ati



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 <thegraze%googlemail.com@localhost>:
> Hello!
>
>  I have two problems with wip/xf86-video-ati 6.8.0nb1
>
>  1. The line 39 in Makefile has a wrong syntax. So I must delete this
>  comment, then I can start the compiling. [i use the tcsh]
>
>
>  But I get a compiling error. I use DFly 1.12.2. And I couldn't find
>  the problem. So please help me.
>
>  thegraze
>
>  Here is the attachment with the compiling error:
>
>  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
>


Home | Main Index | Thread Index | Old Index