Hi.. Im trying to build OpenCORE (2.05) on ubuntu-9.04.. After giving "make -j" command the build process is started.. but after some time my system got hanged..i want to know how much time it will take to build this process..
Any help great appreciated. On Sep 23, 6:50 am, Hyeong-Ho Yoo <[email protected]> wrote: > I posted about this topic. but I guess it is probably in the waiting queue. > > ----------------------------------------------------------------------------------------------------------------- > > When I build OpenCORE latest release (CORE/7.508.1.1 OpenCORE/2.05) in > Ubuntu 9.04, I got a few errors. > > The errors are all same "format not a string literal and no format > arguments" > /home/norabora/oc_latest/opencore/engines/player/test/src/ > test_pv_player_engine.cpp:2146: error: format not a string literal and > no format arguments > /home/norabora/oc_latest/opencore/engines/author/test/src/pvaetest.cpp: > 2581: error: format not a string literal and no format arguments > /home/norabora/oc_latest/opencore/engines/author/test/src/pvaetest.cpp: > 2739: error: format not a string literal and no format arguments > /home/norabora/oc_latest/opencore/engines/2way/test/src/ > test_engine.cpp:1161: error: format not a string literal and no format > arguments > /home/norabora/oc_latest/opencore/engines/pvme/test/src/test_pvme.cpp: > 728: error: format not a string literal and no format arguments > > After I changed fprintf(file, rs.c_str()); to fprintf(file, > "%s", rs.c_str()); > problem solved. > > I also found a document error in doc/ > pvplayer_engine_unit_test_guide.pdf > "-logtext : Stores log output to a file." should be > "-logfile : Stores log output to a file." > There is no "-logtext" option > > 2009/9/22 RaviY <[email protected]> > > > > > If you look at the log carefully, you will see "cc1plus: warnings > > being treated as errors " ... this means that there are warnings in > > code, that you would need to fix. If you are not interested in fixing > > these warnings, you can disable the compiler flag that treats as > > warnings as errors in opencore/tools_v2/build/make/g++.mk. Comment the > > line "FLAG_COMPILE_WARNINGS_AS_ERRORS := -Werror". > > > -Ravi > > > On Sep 21, 8:45 am, tapas kundu <[email protected]> wrote: > > > Hi ALL, > > > I am trying to build open core outside android . I have > > > followed the quickstart tutorial which is in opencore directory. > > > After running "source setup.sh <opencore directory > > > location> " command it gives following warnings : > > > > ta...@danger:~/Documents/myandroid/external/opencore/build_config/ > > > opencore_dynamic$ source setup.sh /home/tapas/Documents/myandroid/ > > > external/opencore > > > [setup.sh] started. > > > [setup.sh] setting up build environment with default configuration > > > [setup.sh] BASE_DIR ==> /home/tapas/Documents/myandroid/external/ > > > opencore > > > [setup.sh] SRC_ROOT ==> /home/tapas/Documents/myandroid/external/ > > > opencore > > > [setup.sh] BUILD_ROOT ==> /home/tapas/Documents/myandroid/external/ > > > opencore/build_config/opencore_dynamic/build > > > [setup.sh] CFG_DIR ==> /home/tapas/Documents/myandroid/external/ > > > opencore/build_config/opencore_dynamic > > > [setup.sh] MK ==> /home/tapas/Documents/myandroid/external/ > > > opencore/tools_v2/build/make > > > [setup.sh] > > > [setup.sh] environment is ready if no errors reported. > > > [setup.sh] complete. > > > [setup.sh] getting make cmdline completion values > > > > /home/tapas/Documents/myandroid/external/opencore/tools_v2/build/make/ > > > library.mk:51: warning: overriding commands for target `/home/tapas/ > > > Documents/myandroid/external/opencore/build_config/opencore_dynamic/ > > > build/installed_include/getactualaacconfig.h' > > > /home/tapas/Documents/myandroid/external/opencore/tools_v2/build/make/ > > > library.mk:51: warning: ignoring old commands for target `/home/tapas/ > > > Documents/myandroid/external/opencore/build_config/opencore_dynamic/ > > > build/installed_include/getactualaacconfig.h' > > > [setup.sh] done getting make cmdline completion values. > > > > ta...@danger:~/Documents/myandroid/external/opencore/build_config/ > > > opencore_dynamic$ > > > > after that i have run "make - j " command. It completed successfully > > > with some warning . > > > > But "make run_pe_test TEST_ARGS="-help" " command gives me following > > > errors : > > > > ta...@danger:~/Documents/myandroid/external/opencore/build_config/ > > > opencore_dynamic$ make run_pe_test TEST_ARGS="-help" > > > /home/tapas/Documents/myandroid/external/opencore/tools_v2/build/make/ > > > library.mk:51: warning: overriding commands for target `/home/tapas/ > > > Documents/myandroid/external/opencore/build_config/opencore_dynamic/ > > > build/installed_include/getactualaacconfig.h' > > > /home/tapas/Documents/myandroid/external/opencore/tools_v2/build/make/ > > > library.mk:51: warning: ignoring old commands for target `/home/tapas/ > > > Documents/myandroid/external/opencore/build_config/opencore_dynamic/ > > > build/installed_include/getactualaacconfig.h' > > > [make] Building /home/tapas/Documents/myandroid/external/opencore/ > > > build_config/opencore_dynamic/build/engines/player/test/build/android/ > > > linux/dbg/test_pv_player_engine.o > > > [make] Using /home/tapas/Documents/myandroid/external/opencore/ > > > engines/ > > > player/test/src/test_pv_player_engine.cpp > > > cc1plus: warnings being treated as errors > > > /home/tapas/Documents/myandroid/external/opencore/engines/player/test/ > > > src/test_pv_player_engine.cpp: In function ‘int _local_main(FILE*, > > > cmd_line*, bool&)’: > > > /home/tapas/Documents/myandroid/external/opencore/engines/player/test/ > > > src/test_pv_player_engine.cpp:1892: error: format not a string literal > > > and no format arguments > > > make: *** [/home/tapas/Documents/myandroid/external/opencore/ > > > build_config/opencore_dynamic/build/engines/player/test/build/android/ > > > linux/dbg/test_pv_player_engine.o] Error 1 > > > > I am using 32 bit Ubuntu 9.04. Can anyone tell me how to solve this > > > error ? Is this a bug ? > > > > Please help me out. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
