This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tslib build problems

This was going to be a question, but since I seem to have gotten it building again I will make it a discussion.

I am trying to implement changes to tslib so that it will handle the somewhat odd events generated by my panjit touchscreen.

I was doing ok with rebuilding yeaterday, edit files, make, sudo make install.

I was having trouble getting printf output from the tslib library modules, and was not able to remote debug ts_test even though I seemed to have it building in code composer OK.

Today, I managed to break my tslib build by trying to redo the automake stuff without really understanding what I was doing.

I got back the source tarball, and re-extracted fresh, unhacked sources, and found there was no configure script.  I was pretty sure there was when I started building tslib in the first place.

A little hunting around led me to believe that to regenerate configure script I should run:

aclocal;autoconf;automake

This sort of worked although I had lots of warnings and some errors about various missing files, e.g.:

configure.ac:28: required file `./ltmain.sh' not found
configure.ac:9: required file `config.h.in' not found

A little more searching led me to this site about automake which seems pretty good:

http://www.openismus.com/documents/linux/automake/automake

and it pointed out that the modern way to regenerate configure is to run autoreconf.

Which I did, and that worked.

Also, don't forget to comment out the rpl_malloc definition in config.h before you build....