Posts: 16
Joined: Dec 2012
Reputation:
0
i am compiling xbmc frodo beta3 no-NENON. i follow the docs/README.android, and use the toolchain: android-toolchain-crystax/android-9.
i did it successfully when i compiling the beta1.But this time, i met an error:
error: undefined reference to 'PERIPHERALS::CPeripheralBusUSB::CPeripheralBusUSB(PERIPHERALS::CPeripherals*)'
i spent one days solving it and the google gives no more help.
i appreciate for someone's suggestion.
Thanks.
Posts: 16
Joined: Dec 2012
Reputation:
0
i compiled the beta3 for set-top box.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
your build system is stale ... you need to reconfigure.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 16
Joined: Dec 2012
Reputation:
0
thank you, Memphiz. This morning, i reconfigured, and rebuilt it.
but i met another error:
*** No rule to make target `/home/sunxt/XBMC-version/xbmc/lib/libdvd/libdvdnav/src/dvdnav.c', needed by `dvdnav.o'. Stop.
i vi the Makefile in ~/XBMC-version/xbmc-android-tegra2/xbmc/lib/libdvd/libdvdnav/ .
how to compile dvdnav.c is clear. i do not konw why.
i checked the configure according to README.android.
could someone give me a suggestion?
Posts: 16
Joined: Dec 2012
Reputation:
0
thank you,Memphiz. i will follow you suggestion,and rebuild it.
Posts: 16
Joined: Dec 2012
Reputation:
0
hi, Memphiz. when i rebuild the xbmc, i met the error before.
Peripherals.cpp:85: error: undefined reference to 'PERIPHERALS::CPeripheralBusUSB::CPeripheralBusUSB(PERIPHERALS::CPeripherals*)'
collect2: ld returned 1 exit status
i build my xbmc no-NEON as followed:
build depends
# cd xbmc-android-tegra2/xbmc/tools/android/depends
# ./bootstrap
# ./configure --with-sdk=/opt/xbmc/android-sdk --with-ndk=/opt/xbmc/android-ndk --with-toolchain=/home/$USER/xbmc-android/android-toolchain-crystax/android-9 --with-tarballs=/opt/xbmc/xbmc-android-tarballs
# make -j 8
build android
# cd ../../../
# make -C tools/android/depends/xbmc
could you help me about this?
thank you .
Posts: 16,946
Joined: Feb 2011
Reputation:
256
The problem is that you are missing the libusb dependency. Are you using your own branch for non-neon?
make -C tools/android/depends/libusb
and then
make -C tools/android/depends/xbmc
should get you going again.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
maybe actually read and comprehend README.android. It tells you exactly what to do with tools/android/depends
make -C tools/android/depends/libusb
^^ that's a command to make using the Makefile in tools/android/depends/libusb, the Makefile will fetch/build and install libusb for android usage.
Posts: 16
Joined: Dec 2012
Reputation:
0
With Memphiz's help, i have solved this problem.
Thanks, Memphiz.
The key is that i donot have permission to write /opt/xbmc/xbmc-android-tarballs.
thank you all.