|
From: | Lau KhimChuen |
Subject: | Re: [Linphone-developers] Prepare_sources.sh at cygwin with the message 'VP8 prepare stage - SOLVED |
Date: | Thu, 6 Sep 2012 09:16:06 +0000 |
Hi!
For the Prepare_sources.sh issue on cygwin, its solved by : 1. Install Ubuntu OS 2. Install ndk 3. Install autotools 4. Set ndk PATH Run without error :) regards, kclau. > > > Today's Topics: > > 1. Re: Linphone-android, Prepare_sources.sh at > >> cygwin with > the message 'VP8 prepare stage failed.' (Guillaume BERAUDO) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 9 Aug 2012 13:22:40 +0200 > From: Guillaume BERAUDO > <address@hidden> > To: address@hidden > Cc: address@hidden > Subject: Re: [Linphone-developers] Linphone-android, > Prepare_sources.sh at > >> cygwin with the message 'VP8 prepare stage > failed.' > Message-ID: <address@hidden> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi list, > > For the record, I had a misconfigured tool chain error when my android > ndk was a symlink to the real one. > > Cheers, > > Guillaume > > > Le Thu, 9 Aug 2012 09:22:03 +0000, > Lau KhimChuen <address@hidden> a ?crit : > > > > > After installed the toolchains from CodeSourcery, no more complain > > about the 'arm-none-linux-gnueabi-gcc'. Thanks. > > > > But the issue now is cannot find the input file from /tmp directory. > > > > - The input file is in the /tmp directory (i purposely commented out > > the remove file function 'rm' so that the tmp file will always be > > there), and it just cannot find it. > > > > clean_temp_files() { > > log "Hello World!" > > # rm -f ${TMP_C} ${TMP_H} ${TMP_O} ${TMP_X} ${TMP_ASM} > > } > > > > - try 'arm-none-linux-gnueabi-gcc /tmp/a.c' will get 'No such file or > > directory', but it can compile without the /tmp by putting in the > > same folder > > > > - its no problem with the 'gcc' even in /tmp folder, its work with > > gcc compiler. > > > > - permission looks alright : > > > > address@hidden / > > $ ls -l > > total 213 > > drwxr-xr-x+ 1 kclau root 0 Aug 8 15:49 bin > > dr-xr-xr-x 1 kclau Domain Users 0 Aug 9 16:27 cygdrive > > -rwxr-xr-x 1 kclau root 57 Jul 28 2011 Cygwin.bat > > -rw-r--r-- 1 kclau root 157097 Aug 3 17:12 Cygwin.ico > > -rw-r--r-- 1 kclau root 53342 Aug 3 17:12 > > Cygwin-Terminal.ico drwxr-xr-x+ 1 kclau Domain Users 0 Aug 3 > > 16:09 dev drwxr-xr-x+ 1 kclau root 0 Aug 3 17:09 etc > > drwxrwxrwt+ 1 kclau root 0 Jul 28 2011 home > > drwxr-xr-x+ 1 kclau root 0 Aug 3 16:34 lib > > drwxr-xr-x+ 1 kclau root 0 Jul 28 2011 opt > > dr-xr-xr-x 13 kclau Domain Users 0 Aug 9 16:27 proc > > drwxr-xr-x+ 1 kclau root 0 Jul 28 2011 sbin > > drwxr-xr-x+ 1 kclau Domain Users 0 Jul 28 2011 srv > > drwxrwxrwx+ 1 kclau root 0 Aug 9 15:43 tmp > > drwxr-xr-x+ 1 kclau root 0 Aug 3 16:23 usr > > drwxr-xr-x+ 1 kclau root 0 Jul 28 2011 var > > > > > > > > Anyone faced the same issue before? > > > > Thanks & regards > > KC Lau. > > > > > > > > > > ------------------------------------------config.err log > > --------------------------------------- > > > > # ./configure --target=armv7-android-gcc > > --sdk-path=/cygdrive/c/android-ndk-r8b --enable-error-concealment > > Configuring selected codecs enabling vp8_encoder > > enabling vp8_decoder > > Configuring for target 'armv7-android-gcc' > > enabling armv7 > > enabling armv6 > > enabling armv5te > > enabling fast_unaligned > > add_asflags --defsym ARCHITECTURE=7 > > check_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon > > -mfloat-abi=softfp check_cc -march=armv7-a -mcpu=cortex-a8 -mfpu=neon > > -mfloat-abi=softfp BEGIN /tmp/vpx-conf-2868-24275.c > > 1 int x; > > END /tmp/vpx-conf-2868-24275.c > > arm-none-linux-gnueabi-gcc -march=armv7-a -mcpu=cortex-a8 -mfpu=neon > > -mfloat-abi=softfp -c -o /tmp/vpx-conf-2868-809.o /tmp/vpx- > > > > conf-2868-24275.c > > arm-none-linux-gnueabi-gcc.exe: /tmp/vpx-conf-2868-24275.c: No such > > file or directory arm-none-linux-gnueabi-gcc.exe: no input files > > add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp > > enabling realtime_only > > check_cflags -O3 > > check_cc -O3 > > BEGIN /tmp/vpx-conf-2868-24275.c > > 1 int x; > > END /tmp/vpx-conf-2868-24275.c > > /cygdrive/c/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc > > -- > > > > sysroot=/cygdrive/c/android-ndk-r8b/platforms/android-14/arch-arm -O3 > > -c -o /tmp/vpx-conf-2868-809.o /tmp/vpx-conf-2868-24275.c > > arm-linux-androideabi-gcc.exe: /tmp/vpx-conf-2868-24275.c: No such > > file or directory arm-linux-androideabi-gcc.exe: no input > > files . . . . . . . . . . . . . . . . > > . . . . . . . . > > ------------------------------------------config.err log > > --------------------------------------- > > > > > > > > > > > > > > > Message: 1 > > > Date: Tue, 7 Aug 2012 12:11:14 -0500 > > > From: "Don Thorp (address@hidden)" <address@hidden> > > > To: address@hidden > > > Subject: Re: [Linphone-developers] Linphone-developers Digest, Vol > > > 114, Issue 5 > > > Message-ID: > > > <address@hidden> > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > I had a similar issue until I put the pre-built toolchain in the > > > path. You might read through this google group on how to create the > > > standalone toolchains. > > > https://groups.google.com/forum/?fromgroups#!topic/android-ndk/6C55SW74_KA > > > > > > On Tue, Aug 7, 2012 at 5:01 AM, Lau KhimChuen > > > <address@hidden> wrote: > > > > Hi! > > > > Im sorry, I had missed some of the useful info in config.err : > > > > > > > > line 271: arm-none-linux-gnueabi-gcc: command not found > > > > > > > > > > > > Is it because of this gcc missing? > > > > I am getting it from CodeSourcery, hope it work. > > > > > > > > > > > > --------------------------------------------- config.err > > > > ----------------------------------------------------------------- > > > > # ./configure --target=armv7-android-gcc > > > > --sdk-path=/cygdrive/c/android-ndk-r8b --enable-error-concealment > > > > > > > > Configuring selected codecs > > > > enabling vp8_encoder > > > > enabling vp8_decoder > > > > Configuring for target 'armv7-android-gcc' > > > > enabling armv7 > > > > enabling armv6 > > > > enabling armv5te > > > > enabling fast_unaligned > > > > add_asflags --defsym ARCHITECTURE=7 > > > > check_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon > > > > -mfloat-abi=softfp check_cc -march=armv7-a -mcpu=cortex-a8 > > > > -mfpu=neon -mfloat-abi=softfp BEGIN /tmp/vpx-conf-5704-20064.c > > > > 1 int x; > > > > END /tmp/vpx-conf-5704-20064.c > > > > arm-none-linux-gnueabi-gcc -march=armv7-a -mcpu=cortex-a8 > > > > -mfpu=neon -mfloat-abi=softfp -c -o /tmp/vpx-conf-5704-12736.o > > > > /tmp/vpx-conf-5704-20064.c > > > > ./build/make/configure.sh: line 271: arm-none-linux-gnueabi-gcc: > > > > command not found > > > > add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp > > > > enabling realtime_only > > > > check_cflags -O3 > > > > check_cc -O3 > > > > BEGIN /tmp/vpx-conf-5704-20064.c > > > > 1 int x; > > > > END /tmp/vpx-conf-5704-20064.c > > > > /cygdrive/c/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc > > > > --sysroot=/cygdrive/c/android-ndk-r8b/platforms/android-14/arch-arm > > > > -O3 -c -o /tmp/vpx-conf-5704-12736.o /tmp/vpx-conf-5704-20064.c > > > > arm-linux-androideabi-gcc.exe: /tmp/vpx-conf-5704-20064.c: No > > > > such file or directory > > > > arm-linux-androideabi-gcc.exe: no input files > > > > check_cflags -fPIC > > > > check_cc -fPIC > > > > . . . . > > > > . . . . > > > > . . . . > > > > ------------------------------------end > > > > ------------------------------- > > > > > > > > > > > > > > > > Thanks & regards, > > > > KC Lau. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> From: address@hidden > > > >> Subject: Linphone-developers Digest, Vol 114, Issue 5 > > > >> To: address@hidden > > > >> Date: Mon, 6 Aug 2012 12:00:36 -0400 > > > > > > > >> > > > >> Send Linphone-developers mailing list submissions to > > > >> address@hidden > > > >> > > > >> To subscribe or unsubscribe via the World Wide Web, visit > > > >> https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > >> or, via email, send a message with subject or body 'help' to > > > >> address@hidden > > > >> > > > >> You can reach the person managing the list at > > > >> address@hidden > > > >> > > > >> When replying, please edit your Subject line so it is more > > > >> specific than "Re: Contents of Linphone-developers digest..." > > > >> > > > >> > > > >> Today's Topics: > > > >> > > > >> 1. Linphone-android, Prepare_sources.sh at cygwin with the > > > >> message 'VP8 prepare stage failed.' (Lau KhimChuen) > > > >> > > > >> > > > >> ---------------------------------------------------------------------- > > > >> > > > >> Message: 1 > > > >> Date: Mon, 6 Aug 2012 09:14:43 +0000 > > > >> From: Lau KhimChuen <address@hidden> > > > >> To: <address@hidden> > > > >> Subject: [Linphone-developers] Linphone-android, > > > >> Prepare_sources.sh at cygwin with the message 'VP8 prepare stage > > > >> failed.' Message-ID: > > > >> <address@hidden> Content-Type: > > > >> text/plain; charset="iso-8859-1" > > > >> > > > >> > > > >> Hi! I was trying to start my Linphone Android project, and > > > >> started configuration by executing the ./prepare_sources.sh > > > >> (from cygwin), it showed me the failed message as follow : > > > >> > > > >> > > > >> --------------- start -------------------------- > > > >> > > > >> Configuring selected codecs > > > >> enabling vp8_encoder > > > >> enabling vp8_decoder > > > >> Configuring for target 'armv7-android-gcc' > > > >> enabling armv7 > > > >> enabling armv6 > > > >> enabling armv5te > > > >> enabling fast_unaligned > > > >> enabling realtime_only > > > >> > > > >> Unable to invoke compiler: > > > >> /cygdrive/c/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux- > > > >> > > > >> androideabi-gcc > > > >> --sysroot=/cygdrive/c/android-ndk-r8b/platforms/android-14/arch-arm > > > >> > > > >> Configuration failed. This could reflect a misconfiguration of > > > >> your toolchains, improper options selected, or another problem. > > > >> If you don't see any useful error messages above, the next step > > > >> is to look at the configure error log file (config.err) to > > > >> determine what configure was trying to do when it died. > > > >> VP8 prepare stage failed. > > > >> > > > >> --------------- end log ----------------------- > > > >> > > > >> > > > >> My sources & versions : > > > >> linphone-android source => git clone > > > >> git://git.linphone.org/linphone-android.git --recursive > > > >> cygwin version ( CYGWIN_NT-5.1 lpcx037 1.7.16(0.262/5/3) > > > >> 2012-07-20 22:55 i686 Cygwin ) > > > >> ndk-r8b > > > >> Window XP OS > > > >> > > > >> > > > >> > > > >> Had tried to search and updated the latest sdk, ndk and cygwin > > > >> also cannot resolve the issue. > > > >> > > > >> Any pointers would be greatly appreciated! > > > >> > > > >> Thanks and regards, > > > >> KC Lau. > > > >> -------------- next part -------------- > > > >> An HTML attachment was scrubbed... > > > >> URL: > > > >> <http://lists.nongnu.org/archive/html/linphone-developers/attachments/20120806/16ccbeb7/attachment.html> > > > >> > > > >> ------------------------------ > > > >> > > > > > > ------------------------------ > > _______________________________________________ > Linphone-developers mailing list > address@hidden > https://lists.nongnu.org/mailman/listinfo/linphone-developers > > > End of Linphone-developers Digest, Vol 114, Issue 9 > *************************************************** |
[Prev in Thread] | Current Thread | [Next in Thread] |