[Appletv2+iOS] Error compiling with new dependences....
#1
I'm trying to compile a new build with darwin dependences, but I've this error:

Code:
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysinfo... no
checking for tzset... yes
checking for utime... yes
checking size of int... 4
checking size of size_t... 4
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [configure] Error 1

What's wrongHuh

BR
Reply
#2
Do exactly as described in the readme.ios ... seems you have missed something ...
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)
Reply
#3
Thanks for the answer....

I did exactly as described in the readme.ios

Code:
-----------------------------------------------------------------------------
3.1 Install Cross libs and runtime environment
-----------------------------------------------------------------------------

$ cd $HOME/XBMC
$ sudo mkdir -p /usr/local/bin; sudo cp tools/darwin/depends/gas-preprocessor/gas-preprocessor.pl /usr/local/bin/
$ cd tools/darwin/depends
$ ./bootstrap
$ ./configure --with-darwin=ios
$ make

-----------------------------------------------------------------------------
4. How to compile
-----------------------------------------------------------------------------
Both Xcode and Terminal compilation require that build environment be setup
from the step 3.1.

$ cd $HOME/XBMC
$ make -C tools/darwin/depends/xbmc
$ make clean
$ make xcode_depends
Reply
#4
don't forget the make after ./configure --with-darwin=ios

you don't have boost built which means more are also missing.
Reply
#5
and be sure to not forget the $ cd tools/darwin/depends
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)
Reply
#6
New error, in the last step:

Code:
xcodebuild -project XBMC-ATV2.xcodeproj -target XBMC -configuration Release build ONLY_ACTIVE_ARCH=YES ARCHS=armv7 VALID_ARCHS=armv7 IPHONEOS_DEPLOYMENT_TARGET=4.1 SDKROOT=iphoneos4.2

Other steps worked without problem. The error:

Code:
ld: library not found for -lssh
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1


** BUILD FAILED **


The following build commands failed:
    Ld build/Release-iphoneos/XBMC.frappliance/XBMC.bin normal armv7
(1 failure)
Reply
#7
your darwin/depends is stale.
Reply
#8
what can I do? make distclean under xbmc/tools/darwin/depends?
Reply
#9
make -C tools/darwin/depends clean
make -C tools/darwin/depends

make -C tools/darwin/depends/xbmc
...
Reply
#10
Hi, since today I cannot build anymore. When doing make xcode_depends I get the following error:

Code:
make -C ffmpeg
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld -arch armv7 -iphoneos_version_min 4.1 -bundle -undefined dynamic_lookup -read_only_relocs suppress -alias_list /Users/emkay/XBMC/xbmc/xbmc/cores/DllLoader/exports/wrapper_mach_alias  -o /Users/emkay/XBMC/xbmc/system/players/dvdplayer/avfilter-1-arm-osx.so \
        /Users/emkay/XBMC/xbmc/xbmc/cores/DllLoader/exports/wrapper.o ffmpeg/libavfilter/arm/*.o \
        ffmpeg/libavfilter/*.o
ld: file not found: ffmpeg/libavfilter/arm/*.o
make[1]: *** [/Users/emkay/XBMC/xbmc/system/players/dvdplayer/avfilter-1-arm-osx.so] Error 1
make: *** [dvdpcodecs] Error 2

I already tried to start form beginning: Rebuild the complete git repository, doing all the preparations etc. But make xcode_depends fails because of a missing file. That is strange.

Anybody some suggestions?

Thanks,
EmKay


UPDATE:

Had a little chat with amet, and he found an error in Makefile.in in Lib. So I hope it will get fixed soon. CU
Reply
#11
emkay Wrote:Hi, since today I cannot build anymore. When doing make xcode_depends I get the following error:

Code:
make -C ffmpeg
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld -arch armv7 -iphoneos_version_min 4.1 -bundle -undefined dynamic_lookup -read_only_relocs suppress -alias_list /Users/emkay/XBMC/xbmc/xbmc/cores/DllLoader/exports/wrapper_mach_alias  -o /Users/emkay/XBMC/xbmc/system/players/dvdplayer/avfilter-1-arm-osx.so \
        /Users/emkay/XBMC/xbmc/xbmc/cores/DllLoader/exports/wrapper.o ffmpeg/libavfilter/arm/*.o \
        ffmpeg/libavfilter/*.o
ld: file not found: ffmpeg/libavfilter/arm/*.o
make[1]: *** [/Users/emkay/XBMC/xbmc/system/players/dvdplayer/avfilter-1-arm-osx.so] Error 1
make: *** [dvdpcodecs] Error 2

I already tried to start form beginning: Rebuild the complete git repository, doing all the preparations etc. But make xcode_depends fails because of a missing file. That is strange.

Anybody some suggestions?

Thanks,
EmKay


UPDATE:

Had a little chat with amet, and he found an error in Makefile.in in Lib. So I hope it will get fixed soon. CU

try this -> https://github.com/xbmc/xbmc/commit/6217...d3c06f711d
Reply
#12
Thanks amet,

I will try and build again...

UPDATE:
Everything is fine now, and beenje did correct the error, too: https://github.com/xbmc/xbmc/commit/abca...97b632b23b
Reply
#13
Using terminal:

no makefile rule, make Xcode depends - stop.

Using Xcode:

In file included from /Users/alexdzn/Documents/xbmc/lib/UnrarXLib/rdwrfn.hpp:7,
from /Users/alexdzn/Documents/xbmc/lib/UnrarXLib/rar.hpp:39,
from /Users/alexdzn/Documents/xbmc/lib/UnrarXLib/unpack.cpp:1:
xbmc/system.h:25:20: error: config.h: No such file or directory
xbmc/system.h:160:29: error: ../git_revision.h: No such file or directory
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

What can I do to compile Atv2 build.All steps are from readme.ios.
Reply
#14
Makefile was just updated I believe. Try again.

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
#15
Cranial Wrote:Makefile was just updated I believe. Try again.

In file included from /Users/alexdzn/Documents/xbmc/lib/UnrarXLib/rdwrfn.hpp:7,
from /Users/alexdzn/Documents/xbmc/lib/UnrarXLib/rar.hpp:39,
from /Users/alexdzn/Documents/xbmc/lib/UnrarXLib/unpack.cpp:1:
xbmc/system.h:25:20: error: config.h: No such file or directory
xbmc/system.h:160:29: error: ../git_revision.h: No such file or directory

The same ....
Reply

Logout Mark Read Team Forum Stats Members Help
[Appletv2+iOS] Error compiling with new dependences....0