Linux Trouble compiling on arm7 device
#1
I am trying to compile xbmc on my Ubuntu (maverick) webtop.
This device has a OMAP4 chip. Linaro does have a ppa for the pandaboard which appears to include xbmc (but not xbmc-bin?), but it is for Precise, and I can't upgrade the webtop due to some limitations Motorola has imposed on the webtop/android integration.

I have been able to install all of the dependencies except:
samba (which has some sort of config problem reported by dpkg)
libbison-dev
libbluray-dev
libboost1.49-dev
libjbig-dev
libp11-kit-dev
libstdc++6-4-6-dev
libtinfo-dev
libwebp-dev

I have not been able to find maverick (armel) versions of these programs.

I went ahead and tried to bootstrap and configure anyway. I was able to successfully bootstrap, but when I try to configure I get an error:

Code:
adas@localhost:/home/adas/xbmc$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/home/adas/xbmc':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
adas@localhost:/home/adas/xbmc$

config.log says this:
Quote:This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xbmc configure 11.9.5, which was
generated by GNU Autoconf 2.67. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = armv7l
uname -r = 2.6.35.7-g83f1a47
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri Jan 6 20:17:17 CST 2012

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3480: checking for a BSD-compatible install
configure:3548: result: /usr/bin/install -c
configure:3559: checking whether build environment is sane
configure:3609: result: yes
configure:3750: checking for a thread-safe mkdir -p
configure:3789: result: /bin/mkdir -p
configure:3802: checking for gawk
configure:3818: found /usr/bin/gawk
configure:3829: result: gawk
configure:3840: checking whether make sets $(MAKE)
configure:3862: result: yes
configure:3946: checking build system type
configure:3960: result: armv7l-unknown-linux-gnueabi
configure:3980: checking host system type
configure:3993: result: armv7l-unknown-linux-gnueabi
configure:4597: checking for g++
configure:4613: found /usr/bin/g++
configure:4624: result: g++
configure:4651: checking for C++ compiler version
configure:4660: g++ --version >&5
g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright © 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4671: $? = 0
configure:4660: g++ -v >&5
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
configure:4671: $? = 0
configure:4660: g++ -V >&5
g++: '-V' option must have argument
configure:4671: $? = 1
configure:4660: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4671: $? = 1
configure:4691: checking whether the C++ compiler works
configure:4713: g++ conftest.cpp >&5
g++: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4717: $? = 1
configure:4755: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xbmc"
| #define PACKAGE_TARNAME "xbmc"
| #define PACKAGE_VERSION "11.9.5"
| #define PACKAGE_STRING "xbmc 11.9.5"
| #define PACKAGE_BUGREPORT "http://trac.xbmc.org"
| #define PACKAGE_URL ""
| #define PACKAGE "xbmc"
| #define VERSION "11.9.5"
| #define LIRC_DEVICE "/dev/lircd"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4760: error: in `/home/adas/xbmc':
configure:4762: error: C++ compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##
...
## ----------------- ##
## Output variables. ##
## ----------------- ##
...
bindir='${exec_prefix}/bin'
build='armv7l-unknown-linux-gnueabi'
build_alias=''
build_cpu='armv7l'
build_os='linux-gnueabi'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='armv7l-unknown-linux-gnueabi'
host_alias=''
host_cpu='armv7l'
host_os='linux-gnueabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/adas/xbmc/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

XBMC_STANDALONE_SH_PULSE=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "xbmc"
#define PACKAGE_TARNAME "xbmc"
#define PACKAGE_VERSION "11.9.5"
#define PACKAGE_STRING "xbmc 11.9.5"
#define PACKAGE_BUGREPORT "http://trac.xbmc.org"
#define PACKAGE_URL ""
#define PACKAGE "xbmc"
#define VERSION "11.9.5"
#define LIRC_DEVICE "/dev/lircd"

configure: exit 77
Reply
#2
bump?
Reply

Logout Mark Read Team Forum Stats Members Help
Trouble compiling on arm7 device0