Re: xfree86 4.5 cross compilation
Marco Longhin <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, yuppy.. I have success with xfree cross compilation. It finds the binary and run.... but it stops after 15 min. with an strange error: ------------------------------------------------------------------------------------------------------------ PROTO -DXFree86Module fbdevhw.c fbdevhw.c: In function `calculateFbmem_len': fbdevhw.c:548: error: `PAGE_MASK' undeclared (first use in this function) fbdevhw.c:548: error: (Each undeclared identifier is reported only once fbdevhw.c:548: error: for each function it appears in.) fbdevhw.c: In function `fbdevHWMapVidmem': fbdevhw.c:575: error: `PAGE_MASK' undeclared (first use in this function) fbdevhw.c: In function `fbdevHWMapMMIO': fbdevhw.c:620: error: `PAGE_MASK' undeclared (first use in this function) fbdevhw.c: In function `fbdevHWUnmapMMIO': fbdevhw.c:644: error: `PAGE_MASK' undeclared (first use in this function) make[6]: *** [fbdevhw.o] Error 1 make[6]: Leaving directory /xserver/xc/programs/Xserver/hw/xfree86/fbdevhw' make[5]: *** [all] Error 2 make[5]: Leaving directory xserver/xc/programs/Xserver/hw/xfree86' make[4]: *** [hw/xfree86] Error 2 make[4]: Leaving directory `//xserver/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `xserver/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory xserver/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/xserver/xc' make: *** [World] Error 2 ------------------------------------------------------------------------------------------------------------------------------------------------------------------- the variable PAGE_MASK is a system variable definited into kernel headers asm/page.h this file is included in the fbdevhw.c What I could do? thankU 2005/12/23, Tim Roberts <[email protected]>: > > zhanglei wrote: > > > Make sure cc command in your $PATH directories !!! > > > > Marco Longhin wrote: > > > >> I'm cross compiling Xfree86 (4.5.0) with TinyX, but I haven't success!! > >> Is There anybody that have success with it? > >> Could you tell me how do it? > >> Do you know any documentation how to use it? > >> > >> this is my work... > >> > >> ...making imake with BOOTSTRAPCFLAGS= and > >> > CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin" > >> in config/imake > >> cc -o ccimake > >> > -DCROSSCOMPILEDIR=\"/home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin\" > >> -O -I../../include -I../../imports/x11/include/X11 ccimake.c > >> if [ -n > >> > "/home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin" > >> ] ; then \ > >> > /home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin/cc > >> -E `./ccimake` \ > >> -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \ > >> else touch imakemdep_cpp.h; fi > >> cc: No such file or directory > > > > And, just in case it isn't clear, the "cc" in your path must be the > NATIVE compiler, not the cross-compiler. The build process has to build > a couple of the tools that will be used later on. > > -- > Tim Roberts, [email protected] > Providenza & Boekelheide, Inc. > > _______________________________________________ > Devel mailing list > [email protected] > http://XFree86.Org/mailman/listinfo/devel > -- Marco Longhin - <giaNNi> <plailopo> <MarcoLo> ----------------------------------------------------------------------------------------------------------------- "Noi non cesseremo l'esplorazione e la fine di tutto il nostro esplorare, sarà giungere laddove siamo partiti e conoscere quel posto per la prima volta." T.S. Elliot