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.

Issues with tslib, Qt-Embedded and arm OMAPL138

Other Parts Discussed in Thread: OMAPL138

I am using the OMAPL138 Board and am trying to cross compile tslib so I can compile qt-embedded.

I have followed the instructions I found on this site, and in various posts but no luck. 

I do the following:

./autogen.sh

./configure --build=i386-linux --host=arm-none-linux-gnueabi target=arm CC=.../CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/gcc

make

I get the following error: 

gcc: error trying to exec 'cc1': execvp: No such file or directory
make[2]: *** [ts_attach.lo] Error 1
make[2]: Leaving directory `/home/paxuser/Desktop/PAXSVN/tslib/tslib/tslib-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paxuser/Desktop/PAXSVN/tslib/tslib/tslib-1.0'
make: *** [all] Error 2
If I leave off the CC argument I get:

ts_calibrate.c: In function ‘main’:

ts_calibrate.c:234: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
In file included from /usr/include/fcntl.h:205,
                 from /usr/include/sys/fcntl.h:1,
                 from ts_calibrate.c:20:
In function ‘open’,
    inlined from ‘main’ at ts_calibrate.c:227:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
In function ‘open’,
    inlined from ‘main’ at ts_calibrate.c:229:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [ts_calibrate.o] Error 1
make[2]: Leaving directory `/home/paxuser/Desktop/PAXSVN/tslib/tslib/tslib-1.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paxuser/Desktop/PAXSVN/tslib/tslib/tslib-1.0'
make: *** [all] Error 2