Can't cross compile tslib, please help !!

hello, i’m trying to cross compile tslib , i stumbled upon a tutorial on the net , https://sites.google.com/site/timpicuc/Downhome/beaglebone-black/setting-up-qt-for-bbb-with-debian i succeeded before to compile and everything was working perfectly, one day i couldn’t get the values right from the touch screen so i decided to redo the process but unfortunately i lost tslib folder along with Qt folders :

the problem is when i’m trying to execute autogen.sh in tslib folder , i get the following output ;

libtoolize: putting auxiliary files in .'. libtoolize: copying file ./ltmain.sh’
libtoolize: putting macros in m4/internal'. libtoolize: copying file m4/internal/libtool.m4’
libtoolize: copying file m4/internal/ltoptions.m4' libtoolize: copying file m4/internal/ltsugar.m4’
libtoolize: copying file m4/internal/ltversion.m4' libtoolize: copying file m4/internal/lt~obsolete.m4’
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
configure.ac:27: installing ‘./config.guess’
configure.ac:27: installing ‘./config.sub’
configure.ac:7: installing ‘./install-sh’
configure.ac:7: installing ‘./missing’
plugins/Makefile.am:13: warning: ‘INCLUDES’ is the old name for ‘AM_CPPFLAGS’ (or ‘_CPPFLAGS’)
src/Makefile.am:23: warning: source file ‘$(top_srcdir)/plugins/linear.c’ is in a subdirectory,
src/Makefile.am:23: but option ‘subdir-objects’ is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the ‘subdir-objects’
automake: automake option hasn’t been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using ‘subdir-objects’ option throughout your
automake: project, to avoid future incompatibilities.
src/Makefile.am:27: warning: source file ‘$(top_srcdir)/plugins/dejitter.c’ is in a subdirectory,
src/Makefile.am:27: but option ‘subdir-objects’ is disabled
src/Makefile.am:31: warning: source file ‘$(top_srcdir)/plugins/linear-h2200.c’ is in a subdirectory,
src/Makefile.am:31: but option ‘subdir-objects’ is disabled
src/Makefile.am:35: warning: source file ‘$(top_srcdir)/plugins/variance.c’ is in a subdirectory,
src/Makefile.am:35: but option ‘subdir-objects’ is disabled
src/Makefile.am:39: warning: source file ‘$(top_srcdir)/plugins/pthres.c’ is in a subdirectory,
src/Makefile.am:39: but option ‘subdir-objects’ is disabled
src/Makefile.am:43: warning: source file ‘$(top_srcdir)/plugins/ucb1x00-raw.c’ is in a subdirectory,
src/Makefile.am:43: but option ‘subdir-objects’ is disabled
src/Makefile.am:47: warning: source file ‘$(top_srcdir)/plugins/corgi-raw.c’ is in a subdirectory,
src/Makefile.am:47: but option ‘subdir-objects’ is disabled
src/Makefile.am:51: warning: source file ‘$(top_srcdir)/plugins/collie-raw.c’ is in a subdirectory,
src/Makefile.am:51: but option ‘subdir-objects’ is disabled
src/Makefile.am:55: warning: source file ‘$(top_srcdir)/plugins/h3600-raw.c’ is in a subdirectory,
src/Makefile.am:55: but option ‘subdir-objects’ is disabled
src/Makefile.am:59: warning: source file ‘$(top_srcdir)/plugins/mk712-raw.c’ is in a subdirectory,
src/Makefile.am:59: but option ‘subdir-objects’ is disabled
src/Makefile.am:63: warning: source file ‘$(top_srcdir)/plugins/arctic2-raw.c’ is in a subdirectory,
src/Makefile.am:63: but option ‘subdir-objects’ is disabled
src/Makefile.am:67: warning: source file ‘$(top_srcdir)/plugins/tatung-raw.c’ is in a subdirectory,
src/Makefile.am:67: but option ‘subdir-objects’ is disabled
src/Makefile.am:71: warning: source file ‘$(top_srcdir)/plugins/input-raw.c’ is in a subdirectory,
src/Makefile.am:71: but option ‘subdir-objects’ is disabled
tests/Makefile.am:12: warning: ‘INCLUDES’ is the old name for ‘AM_CPPFLAGS’ (or '
_CPPFLAGS’)