Android and host linux are two different environments. You cannot build on one of these and expect it to run on the other.
Since there is enough confusion, I am inclined towards removing support to build OpenCORE outside of Android. -Ravi On Mar 11, 6:52 am, sonal <sonal.aqua.gu...@gmail.com> wrote: > Hi rcp2278, > > i am facing the same issue.. > > "./pvplayer_engine_test: 1: Syntax error: "(" unexpected" " > > i wanted to know if you could resolve the same. > > I just run this command: make -j -f makefile_nr > and everything is built nicely. But it does not run on emulator. > > Where i can specify it to use the emulator toolchain ? > > REgards, > Sonal > > On Jan 30, 2:11 am, "rcp2...@gmail.com" <rcp2...@gmail.com> wrote: > > > BTW, just a follow up. > > > I tried running pvplayer_engine_test running on the host and followed > > the steps according to the quick_start.txt and everything works fine. > > > However, not the same behavior when running it on the target > > (emulator). Here's what I did: > > > 1) adb push <opencore>/engines/player/test/data/ /sdcard > > 2) adb push <opencore>/build_config/opencore_dynamic/build/bin/linux/ > > pvplayer_engine_test /data # this wasn't in the original text, but I > > had to push the binary to the emulator since the binary is not located > > in /sdcard > > 3) adb shell "cd /data; ./pvplayer_engine_test -test L -source > > test.mp4 -logfile -logall" # note that I cd'ed to /data since that's > > where I pushed the binary > > > I got the following error: > > > ./pvplayer_engine_test: 1: Syntax error: "(" unexpected" > > > However, running the test program on host (Ubuntu 8.04) works fine. > > > rcp2278 > > > On Jan 29, 12:43 pm, "rcp2...@gmail.com" <rcp2...@gmail.com> wrote: > > > > Thanks! It seems to be working now. Followed the steps in the > > > quick_start.txt and everything seems to be fine now. > > > > rcp2278- Hide quoted text - > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---