Thread: Cross compile for arm5tejl
hello there!
use patched mediatomb nas 110 uses debian lenny. therefore want create arm deb package (armv5tejl) , distribute world. have feeling going wrong way here.
have managed set pdaxrom, compile helloworld (although didn't run it) , stuck how can configure mediatomb. goal use checkinstall in end , create deb file.
followed instructions
http://artisan.karma-lab.net/node/66/revisions/66/view
still stuck @ configure
nick@ubuntu:~/programs/mediatomb$ ./configure --enable-static
checking bsd-compatible install... /usr/bin/install -c
checking whether build environment sane... yes
checking thread-safe mkdir -p... /bin/mkdir -p
checking gawk... no
checking mawk... mawk
checking whether make sets $(make)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: building static executable.
checking whether c++ compiler works... no
configure: error: in `/home/nick/programs/mediatomb':
configure: error: c++ compiler cannot create executables
see `config.log' more details
nick@ubuntu:~/programs/mediatomb$
config.log lies here http://pastebin.com/jc0emgsq
plus sh file intiates environment
#!/bin/bash
. /etc/profile
export cross_home=/opt/cross/arm/3.4.6-xscale-softvfp
export path=$cross_home/bin:$path:.
#export path=/opt/cross/arm/3.4.5-xscale-softvfp/bin:$path
export qtdir=$cross_home/armv5tel-cacko-linux/qt
export kdedir=$cross_home/armv5tel-cacko-linux/qt
export x11inc=$cross_home/armv5tel-cacko-linux/include
export x11lib=$cross_home/armv5tel-cacko-linux/lib
export pkg_config_path=$cross_home/armv5tel-cacko-linux/lib/pkgconfig
export ld_library_path=$cross_home/lib
export cc=/opt/cross/arm/3.4.6-xscale-softvfp/bin/armv5tel-linux-gcc
export cxx=/opt/cross/arm/3.4.6-xscale-softvfp/bin/armv5tel-linux-g++
export ldflags="-wl,-rpath-link,$cross_home/armv5tel-cacko-linux/x11r6/lib"
export config="-host=armv5tel-cacko-linux --build=i686-linux --x-includes=$cross_home/armv5tel-cacko-linux/x11r6/include --x-libraries=$cross_home/armv5tel-cacko-linux/x11r6/lib --disable-debug"
export qmakespec="$cross_home/armv5tel-cacko-linux/qt/mkspecs/default"
echo "type exit end environment"
/bin/bash
thank in advance time.
γεια σας,
have libc6-dev package installed?
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Cross compile for arm5tejl
Ubuntu
Comments
Post a Comment