ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [Ltib] Qtopia on LPC3250


From: Stuart Hughes
Subject: Re: FW: [Ltib] Qtopia on LPC3250
Date: Wed, 31 Mar 2010 14:16:00 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Kevin,

Thanks for the patch, it's applied and checked-in.

Regards, Stuart

Kevin Wells wrote:
> Hi Stuart,
> 
> Please install that patch below into the qtopia.spec file (or
> I can do it a little later this week). This fixes a build issue
> with 32x0 configurations that do not select a touchscreen in
> the qtopia options menu.
>>     phy3250|ea3250|fdi3250)
>>         export EXTRA_QTE_CONFIG=
>>         if [ -n "$PKG_QTOPIA_WANT_TSLIB" ]
>>         then
>>                export EXTRA_QTE_CONFIG="-tslib"
>>         fi
> 
> Hi Chris and other Ubuntu users,
> 
> With the fresh unchanged Ubuntu installation, the Xlib/Xorg
> header files and several important apps used by the qt2 build
> system are missing. You need to add the following host packages
> via the Synaptic Package manager to built Qtopia 2. These seem
> to be installed by default with my default Fedora 12 box.
> <Definite package additions>
>         xserver-xorg-dev
>         qt3-dev-tools
>         uuid-dev
> 
> <Possible package additions>
>         libqt3-mt (might be installed as dependency for qt3-dev-tools)
> 
> There are still some file stripping errors in the qt2 build process
> that are tagged as (ignored) errors. The build process correctly
> continues and generates a build when these fail, but a few apps may
> be larger than normal (or may not work at all).
> 
> thanks,
> Kevin
> 
>> Subject: Re: FW: [Ltib] Qtopia on LPC3250
>>
>> Hi Kevin,
>>
>> Okay let's wait.  The .spec file is common so it should be possible to
>> change the patch to something like:
>>
>>     phy3250|ea3250|fdi3250)
>>         export EXTRA_QTE_CONFIG=
>>         if [ -n "$PKG_QTOPIA_WANT_TSLIB" ]
>>         then
>>                export EXTRA_QTE_CONFIG="-tslib"
>>         fi
>>
>> Regards, Stuart
>>
>> Kevin Wells wrote:
>>> Hi Stuart,
>>>
>>>> I didn't see the patch you mention?, is this something I should put into
>>>> CVS?  should I wait until Chris can confirm if this fixes his build
>> issue.
>>> Thanks, let's wait for Chris to get it up and running on his board before
>>> placing it in cvs; just in case I need to make more edits.
>>>
>>> Here is the current patch as applied to dist/lfs-5.1/qtopia/qtopia.spec
>>>
>>> 93c93,97
>>>        export EXTRA_QTE_CONFIG="-tslib"
>>> ---
>>>        export EXTRA_QTE_CONFIG=
>>>        if [ -n "$PKG_QTOPIA_WANT_TSLIB" ]
>>>        then
>>>               export EXTRA_QTE_CONFIG="-tslib"
>>>        fi
>>>
>>> I might also need to apply this the ea3250 and fdi3250 cases in the spec.
>>>
>>> thanks,
>>> Kevin
>>>
>>>
>>>> -----Original Message-----
>>>> From: Stuart Hughes [mailto:address@hidden
>>>> Sent: Wednesday, March 24, 2010 1:38 AM
>>>> To: Kevin Wells
>>>> Cc: Chris Westervelt; address@hidden
>>>> Subject: Re: FW: [Ltib] Qtopia on LPC3250
>>>>
>>>> Hi Kevin,
>>>>
>>>> As you've found the Qtopia build system is quite hostile, it does keep
>>>> going even if there are errors.  It's very hard to debug.
>>>>
>>>> I didn't see the patch you mention?, is this something I should put into
>>>> CVS?  should I wait until Chris can confirm if this fixes his build
>> issue.
>>>> Regards, Stuart
>>>>
>>>> Kevin Wells wrote:
>>>>> Hi Chris,
>>>>>
>>>>>
>>>>>
>>>>> I've tested my build on a Ubuntu machine and it always fails with only
>>>>> the lib directory if
>>>>>
>>>>> the mouse is selected, but touch support isn't. It's the same way on my
>>>>> Fedora machine.
>>>>>
>>>>> I don't provide a default config for qt2, but I always use both mouse
>>>>> and touch when
>>>>>
>>>>> building here so I never see the issue. That patch below should of fixed
>>>>> it unless it's
>>>>>
>>>>> soemthing else I'm not seeing.
>>>>>
>>>>>
>>>>>
>>>>> When some type of error occurs, it seems the Qtopia build scripts just
>>>>> keep on humming
>>>>>
>>>>> along. Most of the time, there is so much output you can't see the error
>>>>> messages.
>>>>>
>>>>>
>>>>>
>>>>> I've identified several errors:
>>>>>
>>>>> kernel/qwsmouse_qws.cpp:1945: error: forward declaration of 'const
>>>>> struct ts_sample'
>>>>>
>>>>> kernel/qwsmouse_qws.cpp:1946: error: invalid use of undefined type
>>>>> 'const struct ts_sample'
>>>>>
>>>>> kernel/qwsmouse_qws.cpp:1945: error: forward declaration of 'const
>>>>> struct ts_sample'
>>>>>
>>>>> make[1]: ***
>>>>> [tmp/release-shared-linux--g++-no-keypad/kernel/qwsmouse_qws.o] Error 1
>>>>>
>>>>> WARNING: defaultbuttons-arm.conf does not exist.
>>>>>
>>>>> You'll see this error if the patch isn't used and the touschreen support
>>>>> in Qtopia isn't enabled (in the LTIB qtopia menu).
>>>>>
>>>>>
>>>>>
>>>>> I've also identified some errors related to linking similar to below..
>>>>>
>>>>> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-
>>>> gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-
>>>> gnueabi/bin/ld:
>>>>> skipping incompatible /home/usb10132/dev/ltib/rootfs/usr/lib/libuuid.so
>>>>> when searching for -luuid
>>>>>
>>>>> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-
>>>> gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-
>>>> gnueabi/bin/ld:
>>>>> skipping incompatible /home/usb10132/dev/ltib/rootfs/usr/lib/libuuid.so
>>>>> when searching for -luuid
>>>>>
>>>>> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-
>>>> gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-
>>>> gnueabi/bin/ld:
>>>>> cannot find -lqte
>>>>>
>>>>> collect2: ld returned 1 exit status
>>>>>
>>>>> make[5]: *** [../../../lib/libqpe.so.1.5.3] Error 1
>>>>>
>>>>> I'm not sure whats going on with these. Anyone have any ideas here?
>>>>>
>>>>>
>>>>>
>>>>> Please can you try this..
>>>>>
>>>>> Make sure the patch listed previously is installed.
>>>>>
>>>>> Remove the qtopia-free-2.2.0 directory in the rpm/BUILD directory if it
>>>>> exists.
>>>>>
>>>>> Run the following command:
>>>>>
>>>>>                 ./ltib --force --leavesrc --pkg qtopia
>>>>>
>>>>> Does this help?
>>>>>
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> Kevin
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From:* Kevin Wells
>>>>> *Sent:* Tuesday, March 23, 2010 10:56 AM
>>>>> *To:* 'Chris Westervelt'; address@hidden
>>>>> *Subject:* RE: FW: [Ltib] Qtopia on LPC3250
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi Chris,
>>>>>
>>>>>
>>>>>
>>>>> I'm looking at this issue today. There's something odd happening, but
>>>>> not in all cases - I guess I'm
>>>>>
>>>>> having better luck than others getting this to work.
>>>>>
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> Kevin
>>>>>
>>>>>
>>>>>
>>>>> *From:* address@hidden
>>>>> [mailto:address@hidden *On Behalf Of
>>>>> *Chris Westervelt
>>>>> *Sent:* Monday, March 22, 2010 1:41 PM
>>>>> *To:* address@hidden
>>>>> *Subject:* FW: FW: [Ltib] Qtopia on LPC3250
>>>>>
>>>>>
>>>>>
>>>>> Actually I’m building on 9.04
>>>>>
>>>>>
>>>>>
>>>>> * *
>>>>>
>>>>>
>>>>>
>>>>> *From:* address@hidden
>>>>> [mailto:address@hidden *On
>>>>> Behalf Of *Chris Westervelt
>>>>> *Sent:* Monday, March 22, 2010 4:25 PM
>>>>> *To:* address@hidden
>>>>> *Subject:* FW: FW: [Ltib] Qtopia on LPC3250
>>>>>
>>>>>
>>>>>
>>>>> Yes I am.  I have an entire custom version of phy3250 for my hardware
>>>>> that I have been compiling under 9.10 for months.    I just never had a
>>>>> need for Qtopia until recently because of a new product design.  Is this
>>>>> the problem?
>>>>>
>>>>>
>>>>>
>>>>> *Chris Westervelt*
>>>>>
>>>>> *Senior Product Development Engineer*
>>>>>
>>>>> *Infrasafe, Inc.
>>>>> 12612 Challenger Pkwy
>>>>> Suite 300
>>>>> Orlando, FL
>>>>> 32826*
>>>>>
>>>>> *http://www.infrasafe.com <http://www.infrasafe.com/>
>>>>> Office:   (407) 926-6983*
>>>>>
>>>>> *Mobile: (407) 595-7023
>>>>> Fax:    (407) 857-1635*
>>>>> *Notice of Confidentiality:*
>>>>> This e-mail communication and the attachments hereto, if any, are
>>>>> intended solely for the information and use of the addressee(s)
>>>>> identified above and may contain information which is legally privileged
>>>>> and/or otherwise confidential. If a recipient of this e-mail
>>>>> communication is not an addressee (or an authorized representative of an
>>>>> addressee), such recipient is hereby advised that any review,
>>>>> disclosure, reproduction, re-transmission or other dissemination or use
>>>>> of this e-mail communication (or any information contained herein) is
>>>>> strictly prohibited. If you are not an addressee and have received this
>>>>> e-mail communication in error, please advise the sender of that
>>>>> circumstance either by reply e-mail or by telephone at (800) 238-2686,
>>>>> immediately delete this e-mail communication from any computer and
>>>>> destroy all physical copies of same.**
>>>>>
>>>>>
>>>>>
>>>>> *From:* Peter Barada [mailto:address@hidden
>>>>> *Sent:* Monday, March 22, 2010 4:19 PM
>>>>> *To:* Chris Westervelt
>>>>> *Cc:* address@hidden
>>>>> *Subject:* Re: FW: [Ltib] Qtopia on LPC3250
>>>>>
>>>>>
>>>>>
>>>>> On Mon, 2010-03-22 at 13:13 -0700, Chris Westervelt wrote:
>>>>>
>>>>>
>>>>>
>>>>> Kevin,
>>>>>
>>>>>
>>>>>
>>>>> I am able to get a build to complete but there is no opt/bin directory
>>>> only a lib.  I am using the default build for Phytec LPC3250 with Qtopia2
>>>> added.  It builds ok with the default compiler version but not really.
>>>> When I look back into the output, it seems to think that there is nothing
>>>> to be built for 'all' a common problem I have seen when the compiler does
>>>> not see an 'all' configuration in the make file.  What is causing this?
>> I
>>>> did apply your patch.  Also the fonts return a file format not
>> recognized.
>>>> I cannot even build the kernel with gcc 3.4.5
>>>>>
>>>>>
>>>>>
>>>>> Are you building on Ubuntu-9.10?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>>
>>>>> From: Kevin Wells [mailto:address@hidden
>>>>>
>>>>> Sent: Monday, March 22, 2010 3:11 PM
>>>>>
>>>>> To: Chris Westervelt; address@hidden <mailto:address@hidden>
>>>>>
>>>>> Subject: RE: [Ltib] Qtopia on LPC3250
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi Chris,
>>>>>
>>>>>
>>>>>
>>>>> I usually build this package with both mouse and touchscreen support.
>>>>>
>>>>> However, it looks like that issue with the missing directories occurs
>>>>>
>>>>> when the "[ ] Use touchscreen" option isn't enabled (missing lib).
>>>>>
>>>>>
>>>>>
>>>>> Can you please try applying this patch to the dist/lfs-5.1/qtopia.spec
>>>>>
>>>>> file and then building qtopia 2?
>>>>>
>>>>>
>>>>>
>>>>> 93c93,97
>>>>>
>>>>> <       export EXTRA_QTE_CONFIG="-tslib"
>>>>>
>>>>> ---
>>>>>
>>>>>>       export EXTRA_QTE_CONFIG=
>>>>>>       if [ -n "$PKG_QTOPIA_WANT_TSLIB" ]
>>>>>>       then
>>>>>>              export EXTRA_QTE_CONFIG="-tslib"
>>>>>>       fi
>>>>>
>>>>> I'm guessing you just had the USB mouse support enabled, but no
>>>>>
>>>>> touchscreen support?
>>>>>
>>>>>
>>>>>
>>>>> thanks,
>>>>>
>>>>> Kevin
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: address@hidden <mailto:ltib-
>>>> address@hidden> [mailto:ltib-
>>>>>> address@hidden
>>>> <mailto:address@hidden>] On Behalf Of Chris
>>>> Westervelt
>>>>>> Sent: Monday, March 22, 2010 9:10 AM
>>>>>> To: address@hidden <mailto:address@hidden>
>>>>>> Subject: FW: [Ltib] Qtopia on LPC3250
>>>>>> Hi Stuart,
>>>>>> You would think from the list that it was but upon attempting to build
>>>> it,
>>>>>> alas I am unable to build it.  I have tried all manner of combinations
>>>> but
>>>>>> I just can't get a build.  Perhaps Kevin can pull it down as it sits
>>>> and
>>>>>> see if he can find a way to get through it.  The kernel won't build
>>>> with
>>>>>> the default board configuration for Phytec with GCC 3.4.5.
>>>>>> -----Original Message-----
>>>>>> From: Stuart Hughes [mailto:address@hidden
>>>>>> Sent: Monday, March 22, 2010 10:17 AM
>>>>>> To: Chris Westervelt
>>>>>> Cc: address@hidden <mailto:address@hidden>
>>>>>> Subject: Re: [Ltib] Qtopia on LPC3250
>>>>>> Hi Chris,
>>>>>> I thought this had been resolved?
>>>>>> http://lists.gnu.org/archive/html/ltib/2009-12/msg00092.html
>>>>>> I don't recall the problem, maybe someone else on the list has some
>>>>>> information?
>>>>>> Regards, Stuart
>>>>>> Chris Westervelt wrote:
>>>>>>> Hi Stuart,
>>>>>>> Do you know if the build for Qtopia on the LPC3250 platforms has been
>>>>>>> resolved yet .  I tried to build Q2 and it completes however no
>>>> binaries
>>>>>>> exist.  I saw where others had tried and failed or made some progress
>>>>>>> but it seemed like all went quiet after a while on the subject which
>>>>>>> meant they either succeeded but did not check any patches in or they
>>>>>>> just gave up. Q4 does not finish building at all but as many have
>>>> said,
>>>>>>> is probably too big for most devices anyway.
>>>>>>> *Chris Westervelt*
>>>>>>> *Senior Product Development Engineer*
>>>>>>> *Infrasafe, Inc.
>>>>>>> 12612 Challenger Pkwy
>>>>>>> Suite 300
>>>>>>> Orlando, FL
>>>>>>> 32826*
>>>>>>> *http://www.infrasafe.com <http://www.infrasafe.com/>
>>>>>>> Office:   (407) 926-6983*
>>>>>>> *Mobile: (407) 595-7023
>>>>>>> Fax:    (407) 857-1635*
>>>>>>> *Notice of Confidentiality:*
>>>>>>> This e-mail communication and the attachments hereto, if any, are
>>>>>>> intended solely for the information and use of the addressee(s)
>>>>>>> identified above and may contain information which is legally
>>>> privileged
>>>>>>> and/or otherwise confidential. If a recipient of this e-mail
>>>>>>> communication is not an addressee (or an authorized representative of
>>>> an
>>>>>>> addressee), such recipient is hereby advised that any review,
>>>>>>> disclosure, reproduction, re-transmission or other dissemination or
>>>> use
>>>>>>> of this e-mail communication (or any information contained herein) is
>>>>>>> strictly prohibited. If you are not an addressee and have received
>>>> this
>>>>>>> e-mail communication in error, please advise the sender of that
>>>>>>> circumstance either by reply e-mail or by telephone at (800) 238-
>>>> 2686,
>>>>>>> immediately delete this e-mail communication from any computer and
>>>>>>> destroy all physical copies of same.**
>>>>>>> ---------------------------------------------------------------------
>>>> ---
>>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]