XFree86 / X.org for M54x5EVB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XFree86 / X.org for M54x5EVB

1,843 Views
Takemaru
Contributor I
Hello ColdFire guys,

Does anyone succeed to compile XFree86 or X.org for ColdFire?
I found XFree86 packcage in GPP and tried it and I have not
succeeded compile it for M5475EVB yet. Could you please advice me?
http://www.bitshrine.org/gpp/

Best Regards,
Takemaru
Labels (1)
0 Kudos
3 Replies

402 Views
Takemaru
Contributor I
I forgot to attach the error message on Linux(i686)+LTIB.

> gcc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
> /bin/sh: line 1: ./ccimake: cannot execute binary file
> gcc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o
> make[2]: Leaving directory `/trash/ltib/ltib/rpm/BUILD/XFree86/xc/config/imake'
> rm -f ./config/makedepend/Makefile.proto
> ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
> ./config/imake/imake: ./config/imake/imake: cannot execute binary file
> make[1]: *** [config/makedepend/Makefile.proto] Error 126
> make[1]: Leaving directory `/trash/ltib/ltib/rpm/BUILD/XFree86/xc'
> make: *** [World] Error 2
> error: Bad exit status from /trash/ltib/ltib/tmp/rpm-tmp.37202 (%build)

% file ./rpm/BUILD/XFree86/xc/config/imake/imake
./rpm/BUILD/XFree86/xc/config/imake/imake: ELF 32-bit MSB executable, Motorola 68020, version 1 (SYSV), \
for GNU/Linux 2.4.3, dynamically linked (uses shared libs), not stripped

I understood the reason of "cannot execute binary file" but I don't know
how to correct it.

Thanks.
0 Kudos

402 Views
Petter
Contributor II
What does "file ./config/imake/imake" (or whatever the path to the imake is) say? Is it a 68k binary? Or are you missing some dynamic libs?
0 Kudos

402 Views
Takemaru
Contributor I
Hi,

I found only one "imake" binary under the LTIB tree as shown below.

% uname -m -s
Linux i686
% cat /etc/redhat-release
Red Hat Enterprise Linux WS release 3 (Taroon Update 8)

% cd ~/ltib
% find . -name imake -type f -ls
./rpm/BUILD/XFree86/xc/config/imake/imake
% find . -name ccimake -type f -ls
./rpm/BUILD/XFree86/xc/config/imake/ccimake
% cd ./rpm/BUILD/XFree86/xc/config/imake
% file imake ccimake
imake : ELF 32-bit MSB executable, Motorola 68020, version 1 (SYSV), \
for GNU/Linux 2.4.3, dynamically linked (uses shared libs), not stripped
ccimake: ELF 32-bit MSB executable, Motorola 68020, version 1 (SYSV), \
for GNU/Linux 2.4.3, dynamically linked (uses shared libs), not stripped

I guess that "imake" and "ccimake" have to be builded for i686(not for m68k)
in a cross-compiling because the commnands are executed in this host.

I'm checking compile options in "~/ltib/dist/lfs-5.1/XFree86/XFree86.spec" file.

Thanks.
0 Kudos