i want vlc-android could play live stream video,so i must port live555 to android,right?
i chanage vlc-android/extras/contrib :
all: .zlib \
.a52 .mpeg2 .mad .ogg .vorbis .vorbisenc .theora \
.flac .speex .faad .lame .ffmpeg \
.twolame \
.png .dvbpsi \
.dca .kate .live
i add .live
i also changage contrib/build-src/live/config.armlinux:
CROSS_COMPILE?= arm-linux-androideabi-
i cd contrib and run make ,this error show:
administrator@ubuntu:~/code/vlc-android/extras/contrib$ make
make -C build-src tools
make[1]: Entering directory `/home/administrator/code/vlc-android/extras/contrib/build-src'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Nothing to be done for `tools'.
make[1]: Leaving directory `/home/administrator/code/vlc-android/extras/contrib/build-src'
make -C build-src
make[1]: Entering directory `/home/administrator/code/vlc-android/extras/contrib/build-src'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
(cd live; sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's%EXTRA_CPPFLAGS%-I/include%' -i.orig groupsock/Makefile.head )
(cd live; ./genMakefiles armlinux && make CC="arm-linux-androideabi-gcc -nostdlib -lc -lgcc" CXX="arm-linux-androideabi-g++ -nostdlib -lc -lgcc" LD="arm-linux-androideabi-ld" RANLIB="arm-linux-androideabi-ranlib" AR="arm-linux-androideabi-ar" STRIP="arm-linux-androideabi-strip")
make[2]: Entering directory `/home/administrator/code/vlc-android/extras/contrib/build-src/live'
make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
cd liveMedia ; make
make[3]: Entering directory `/home/administrator/code/vlc-android/extras/contrib/build-src/live/liveMedia'
arm-linux-androideabi-g++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -O2 -DSOCKLEN_T=socklen_t -DNO_SSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -DBSD=1 Media.cpp
In file included from ../groupsock/include/NetCommon.h:70,
from ../UsageEnvironment/include/UsageEnvironment.hh:28,
from include/Media.hh:33,
from Media.cpp:21:
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:43:20: error: stdint.h: No such file or directory
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:44:23: error: sys/cdefs.h: No such file or directory
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:46:31: error: linux/posix_types.h: No such file or directory
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:47:23: error: asm/types.h: No such file or directory
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:48:25: error: linux/types.h: No such file or directory
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:49:28: error: machine/kernel.h: No such file or directory
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:126:27: error: sys/sysmacros.h: No such file or directory
In file included from ../UsageEnvironment/include/UsageEnvironment.hh:28,
from include/Media.hh:33,
from Media.cpp:21:
../groupsock/include/NetCommon.h:71:24: error: sys/socket.h: No such file or directory
../groupsock/include/NetCommon.h:72:22: error: sys/time.h: No such file or directory
../groupsock/include/NetCommon.h:73:24: error: netinet/in.h: No such file or directory
../groupsock/include/NetCommon.h:74:23: error: arpa/inet.h: No such file or directory
../groupsock/include/NetCommon.h:75:19: error: netdb.h: No such file or directory
../groupsock/include/NetCommon.h:76:20: error: unistd.h: No such file or directory
../groupsock/include/NetCommon.h:77:20: error: string.h: No such file or directory
../groupsock/include/NetCommon.h:78:20: error: stdlib.h: No such file or directory
../groupsock/include/NetCommon.h:79:19: error: errno.h: No such file or directory
../groupsock/include/NetCommon.h:80:21: error: strings.h: No such file or directory
../groupsock/include/NetCommon.h:81:19: error: ctype.h: No such file or directory
In file included from include/Media.hh:40,
from Media.cpp:21:
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:51:24: error: sys/_types.h: No such file or directory
In file included from ../groupsock/include/NetCommon.h:70,
from ../UsageEnvironment/include/UsageEnvironment.hh:28,
from include/Media.hh:33,
from Media.cpp:21:
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:51: error: '__u32' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:61: error: '__kernel_blkcnt_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:62: error: '__kernel_blksize_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:63: error: '__kernel_clock_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:64: error: '__kernel_clockid_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:65: error: '__kernel_dev_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:66: error: '__kernel_fsblkcnt_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:67: error: '__kernel_fsfilcnt_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:68: error: '__kernel_gid32_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:69: error: '__kernel_id_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:70: error: '__kernel_ino_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:71: error: '__kernel_key_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:72: error: '__kernel_mode_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:73: error: '__kernel_nlink_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:76: error: '__kernel_off_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:78: error: '__kernel_loff_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:79: error: 'loff_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:81: error: '__kernel_pid_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:112: error: '__kernel_suseconds_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:113: error: '__kernel_time_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:114: error: '__kernel_uid32_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:117: error: '__kernel_daddr_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:118: error: '__kernel_timer_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:119: error: '__kernel_mqd_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:121: error: '__kernel_caddr_t' does not name a type
In file included from include/Media.hh:33,
from Media.cpp:21:
../UsageEnvironment/include/UsageEnvironment.hh:103: error: 'u_int32_t' does not name a type
../UsageEnvironment/include/UsageEnvironment.hh:109: error: 'int64_t' has not been declared
../UsageEnvironment/include/UsageEnvironment.hh:122: error: 'int64_t' has not been declared
In file included from include/Media.hh:33,
from Media.cpp:21:
../UsageEnvironment/include/UsageEnvironment.hh:144: error: 'EventTriggerId' does not name a type
../UsageEnvironment/include/UsageEnvironment.hh:147: error: 'EventTriggerId' has not been declared
../UsageEnvironment/include/UsageEnvironment.hh:149: error: 'EventTriggerId' has not been declared
In file included from include/Media.hh:40,
from Media.cpp:21:
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:87: error: 'off_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:141: error: expected identifier before '*' token
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:141: error: 'fpos_t' has not been declared
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:141: error: 'fpos_t' declared as function returning a function
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:159: error: 'fpos_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:163: error: expected constructor, destructor, or type conversion before 'extern'
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:164: error: '__END_DECLS' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:239: error: 'fpos_t' has not been declared
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:249: error: 'off_t' has not been declared
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:250: error: expected ',' or '...' before '*' token
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:252: error: 'off_t' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:301: error: '__END_DECLS' does not name a type
/home/administrator/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:393: error: expected constructor, destructor, or type conversion before 'static'
make[3]: *** [Media.o] Error 1
make[3]: Leaving directory `/home/administrator/code/vlc-android/extras/contrib/build-src/live/liveMedia'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/administrator/code/vlc-android/extras/contrib/build-src/live'
make[1]: *** [.live] Error 2
make[1]: Leaving directory `/home/administrator/code/vlc-android/extras/contrib/build-src'
make: *** [using-src] Error 2
who know how to port live555 to android? i want vlc-android play live stream video , thanks