2008-12-18 05:02:34     BF527 EZKIT with Qt and tslib problem

Document created by Aaronwu Employee on Aug 13, 2013
Version 1Show Document
  • View in full screen mode

2008-12-18 05:02:34     BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66855   

 

Hi,

 

I've built uClinux (uClinux-dist-2008R1.5-RC3) with tslib and it works fine. At least I can run ts_calibrate and it works fine.

 

I've built Qt (qt-embedded-free-3.3.5) with tslib support:

 

./configure -shared -depths 4,16,24,32 -no-cups -no-ipv6 -embedded bfin -little-endian -thread -qt-mouse-tslib -L/home/uclinux/uClinux-dist-2008R1.5-RC3/staging/usr/lib -I/home/uclinux/uClinux-dist-2008R1.5-RC3/staging/usr/include -lts -qvfb

 

The Qt displays images on screen without any problems. The only problem is that cannot accept any touchscreen events.

 

environment is:

 

export QWS_MOUSE_PROTO=Tslib:/dev/input/event0

export TSLIB_TSDEVICE=/dev/input/event0

export TSLIB_CALIBFILE=/etc/pointercl

export TSLIB_CONFFILE=/etc/ts.conf

export TSLIB_CONSOLEDEVICE=none

export TSLIB_FBDEVICE=/dev/fb0

export HOME=/

export SHELL=/bin/sh

export PATH=/bin:/usr/bin:/etc:/sbin:/usr/sbin

export TERM=linux

 

 

The target is BF527 EZKIT LITE 1.4

 

Can anyone suggest me, please, how to debug this.

 

Regards,

 

Nikolay

 

 

QuoteReplyEditDelete

 

 

2008-12-18 11:06:41     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66867   

 

No ideas?

 

Could it be a network issue? I desabled almost all network options in the kernel configuration. The QWS server uses the network doesn't it? Do I need any specific network option/feature to be enabled?

 

What about the libraries path? Should I get a message if the Qt application cannot find the tslib library (or it is staticaly linked)?

 

Is there any debug option in Qt/tslib I can enable and use?

 

 

QuoteReplyEditDelete

 

 

2008-12-18 14:29:15     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 66870   

 

why dont you just use `export QWS_MOUSE_PROTO=tslib`

QuoteReplyEditDelete

 

 

2008-12-18 15:30:43     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66871   

 

Thanks for the reply, Mike.

 

I tried this way, also tried with "=Tslib" (don't know if it is case sensitive).

 

BTW what is the diffefence between "=tslib" and "=tslib:/dev/input/event0"?

 

Is there a way to debug tslib <-> Qt interface?

 

I really have no idea whats wrong. What I'm missing?

QuoteReplyEditDelete

 

 

2008-12-18 16:02:27     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 66877   

 

i dont know ... i tested bf548-ezkit with qt 4.4.3 and it worked fine with the touchscreen

 

did the event_test work fine ?

QuoteReplyEditDelete

 

 

2008-12-18 16:41:39     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66880   

 

Hi Mike,

 

The event_test works fine. Also all ts_xxx test applications also worked fine. This makes me thinking that the tslib works on that target.

 

In other hand the Qt application draws the image on the screen.

 

The only problem is that the Qt application doesn't accept the touchscreen events (or at least it seems like that).

 

Mike, is there a patch for the Qt 4.4.3 ?

 

 

QuoteReplyEditDelete

 

 

2008-12-18 17:58:10     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 66882   

 

qt-4.4.3 is in svn trunk

QuoteReplyEditDelete

 

 

2008-12-19 04:01:28     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66901   

 

Thank you, Mike! I'll try it.

QuoteReplyEditDelete

 

 

2008-12-19 13:46:49     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66961   

 

Hi Mike,

 

I'm downloading svn/trunk now.

 

Can you give me, please,  some instructions how to build the qt4.4.3 and the ucLinux with qt support?

 

Do I need to copy the qt sources to the uClinux tree, downloaded from svn/trunc?

 

How can I build only the qt4.4.3 library and use it with uClinux-2008R1.5-RC3 sources?

 

Sorry for the stuppid questions, but I'm new to linux.

QuoteReplyEditDelete

 

 

2008-12-19 13:49:51     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 66962   

 

just build up the dist like normal, and then you can copy the binaries from romfs/ ...

QuoteReplyEditDelete

 

 

2008-12-19 16:28:53     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66967   

 

Hi Mike,

 

Thanks for your patient answering the stupid questions. I have a couple more of them...

 

Where are the qt sources stored in the dist? How can I build custom application?

QuoteReplyEditDelete

 

 

2008-12-19 16:44:41     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 66968   

 

the qt sources are downloaded and patched automatically

QuoteReplyEditDelete

 

 

2008-12-19 16:53:28     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 66969   

 

Wow, that's cool

 

Thanks for the info!

 

As I'll be able to continue with that on the next working they, which is next year :). I'll post the results then.

 

I wish you Merry Christmas and happy New Year. Enjoy the hollidays!

 

Best Regards,

 

Nikolay

QuoteReplyEditDelete

 

 

2008-12-26 11:00:41     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67126   

 

Hi,

 

I've downloaded the /trunk/uclinux-dist at home, but I had problem getting linux kernel (/linux-2.6.x) folder and I copied this folder from the 2008R1.5. I used 'svn export' command to get the sources.

 

When I try to build it the error appeards:

 

bfin-linux-uclibc-g++ -c -pipe -DQT_LINUX_NOMMU -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/mkspecs/qws/linux-bfin-fdpic-g++ -I/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib -I../../include -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-bfin -I/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/concurrent -Iglobal -I/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/3rdparty/harfbuzz/src -I.moc/release-shared-emb-bfin -I.uic/release-shared-emb-bfin -I. -o .obj/release-shared-emb-bfin/qatomic_bfin_unix.o /home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:46:29: error: bfin_fixed_code.h: No such file or directory

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function 'bool QBasicAtomicInt_testAndSetOrdered(volatile int*, int, int)':

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:52: error: 'bfin_atomic_cas32' was not declared in this scope

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function 'int QBasicAtomicInt_fetchAndStoreOrdered(volatile int*, int)':

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:59: error: 'bfin_atomic_xchg32' was not declared in this scope

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function 'int QBasicAtomicInt_fetchAndAddOrdered(volatile int*, int)':

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:70: error: 'ATOMIC_ADD32' was not declared in this scope

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function 'bool QBasicAtomicPointer_testAndSetOrdered(void* volatile*, void*, void*)':

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:86: error: 'ATOMIC_CAS32' was not declared in this scope

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function 'void* QBasicAtomicPointer_fetchAndStoreOrdered(void* volatile*, void*)':

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:100: error: 'ATOMIC_XCHG32' was not declared in this scope

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp: In function 'void* QBasicAtomicPointer_fetchAndAddOrdered(void* volatile*, qptrdiff)':

/home/uclinux/uclinux-dist/lib/qt-embedded/qt-embedded-linux-opensource-src-4.4.3/src/corelib/arch/bfin/qatomic_bfin_unix.cpp:115: error: 'ATOMIC_ADD32' was not declared in this scope

make[5]: *** [.obj/release-shared-emb-bfin/qatomic_bfin_unix.o] Error 1

make[5]: Leaving directory `/home/uclinux/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.4.3/src/corelib'

make[4]: *** [sub-corelib-install_subtargets-ordered] Error 2

make[4]: Leaving directory `/home/uclinux/uclinux-dist/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.4.3'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/uclinux/uclinux-dist/lib/qt-embedded'

make[2]: *** [qt-embedded] Error 2

make[2]: Leaving directory `/home/uclinux/uclinux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/uclinux/uclinux-dist/lib'

make: *** [subdirs] Error 1

 

 

Regards,

 

Nikolay

QuoteReplyEditDelete

 

 

2008-12-26 20:20:40     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67128   

 

bfin_fixed_code.h is only available in trunk toolchain.  you should be able to cheat copy it to your 2008R1.5 toolchain though as it's a standalone header ...

QuoteReplyEditDelete

 

 

2008-12-27 05:26:56     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67133   

 

Hi Mike,

 

Thanks for the reply!

 

I installed the toolchain using the .rpm package. What can you suggest me to do? To download toolchain/trunk and build it? Can I workaround it without downloading and building the toolchain?

 

Best Regards,

 

Nikolay

QuoteReplyEditDelete

 

 

2008-12-27 15:13:10     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67134   

 

the last release does not have the header.  you can copy it manually from svn as i suggested, or build the whole toolchain from svn yourself.

QuoteReplyEditDelete

 

 

2009-01-05 12:39:51     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67387   

 

Hi Mike,

 

 

 

I succeed building /trunk at home PC.

 

I downloaded today /trunk at work and tried to build it with Qt support, but the error appears:

 

patching file src/corelib/arch/bfin/qatomic_bfin_unix.cpp

patching file src/corelib/arch/qatomic_bfin.h

patching file src/corelib/io/qfilesystemwatcher_inotify.cpp

patching file src/corelib/io/qprocess_unix.cpp

patching file src/gui/embedded/qscreenlinuxfb_qws.cpp

patching file src/gui/painting/qpdf.cpp

/bin/sh: line 0: cd: qt-embedded-linux-opensource-src-4.4.3: No such file or directory

make[3]: *** [qt-embedded-linux-opensource-src-4.4.3/.unpacked] Error 1

make[3]: Leaving directory `/home/uclinux/uclinux-dist/lib/qt-embedded'

make[2]: *** [qt-embedded] Error 2

make[2]: Leaving directory `/home/uclinux/uclinux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/uclinux/uclinux-dist/lib'

make: *** [subdirs] Error 1

 

 

There is "qt-embedded-linux-opensource-src-4.4.3" folder under lib/qt-embedded/.

 

 

 

Best regards,

 

Nikolay

 

 

QuoteReplyEditDelete

 

 

2009-01-05 16:29:03     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67390   

 

 

 

I tried to build the pictureflow example at home, but I've got an error:

 

bfin-linux-uclibc-g++ -c -pipe -DQT_LINUX_NOMMU -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../../staging/usr/share/qt/mkspecs/qws/linux-bfin-fdpic-g++ -I. -I/home/uclinux/uclinux-dist/staging/usr/include/QtCore -I/home/uclinux/uclinux-dist/staging/usr/include/QtNetwork -I/home/uclinux/uclinux-dist/staging/usr/include/QtGui -I/home/uclinux/uclinux-dist/staging/usr/include -I. -I. -o main.o main.cpp

(cd /src/tools/moc && make)

/bin/sh: line 0: cd: /src/tools/moc: No such file or directory

make[4]: *** [/usr/bin/moc] Error 1

make[4]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow'

make[2]: *** [pictureflow] Error 2

make[2]: Leaving directory `/home/uclinux/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/uclinux/uclinux-dist/user'

make: *** [subdirs] Error 1

 

QuoteReplyEditDelete

 

 

2009-01-05 18:26:23     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67393   

 

this has been fixed in svn now, thanks

QuoteReplyEditDelete

 

 

2009-01-05 18:30:09     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67394   

 

this has been fixed in svn trunk

QuoteReplyEditDelete

 

 

2009-01-06 10:26:19     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67480   

 

Thanks Mike,

 

now I can build everything successfully!

 

I'm trying to use MAX1233 driver in the 2.6.28-rc2-ADI-2009R1-pre, but facing a problem. I'm using the same source as in 2008R1.5, where this driver works.

 

The error is:

 

max1233_probe: tries probe...

spi0.2:esFailed to probe MAX1233 Touchscreen, (0 != 0xF00F)

 

What is changed between these releases? How to solve this?

 

Best regards,

 

Nikolay

QuoteReplyEditDelete

 

 

2009-01-06 11:30:00     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67482   

 

no idea ... we dont really support or test the max1233 part

QuoteReplyEditDelete

 

 

2009-01-06 12:27:02     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67485   

 

 

 

I tried to build the pictureflow example at home, but I've got an error:

 

bfin-linux-uclibc-g++ -c -pipe -DQT_LINUX_NOMMU -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../../staging/usr/share/qt/mkspecs/qws/linux-bfin-fdpic-g++ -I. -I/home/uclinux/uclinux-dist/staging/usr/include/QtCore -I/home/uclinux/uclinux-dist/staging/usr/include/QtNetwork -I/home/uclinux/uclinux-dist/staging/usr/include/QtGui -I/home/uclinux/uclinux-dist/staging/usr/include -I. -I. -o main.o main.cpp

(cd /src/tools/moc && make)

/bin/sh: line 0: cd: /src/tools/moc: No such file or directory

make[4]: *** [/usr/bin/moc] Error 1

make[4]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow'

make[2]: *** [pictureflow] Error 2

make[2]: Leaving directory `/home/uclinux/uclinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/uclinux/uclinux-dist/user'

make: *** [subdirs] Error 1

 

 

---

 

I had this error again, but at work, with 2009-pre release. It appears when I run 'make' twice, without 'make clean' between. I don't know if 'make clean' helps, as the build process is a little bit slower. I'll have more info tomorrow.

QuoteReplyEditDelete

 

 

2009-01-07 07:05:22     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67550   

 

Hi Mike,

 

Finaly I finished with the build process. The MAX1233 mount problem was because of missing to 'patch' th spi_bfin5xx.c file. The Qt now work with the touchscreen on BF527 board just fine.

 

Thanks a lot for your help! You have a beer from me ;).

 

Best regards,

 

Nikolay

 

 

 

P.S. The problem building the pictureflow example from the previus post still exist...

QuoteReplyEditDelete

 

 

2009-01-07 07:08:25     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67551   

 

what missing patch exactly are you talking about ?

 

as for the qmake thing, you need to update lib/qt-embedded/ and re-run make

QuoteReplyEditDelete

 

 

2009-01-07 07:48:18     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67554   

 

No, it is not missing patch. I missed to change ( to 'patch')  the 'spi_bfin5xx.c' file to allow it to work with the max1233 driver. It is not an official patch, just comes with the max1233 driver I found.

 

 

QuoteReplyEditDelete

 

 

2009-01-07 07:53:41     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67555   

 

about the qmake... there is nothing to be updated as it is At revision 7558. No differences with the svn.

QuoteReplyEditDelete

 

 

2009-01-07 10:04:10     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67591   

 

more info:

 

running 'make' on 'uclinux-dist/user/pictureflow' gives:

 

colinux:/home/uclinux/uclinux-dist/user/pictureflow# make

make -C pictureflow-0.1.0/pictureflow-qt

make[1]: Entering directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

(cd /src/tools/moc && make)

/bin/sh: line 0: cd: /src/tools/moc: No such file or directory

make[1]: *** [/usr/bin/moc] Error 1

make[1]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

make: *** [all] Error 2

colinux:/home/uclinux/uclinux-dist/user/pictureflow#

 

QuoteReplyEditDelete

 

 

2009-01-09 09:32:23     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67722   

 

I suppose it is environment variable problem, i.e. the appropriate variables are not set. How can I check/fix that?

QuoteReplyEditDelete

 

 

2009-01-09 09:37:25     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67723   

 

what now ?  if you use latest trunk and rebuild in the qt dir, the qmake wrapper should fix the moc path for you.  you need to clean & make the pictureflow dir too.

QuoteReplyEditDelete

 

 

2009-01-09 10:11:44     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67724   

 

It gives me:

 

colinux:/home/uclinux/uclinux-dist/lib/qt-embedded# make

Makefile:83: /tools/download.mk: No such file or directory

make: *** No rule to make target `/tools/download.mk'.  Stop.

colinux:/home/uclinux/uclinux-dist/lib/qt-embedded#

 

QuoteReplyEditDelete

 

 

2009-01-09 10:18:19     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67725   

 

i didnt actually mean in the subdir.  what i meant was like:

make lib/qt-embedded/_only

QuoteReplyEditDelete

 

 

2009-01-09 10:28:09     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67726   

 

This will take a long time...

 

Do I have everytime to do that?

 

Isn't it possible just to set the environment variables? Where can I get the values from?

 

QuoteReplyEditDelete

 

 

2009-01-09 10:40:21     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67728   

 

it'll take a long time the first time you do it, but not every time after that

QuoteReplyEditDelete

 

 

2009-01-12 07:20:44     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67791   

 

I do:

 

make lib/qt-embedded/_only

 

then:

 

colinux:/home/uclinux/uclinux-dist/user/pictureflow# make

make -C pictureflow-0.1.0/pictureflow-qt

make[1]: Entering directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

(cd /src/tools/moc && make)

/bin/sh: line 0: cd: /src/tools/moc: No such file or directory

make[1]: *** [/usr/bin/moc] Error 1

make[1]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

make: *** [all] Error 2

colinux:/home/uclinux/uclinux-dist/user/pictureflow#

 

 

Am I doing something wrong?

 

 

QuoteReplyEditDelete

 

 

2009-01-12 07:25:11     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67794   

 

stop running `make` yourself.  everytime you do, there's nothing we can do to help.  if you want to run a specific subdir, then use the proper method:

make user/pictureflow_only

QuoteReplyEditDelete

 

 

2009-01-12 07:51:21     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67801   

 

Hi Mike,

 

Thanks for the remark!

 

now I have:

 

colinux:/home/uclinux/uclinux-dist# make user/pictureflow_only

make[1]: Entering directory `/home/uclinux/uclinux-dist/user'

touch pictureflow/.sgbuilt_user && make -C pictureflow -j1

make[2]: Entering directory `/home/uclinux/uclinux-dist/user/pictureflow'

make -C pictureflow-0.1.0/pictureflow-qt

make[3]: Entering directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

(cd /src/tools/moc && make)

/bin/sh: line 0: cd: /src/tools/moc: No such file or directory

make[3]: *** [/usr/bin/moc] Error 1

make[3]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/home/uclinux/uclinux-dist/user/pictureflow'

make[1]: *** [pictureflow_only] Error 2

make[1]: Leaving directory `/home/uclinux/uclinux-dist/user'

make: *** [user/pictureflow_only] Error 2

colinux:/home/uclinux/uclinux-dist#

 

QuoteReplyEditDelete

 

 

2009-01-12 07:56:50     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 67802   

 

since you ran `make` already, you've generated wrong local files.  you need to clean that up first by using _clean rather than _only.

QuoteReplyEditDelete

 

 

2009-01-12 08:23:09     Re: BF527 EZKIT with Qt and tslib problem

Nikolay Chokoev (IRELAND)

Message: 67807   

 

That's it! Thanks a lot!

QuoteReplyEditDelete

 

 

2009-01-15 17:18:06     Re: BF527 EZKIT with Qt and tslib problem

michael evehammar (SWEDEN)

Message: 67998   

 

bfin_fixed_code.h is only available in trunk toolchain.  you should be able to cheat copy it to your 2008R1.5 toolchain though as it's a standalone header ...

 

---

 

Hi, I guess it's possible copying the file into the installed toolchain 2008R8-RC14 to avoid recompiling? If the answer from my question is true, in wich folder shall I paste the file bfin_fixed_code.h ?

 

BR

 

Michael Evehammar

QuoteReplyEditDelete

 

 

2009-01-15 18:57:23     Re: BF527 EZKIT with Qt and tslib problem

Mike Frysinger (UNITED STATES)

Message: 68002   

 

pick a place the toolchain searches.  look for all the other C library headers.

QuoteReplyEditDelete

 

 

2009-02-11 07:57:29     Re: BF527 EZKIT with Qt and tslib problem

Tony Wu (CHINA)

Message: 69265   

 

pick a place the toolchain searches.  look for all the other C library headers.

 

--- Hi Mike:

 

      I have some question.

 

       1. Do you mean I can put the file : bfin_fixed_code.h to anywhere the compiler can find?

 

       2. after copy the bfin_fixed_code.h. I met another problem. the compiler can't fine the file :  dlfcn.h    

 

                  but there are several files named "dlfcn.h " in the source code of the toolchain.

 

                would anyone file will be OK? and Where should I copy the file to ??

 

  Best Regards !!!

Attachments

    Outcomes