From: Maxin B J. <max...@gm...> - 2012-03-06 11:57:26
|
Hi, On Mon, Mar 5, 2012 at 6:25 AM, Rejish Rajagopala <rej...@sa...> wrote: > Hi Cyril, > Thanks for your input. > I have one more doubt that is if I want to check whether my LTP has been cross compiled properly then how can I confirm that without running the LTP in android phone. You can copy any one of the cross compiled binaries in LTP (eg: testcases/kernel/syscalls/open/open01) to Android device and execute it there. It is better to have "busybox" ready in your Android device to run LTP properly. If you finds it difficult to cross-compile "Busybox", it is available in Android Market also. > Thanks & Regards, > Rejish Warm Regards, Maxin B. John ________________________________________ > From: Cyril Hrubis [ch...@su...] > Sent: Friday, March 02, 2012 6:28 PM > To: Rejish Rajagopala > Cc: ltp...@li... > Subject: Re: [LTP] Need help in cross compiling LTP for android > > Hi! >> + LOGFILE_NAME=2012_Mar_02-14h_25m_52s >> + LOGFILE=-l /data/ltp/make_2802_02_2012/results/LTP_RUN_ON-2012_Mar_02-14h_25m_52s.log >> + ALT_DIR_RES=1 >> + PRETTY_PRT= -p >> + [ ! ] >> + ALT_DIR_OUT=1 >> + [ ! ] >> + [ ! -l /data/ltp/make_2802_02_2012/results/LTP_RUN_ON-2012_Mar_02-14h_25m_52s.log ] >> + basename 2012_Mar_02-14h_25m_52s >> + FAILED_FILE_NAME=2012_Mar_02-14h_25m_52s >> + FAILCMDFILE=-C /data/ltp/make_2802_02_2012/output/LTP_RUN_ON-2012_Mar_02-14h_25m_52s.failed >> + [ 0 -eq 1 ] >> + [ 1 -eq 1 ] >> + [ ! -d /data/ltp/make_2802_02_2012/output ] >> + [ 1 -eq 1 ] >> + echo INFO: creating /data/ltp/make_2802_02_2012/results directory >> INFO: creating /data/ltp/make_2802_02_2012/results directory >> + [ ! -d /data/ltp/make_2802_02_2012/results ] >> + mkdir -m 777 -p /data/ltp/make_2802_02_2012/tmp >> mkdir failed for -m, File exists >> + echo FATAL: Unable to make temporary directory /data/ltp/make_2802_02_2012/tmp >> FATAL: Unable to make temporary directory /data/ltp/make_2802_02_2012/tmp > > Hmm, this is strange, mkdir -p must not fail with 'File exists'. > >> + export TMPTEMPLATE=/data/ltp/make_2802_02_2012/tmp/ltp-XXXXXXXXXX >> + mktemp -d /data/ltp/make_2802_02_2012/tmp/ltp-XXXXXXXXXX >> + TMP=/data/ltp/make_2802_02_2012/tmp/ltp-hYXbVD3460 >> + export TMP >> + export TMPDIR=/data/ltp/make_2802_02_2012/tmp/ltp-hYXbVD3460 >> + chmod 777 /data/ltp/make_2802_02_2012/tmp/ltp-hYXbVD3460 >> + cd /data/ltp/make_2802_02_2012/tmp/ltp-hYXbVD3460 >> + [ -n ] >> + [ 0 -eq 1 ] >> + [ -z ] >> + [ -z ] >> + cat >> + + cat /data/ltp/make_2802_02_2012/scenario_groups/default >> tr \012 > > ... > >> + rm -f /data/ltp/make_2802_02_2012/tmp/ltp-hYXbVD3460/cat_ok.3443 >> rm failed for -f, No such file or directory > > And this is even much more wrong. > > I'm not familiar with android but this sugests that you have very > crippled busybox or whatever is installed there to provide basic > commands like rm, mkdir and so. > > -- > Cyril Hrubis > ch...@su... > > SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. > Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Ltp-list mailing list > Ltp...@li... > https://lists.sourceforge.net/lists/listinfo/ltp-list |