public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] cannot find -lpthread error in ltp cross compilation for Android
@ 2012-03-19 11:59 Sandeep Mahato
  2012-03-20  8:33 ` Carmelo AMOROSO
  0 siblings, 1 reply; 2+ messages in thread
From: Sandeep Mahato @ 2012-03-19 11:59 UTC (permalink / raw)
  To: ltp-list@lists.sourceforge.net

Hi,
  I am trying to cross compile LTP using NDK toolchain for Android . while executing the "make all" I am facing the below error.

pcb-msandeep:/u/ltp14032012/ltp-full-20120104# make all
make -C "lib" \
                -f "/u/ltp14032012/ltp-full-20120104/lib/Makefile" all
make[1]: Entering directory `/u/ltp14032012/ltp-full-20120104/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/u/ltp14032012/ltp-full-20120104/lib'
make -C "pan" \
                -f "/u/ltp14032012/ltp-full-20120104/pan/Makefile" all
make[1]: Entering directory `/u/ltp14032012/ltp-full-20120104/pan'
/u/ltp14032012/ltp-full-20120104/pan/Makefile:43: ltp-scanner will not be built because a working copy of lex was not found
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/u/ltp14032012/ltp-full-20120104/pan'
make -C "utils" \
                -f "/u/ltp14032012/ltp-full-20120104/utils/Makefile" all
make[1]: Entering directory `/u/ltp14032012/ltp-full-20120104/utils'
make[2]: Entering directory `/u/ltp14032012/ltp-full-20120104/utils/benchmark'
make[3]: Entering directory `/u/ltp14032012/ltp-full-20120104/utils/benchmark/ebizzy-0.3'
arm-linux-androideabi-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall  -I../../../include -I../../../include   -L../../../lib  ebizzy.c   -lpthread -o ebizzy
/usr/local/android-ndk-r7/my-android-toolchain/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
make[3]: *** [ebizzy] Error 1
make[3]: Leaving directory `/u/ltp14032012/ltp-full-20120104/utils/benchmark/ebizzy-0.3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/u/ltp14032012/ltp-full-20120104/utils/benchmark'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/u/ltp14032012/ltp-full-20120104/utils'
make: *** [utils-all] Error 2

Can anybody please tell me why this "cannot find -lpthread" error is coming and how to resolve that.


Regards
Sandeep

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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-20  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 11:59 [LTP] cannot find -lpthread error in ltp cross compilation for Android Sandeep Mahato
2012-03-20  8:33 ` Carmelo AMOROSO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox