[Openchrome-users] Error when compiling Openchrome in Ubuntu

userforum@openchrome.org userforum
Sun Feb 12 10:36:18 PST 2006


Re: Error when compiling Openchrome in Ubuntu

Hi,
i am running Dapper Drake f3 and have other problems when compiling the openchrome driver against a X.org7 modular tree (CVS HEAD). i have all recommended tolls for the xorg tree installed. 
maybe my x tree does not compile enough anyway? well, it quits after an hour compilation (in  xorg/xserver/xorg/hw/xfree86/int10) so i thing there was enough skeleton produced, right?

now, my problem with opencrome shows up when doing the make.

make[3]: Entering directory `/home/ganix/test/modular_branch/src/xvmc'
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/home/ganix/modular/include/xorg -I/home/ganix/modular/include    -I../../src -I../../src/xvmc -DTRUE=1 -DFALSE=0 -g -O2 -MT libviaXvMC_la-viaLowLevel.lo -MD -MP -MF ".deps/libviaXvMC_la-viaLowLevel.Tpo" \
          -c -o libviaXvMC_la-viaLowLevel.lo `test -f 'viaLowLevel.c' || echo './'`viaLowLevel.c; \
        then mv -f ".deps/libviaXvMC_la-viaLowLevel.Tpo" ".deps/libviaXvMC_la-viaLowLevel.Plo"; \
        else rm -f ".deps/libviaXvMC_la-viaLowLevel.Tpo"; exit 1; \
        fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/home/ganix/modular/include/xorg -I/home/ganix/modular/include -I../../src -I../../src/xvmc -DTRUE=1 -DFALSE=0 -g -O2 -MT libviaXvMC_la-viaLowLevel.lo -MD -MP -MF .deps/libviaXvMC_la-viaLowLevel.Tpo -c viaLowLevel.c  -fPIC -DPIC -o .libs/libviaXvMC_la-viaLowLevel.o
In file included from ../../src/via_drm.h:35,
                 from ../../src/via_xvmc.h:29,
                 from viaXvMCPriv.h:34,
                 from viaLowLevel.c:38:
../../src/via_drmclient.h:27:17: error: drm.h: No such file or directory
In file included from ../../src/via_drmclient.h:28,
                 from ../../src/via_drm.h:35,
                 from ../../src/via_xvmc.h:29,
                 from viaXvMCPriv.h:34,
                 from viaLowLevel.c:38:
/usr/include/xf86drm.h:39:17: error: drm.h: No such file or directory
In file included from ../../src/via_drmclient.h:28,
                 from ../../src/via_drm.h:35,
                 from ../../src/via_xvmc.h:29,
                 from viaXvMCPriv.h:34,
                 from viaLowLevel.c:38:
/usr/include/xf86drm.h:224: error: syntax error before 'drm_context_t'
/usr/include/xf86drm.h:234: error: syntax error before '}' token
/usr/include/xf86drm.h:237: error: syntax error before 'drm_handle_t'
/usr/include/xf86drm.h:241: error: syntax error before '}' token

(this kind of error is generated for some more screens...)

anyway, i bet it is possible to do so: as this person tells:
http://wiki.openchrome.org/pipermail/openchrome-users/2005-November/000179.html

so, how do i do this?

running my X with 60Hz vesa is painfull, unichrome does not support my pciid (ASRock board 775VM800 with VIA P4M800 chipset)

i was able to try the openchrome driver with a monolithic tree (6.*) and it was working. so i want it to compile against the 7.0 too.

bye

> Anonymous:
> Hi!
> I currently try to get the Openchrome driver to work under Ubuntu Dapper 
> Drake. 
> 
> I followed the instructions on 
> http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=Compiling+the+source+codehttp://wiki.openchrome.org/tikiwiki/tiki-index.php?page=Compiling+the+source+code 
> in the section "Modular build". After installing lots of applications like 
> automake I am at the point that I can run autogen.sh without getting a notice 
> that a program is missing.
> 
> But now an error appears.
> 





More information about the Openchrome-users mailing list