The problem about porting live555 to Android-NDK

1,288 views
Skip to first unread message

gansc23

unread,
Apr 10, 2011, 10:08:56 AM4/10/11
to andro...@googlegroups.com
Hi, all, 

I want to develop a player base on Android, and the player supports RTSP.

Though the open core media framework in Android supports RTSP, it's seems no way to cache the stream in my player. So i plan to port the live555(LIVE555 Streaming Media, http://www.live555.com/liveMedia ) to Android...  

My development env is Windows 7 + Cygwin, and the Android-ndk version is android-ndk-r5.

And i have get the vlc-android source from git://git.videolan.org/vlc/vlc-android.git

Followed by the commands in the cygwin:

cd vlc-android/extras/contrib
export ANDROID_NDK=/cygdrive/d/android-ndk-r5b
./bootstrap -t arm-eabi -d android

But it's prompt that the arm-linux-androideabi-gcc.exe CAN NOT be found.
So i add a command: export PATH=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin:"$PATH"

Then:
./bootstrap -t arm-eabi -d android
make

And the arm-linux-androideabi-gcc.exe can be found now, but some new problems appear  :(
D:\android-ndk-r5b\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin../lib/gcc/arm-limux-androideabi/4.4.3/include-fixed/sys/types.h:43:20:error: stdint.h: No such file or directory
. . . . . . stdint.h: No such file or directory
. . . . . . sys/cdefs.h: No such file or directory
. . . . . . linux/posix_types.h: No such file or directory
. . . . . . . . . . . . 
. . . . . . . . . . . . 
. . . . . . . . . . . . 
. . . . . . . . . . . . 

It seems that the compiler can't find the stdint.h and bala bala, what's the wrong? And how can i resolve this problem? 

And it's better who can tell me how to extract live555 from vlc-android, then port it to Android. Thanks!



-- gansc


gf developer

unread,
Apr 11, 2011, 7:28:14 AM4/11/11
to andro...@googlegroups.com
this is vlc-android build step: http://forum.videolan.org/viewtopic.php?f=13&t=88950


if you are chinese , you can visit my blog :http://blog.csdn.net/wowdd1   

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Eric

unread,
Apr 27, 2011, 8:23:23 AM4/27/11
to android-ndk
Did you fix the header file problem? I have the same problem using
Cygwin...

Thanks

Eric

On Apr 10, 9:08 am, gansc23 <gans...@gmail.com> wrote:
> Hi, all,
>
> I want to develop a player base on Android, and the player supports RTSP.
>
> Though the open core media framework in Android supports RTSP, it's seems no
> way to cache the stream in my player. So i plan to port the live555(LIVE555
> Streaming Media,http://www.live555.com/liveMedia) to Android...
>
> My development env is Windows 7 + Cygwin, and the Android-ndk version
> is android-ndk-r5.
>
> And i have get the vlc-android source from git://
> git.videolan.org/vlc/vlc-android.git
>
> Followed by the commands in the cygwin:
>
> cd vlc-android/extras/contrib
> export ANDROID_NDK=/cygdrive/d/android-ndk-r5b
> ./bootstrap -t arm-eabi -d android
>
> But it's prompt that the arm-linux-androideabi-gcc.exe CAN NOT be found.
> So i add a command: export
> PATH=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/b­in:"$PATH"
>
> Then:
> ./bootstrap -t arm-eabi -d android
> make
>
> And the arm-linux-androideabi-gcc.exe can be found now, but some new
> problems appear  :(
> D:\android-ndk-r5b\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\­bin../lib/gcc/arm-limux-androideabi/4.4.3/include-fixed/sys/types.h:43:20:e­rror:
> stdint.h: No such file or directory
> . . . . . . stdint.h: No such file or directory
> . . . . . . sys/cdefs.h: No such file or directory
> . . . . . . linux/posix_types.h: No such file or directory
> . . . . . . . . . . . .
> . . . . . . . . . . . .
> . . . . . . . . . . . .
> . . . . . . . . . . . .
>
> It seems that the compiler can't find the stdint.h and bala bala, what's the
> wrong? And how can i resolve this problem?
>
> And it's better who can tell me how to extract live555 from vlc-android,
> then port it to Android. Thanks!
>
> *-- gansc
> *
Reply all
Reply to author
Forward
0 new messages