Cross Compilation problem in libdmx package.

Ankit garg ankitgargakg at gmail.com
Thu Jul 7 23:44:53 PDT 2011


Hi,

I am trying to cross compile libdmx-1.1.1 package using a mipsel toolchain
but I am not able to do it. I am not expert in cross compilation of packages
and I followed the INSTALL instructions to do configuration, I am getting
following error:-

[root at localhost libdmx-1.1.1]# make
make  all-recursive
make[1]: Entering directory `/home/ankit/Downloads/X_code/libdmx-1.1.1'
Making all in src
make[2]: Entering directory `/home/ankit/Downloads/X_code/libdmx-1.1.1/src'
  CC     dmx.lo
  CCLD   libdmx.la
/home/toolchain/entone_bcm/bin/mipsel-linux-ar: .libs/libdmx.a: No such file
or directory
make[2]: *** [libdmx.la] Error 1
make[2]: Leaving directory `/home/ankit/Downloads/X_code/libdmx-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ankit/Downloads/X_code/libdmx-1.1.1'
make: *** [all] Error 2

I am using below command to configure

./configure --host=mipsel
CC="/home/toolchain/entone_bcm/bin/mipsel-linux-gcc"
CXX="/home/toolchain/entone_bcm/bin/mipsel-linux-g++"
CPP="/home/toolchain/entone_bcm/bin/mipsel-linux-gcc -E"
CXXCPP="/home/toolchain/entone_bcm/bin/mipsel-linux-g++ -E"
LINK="/home/toolchain/entone_bcm/bin/mipsel-linux-g++"
LINK_SHLIB="/home/toolchain/entone_bcm/bin/mipsel-linux-g++"
AR="/home/toolchain/entone_bcm/bin/mipsel-linux-ar cqs"
OBJCOPY="/home/toolchain/entone_bcm/bin/mipsel-linux-objcopy"
STRIP="/home/toolchain/entone_bcm/bin/mipsel-linux-strip"
RANLIB="/home/toolchain/entone_bcm/bin/mipsel-linux-ranlib"
NM="/home/toolchain/entone_bcm/bin/mipsel-linux-nm -B"
STRINGS="/home/toolchain/entone_bcm/bin/mipsel-linux-strings"
LD="/home/toolchain/entone_bcm/bin/mipsel-linux-ld"
OBJDUMP="/home/toolchain/entone_bcm/bin/mipsel-linux-objdump"
RUN="/home/toolchain/entone_bcm/bin/mipsel-linux-run"

When I am configuring it using my system environment (i.e. Intel
architecture) then every thing works fine.

Please help me on this, I am also attaching my package which I am trying to
compile. This package has makefiles generated by configure script for mipsel
toolchain.

-- 
Regards
Garg Ankit
--
ankiitgarg.blogspot.com



-- 
Regards
Garg Ankit
--
ankiitgarg.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110708/2a400d81/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdmx-1.1.1.tgz
Type: application/x-gzip
Size: 465143 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110708/2a400d81/attachment-0001.bin>


More information about the xorg-devel mailing list