CrossComiling Xorg X11R7.1 for ARM (Error at makekeys : cannot execute binary)

zubair ahmed zubair17in at gmail.com
Mon Oct 16 00:13:25 PDT 2006


Hi ,
>
> I am back few more errors now.
> This what i did to bypass the error i was getting from libX11.
>
> copy the exsisting ks_tables.h (which was compiled using the host machine "NOT A CROSSCOMPILER") and replace the
> libX11/src/ks_tables.h
>
> then configure the libX11
>           ./configure --enable-malloc0returnsnull --build i686-redhat-linux-gnu --host arm-linux-gnu --prefix=/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile then comment the Makefile in src/Makefile "Which looks like this..."
> 	
> 	#ks_tables.h: $(KEYSYMDEF) $(top_builddir)/src/util/makekeys$(EXEEXT)
> 	#$(top_builddir)/src/util/makekeys < $(KEYSYMDEF) > ks_tables_h
> 	#mv ks_tables_h $@
>
> 	#$(top_builddir)/src/util/makekeys$(EXEEXT): force
> 	#cd util; $(MAKE)
>
> and libX11 dir
> 	execute the make and make install command respectively.
>
>  now error from linlbutil do the same as above...
then libXt did the same.






NO error now and the library files are inserted in the path given in
the prefix.
>
> NOW THE ERROR is in the application file appres-X11R7.0-1.0.0'



/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld:
warning: libXau.so.6, needed by
/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/libX11.so, not
found (try using -rpath or -rpath-link)
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld:
warning: libXdmcp.so.6, needed by
/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/libX11.so, not
found (try using -rpath or -rpath-link)
/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/libX11.so:
undefined reference to `XdmcpWrap'
/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/libX11.so:
undefined reference to `XauGetBestAuthByAddr'
/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/libX11.so:
undefined reference to `XauDisposeAuth'
collect2: ld returned 1 exit status
make[1]: *** [appres] Error 1
make[1]: Leaving directory
`/root/software/backUpForX11R7Gz/x11r7.0/everything/appres-X11R7.0-1.0.0'
make: *** [all] Error 2


Now here this is looking for libX11.so in this path
/root/software/backUpForX11R7Gz/x11r7.0/CrossCompile/lib/libX11.so

which is already there..

What is the problem .. is the libX11 bypass OK
or do i have to something else...


zubair




On 10/12/06, Daniel Stone <daniel at fooishbar.org> wrote:
> >
> > On Thu, Oct 12, 2006 at 05:07:09PM +0530, zubair ahmed wrote:
> > > Could you tell how to create this "ks_tables_h" cos i dont have the
> > target
> > > board with me right now.
> > > and have to go around this.
> >
> > Hi,
> > You can build the same libX11 on an i386 target and capture ks_tables_h
> > from there, then comment out the makekeys call; it _should_ be
> > arch-independent.
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061016/06f4e654/attachment.html>


More information about the xorg mailing list