ts-7000
[Top] [All Lists]

[ts-7000] Re: Qt Sample Code?

To:
Subject: [ts-7000] Re: Qt Sample Code?
From: "andynmercier" <>
Date: Sat, 15 Sep 2007 17:54:51 -0000
--- In  "Anouk Ahamitet" <> wrote:
>
> Darn.  It still won't compile allmoc.cpp (which is apparently
> constructed by the Qt/E configure command).  At least it takes about
> an hour to figure that out.  Here's what gets dumped when it fails,
> just in case anyone recognizes something that might help:
> 
> make[2]: Entering directory `/usr/local/qt-embedded-free-3.3.4/src'
> g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC
> -DQT_SHARED -DQT_NO_DEBUG -DQT_NO_CUPS -DQT_NO_NIS -D_LARGEFILE_SOURCE
> -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG
> -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA
> -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT
> -DQT_NO_STYLE_POCKETPC -DQT_NO_QWS_VFB -DQT_NO_QWS_VNC
> -DQT_NO_QWS_VGA16 -DQT_NO_QWS_TRANSFORMED -DQT_NO_QWS_SNAP
> -DQT_NO_QWS_MACH64 -DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MATROX
> -DQT_NO_QWS_SHADOWFB -DQT_NO_QWS_REPEATER -DQT_NO_QWS_KBD_SL5000
> -DQT_NO_QWS_KBD_USB -DQT_NO_QWS_KBD_YOPY -DQT_NO_QWS_KBD_VR41
> -DQT_NO_QWS_MOUSE_BUS -DQT_NO_QWS_MOUSE_LINUXTP -DQT_NO_QWS_MOUSE_VR41
> -DQT_NO_QWS_MOUSE_YOPY
> -I/usr/local/qt-embedded-free-3.3.4/mkspecs/qws/linux-generic-g++ -I.
> -I3rdparty/freetype/src -I3rdparty/freetype/include
> -I3rdparty/freetype/builds/unix -I3rdparty/freetype2/include
> -I3rdparty/libpng -I3rdparty/zlib -I../include
> -I.moc/release-shared-emb-generic/ -o
> .obj/release-shared-emb-generic/allmoc.o
> .moc/release-shared-emb-generic/allmoc.cpp
> g++: Internal error: Killed (program cc1plus)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> For Debian GNU/Linux specific bug reporting instructions,
> see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
> 
> {standard input}: Assembler messages:
> {standard input}:67193: Warning: end of file not at end of a line;
> newline inserted
> make[2]: *** [.obj/release-shared-emb-generic/allmoc.o] Error 1
> make[2]: Leaving directory `/usr/local/qt-embedded-free-3.3.4/src'
> {standard input}:68179: Error: register expected, not 'r' -- `add r'
> make[1]: *** [sub-src] Error 2
> make[1]: Leaving directory `/usr/local/qt-embedded-free-3.3.4'
> make: *** [init] Error 2
> 
> 
> PS:  As I think I said at the beginning, I'm trying to build directly
> on my TS-7250, using the debian-sarge-1.12.tar extracted onto a USB
> drive with fstab adjusted and loaded as per Technologic's
> instructions.  I'm using the Qt/E source files from
> qt-embedded-free-3.3.4-src.tar.gz (both file sets downloaded from
> ftp.embeddedarm.com) extracted into /usr/local.  And I did install the
> diff package (to get the missing 'cmp' utility) and manually added the
> missing link from g++ to g++-3.3 so that the configure and make would
> at least TRY to run.
>
I too used a USB flash drive but, unlike you, didn't boot from it. I
left the default boot of the TS-7300 to use the SD card. I extracted
the qt-embedded-free-3.3.4-src.tar.gz (which I got from Trolltech)
into the root of the USB flash. I've found that running the OS and a
file intensive operation (such as compiling) on the same device causes
the system to process slowly, but I have no hard numbers.

The TS-7300 I'm using has 128MB of RAM.

Another thought... I didn't use the diff package (for cmp) so I didn't
have all that extra cmp time during my builds. Although this won't fix
the compiling problem you've seen I'm confident that it'll add time to
the build. Who knows what these cmp's are for?

I'm planning some time in the next few days where I'll be rebuilding
Qt/E to go up a notch on the amount of compiling done (by specifying
the next size up from small... so what will that be "./configure
-qconfig medium"?). I have two choices on platforms to perform the
build, the TS-7300 and the a TS-7250 with 64MB RAM. Just this morning,
before seeing your message, I considered rebuilding Qt/E using the
TS-7250 since it's available most of the time. I'll let you know what
happens.

Andy

P.S. Regardless which board I run the build on, I'm considering
logging the entire build so every warning or issue will be captured.
I've had decent performance out of my Qt/E application thus far.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU