[Openchrome-users] Many compilation errors on vanilla Ubuntu 6.06 (Dapper) system

Jon Nettleton jon.nettleton
Thu Jun 7 07:56:37 PDT 2007


On Thu, 2007-06-07 at 13:09 +0100, Stuart Rossiter wrote:
> Hi,
> 
>   Hope it's acceptable to post compilation problems (since it was for
> a vanilla OS build, thought it would be OK)......
> 
> I'm trying to compile openchrome on a basic Ubuntu Dapper setup using
> the latest 342 trunk revision and following the standard details at
> https://help.ubuntu.com/community/OpenChrome.
> 
> I've changed nothing from the basic distro (other than an apt-get
> upgrade), so am using 0.1.33.2-0ubuntu4 of the xserver-xorg-driver-via
> package.  I get all kinds of basic compilation errors:
> 
> It's trying to run:
> 
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I..    -DXFree86Server -DIN_MODULE -DXFree86Module
> -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
> -I/usr/include/drm -I/usr/include/X11/dri   -g -O2 -MT via_accel.lo
> -MD -MP -MF ".deps/via_accel.Tpo" -c -o via_accel.lo via_accel.c; \ 
>     then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo"; else rm -f
> ".deps/via_accel.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE
> -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
> -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD
> -MP -MF .deps/via_accel.Tpo -c via_accel.c  -fPIC -DPIC
> -o .libs/via_accel.o 
> 
> I won't post all the errors, but the top few are:
> 
> In file included from via.h:31,
>                  from via_accel.c:44:
> /usr/include/string.h:293: error: conflicting types for 'xf86memmove' 
> /usr/include/string.h:44: error: previous declaration of 'xf86memmove'
> was here
> /usr/include/string.h:296: error: conflicting types for 'xf86bzero'
> /usr/include/xorg/xf86_ansic.h:294: error: previous declaration of
> 'xf86bzero' was here 
> In file included from via.h:32,
>                  from via_accel.c:44:
> /usr/include/stdio.h:46: error: conflicting types for 'XF86FILE'
> /usr/include/xorg/xf86_libc.h:66: error: previous declaration of
> 'XF86FILE' was here 
> In file included from via.h:32,
>                  from via_accel.c:44:
> /usr/include/stdio.h:88: error: conflicting types for 'XF86fpos_t'
> /usr/include/xorg/xf86_libc.h:71: error: previous declaration of
> 'XF86fpos_t' was here 
> In file included from via.h:32,
>                  from via_accel.c:44:
> 
> Looks like some major differences between the dependencies source and
> the openchrome stuff. Since a change was made yesterday (6th June), I
> tried with the last revision before that as well but same result
> (given the nature of the change, didn't expect much luck). 
> 
> Is there anything fundamental I'm missing?? Is the complation prep
> clever enough to account for differing versions of dependent
> libraries?
> 
> Any insight appreciated.
> 

looks like you don't have the xorg-x11-server-sdk installed, or it is an
old version that had some bugs in it.  The Ubuntu community should be
able to help you fix this.

Jon





More information about the Openchrome-users mailing list