Results 1 to 1 of 1

Thread: Problems with toolchain

  1. #1
    Join Date
    Nov 2009
    Posts
    68
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded

    Default Problems with toolchain

    Been working on this for a day and a half with no resolution, so help would be appreciated.

    I have Ubuntu 10.04 that I am trying to use as workstation to cross compile QT for arm Based BeagleBoard-xM.

    I downloaded a good toolchain for the Angstrom Linux from Narcissus. Then I download qt-everywhere 4.6.2 and do this statement all goes correctly:

    ./configure -v -opensource -confirm-license -prefix /opt/qt-arm -no-qt3support -embedded arm -little-endian -xplatform qws/linux-DM3730-g++ -qtlibinfix E -no-mmx -no-3dnow -no-sse -no-sse2

    After a make and make install I am able to build programs and run them on the BB-xM, but I needed audio so I try to do the following configure where I add -phonon -phonon-backend:

    ./configure -v -opensource -confirm-license -phonon -phonon-backend -prefix /opt/qt-arm -no-qt3support -embedded arm -little-endian -xplatform qws/linux-DM3730-g++ -qtlibinfix E -no-mmx -no-3dnow -no-sse -no-sse2

    Now I get many, many errors: like the following. Help would be appreciated.
    ------------------------------------------------------------------------------------------------------------------------

    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o floatmath.o floatmath.cpp
    floatmath.cpp:44: warning: unused parameter ‘argc’
    floatmath.cpp:44: warning: unused parameter ‘argv’
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -Wl,-O1 -Wl,-rpath,/opt/qt-arm/lib -o floatmath floatmath.o -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib -lts -lasound
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lts
    collect2: ld returned 1 exit status
    make: *** [floatmath] Error 1
    floatmath disabled.
    neon auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -mfpu=neon -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o neon.o neon.cpp
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -Wl,-O1 -Wl,-rpath,/opt/qt-arm/lib -o neon neon.o -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib -lts -lasound -mfpu=neon
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lts
    collect2: ld returned 1 exit status
    make: *** [neon] Error 1
    neon disabled.
    zlib auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o zlib.o zlib.cpp
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -Wl,-O1 -Wl,-rpath,/opt/qt-arm/lib -o zlib zlib.o -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib -lts -lasound -lz
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lts
    collect2: ld returned 1 exit status
    make: *** [zlib] Error 1
    zlib disabled.
    libjpeg auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o libjpeg.o libjpeg.cpp
    libjpeg.cpp:45:21: error: jpeglib.h: No such file or directory
    libjpeg.cpp: In function ‘int main(int, char**)’:
    libjpeg.cpp:50: error: ‘j_compress_ptr’ was not declared in this scope
    libjpeg.cpp:50: error: expected `;' before ‘cinfo’
    libjpeg.cpp:51: error: ‘cinfo’ was not declared in this scope
    libjpeg.cpp:51: error: ‘jpeg_create_compress’ was not declared in this scope
    make: *** [libjpeg.o] Error 1
    libjpeg disabled.
    libtiff auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o libtiff.o libtiff.cpp
    libtiff.cpp:42:20: error: tiffio.h: No such file or directory
    libtiff.cpp:50:6: error: #error "Required libtiff not found"
    libtiff.cpp: In function ‘int main(int, char**)’:
    libtiff.cpp:57: error: ‘tdata_t’ was not declared in this scope
    libtiff.cpp:57: error: expected `;' before ‘buffer’
    libtiff.cpp:58: error: ‘buffer’ was not declared in this scope
    libtiff.cpp:58: error: ‘_TIFFfree’ was not declared in this scope
    libtiff.cpp:62: error: ‘TIFFReadRGBAImageOriented’ was not declared in this scope
    make: *** [libtiff.o] Error 1
    libtiff disabled.
    libmng auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o libmng.o libmng.cpp
    In file included from ../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng/libmng.h:386,
    from libmng.cpp:42:
    ../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng/libmng_types.h:197:76: error: jpeglib.h: No such file or directory
    In file included from ../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng/libmng.h:386,
    from libmng.cpp:42:
    ../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng/libmng_types.h:369: error: ‘J_DCT_METHOD’ does not name a type
    In file included from libmng.cpp:42:
    ../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng/libmng.h:1090: error: ‘mngjpeg_dctmethod’ has not been declared
    ../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng/libmng.h:1242: error: ‘mngjpeg_dctmethod’ does not name a type
    make: *** [libmng.o] Error 1
    libmng disabled.
    libpng auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o libpng.o libpng.cpp
    libpng.cpp:42:17: error: png.h: No such file or directory
    libpng.cpp:45:4: error: #error "Required libpng version 1.0.17 not found."
    libpng.cpp: In function ‘int main(int, char**)’:
    libpng.cpp:50: error: ‘png_structp’ was not declared in this scope
    libpng.cpp:50: error: expected `;' before ‘png_ptr’
    libpng.cpp:51: error: ‘png_ptr’ was not declared in this scope
    libpng.cpp:51: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope
    libpng.cpp:51: error: ‘png_create_read_struct’ was not declared in this scope
    make: *** [libpng.o] Error 1
    libpng disabled.
    DB2 auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o db2.o db2.cpp
    db2.cpp:42:20: error: sqlcli.h: No such file or directory
    db2.cpp:43:21: error: sqlcli1.h: No such file or directory
    make: *** [db2.o] Error 1
    DB2 disabled.
    InterBase auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o ibase.o ibase.cpp
    ibase.cpp:42:19: error: ibase.h: No such file or directory
    make: *** [ibase.o] Error 1
    InterBase disabled.
    MySQL (thread-safe) auto-detection... ()
    /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-DM3730-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include -I../../../../qt-everywhere-opensource-src-4.6.2.old/src/3rdparty/libmng -o mysql.o ../mysql/mysql.cpp
    ../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory
    make: *** [mysql.o] Error 1
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    ,,,,,,,,,,,,, Lines Cut .............
    Phonon support cannot be enabled due to functionality tests!
    Turn on verbose messaging (-v) to ./configure to see the final report.
    If you believe this message is in error you may use the continue
    switch (-continue) to ./configure to continue.
    Last edited by weaver4; 24th November 2010 at 03:47.

Similar Threads

  1. Replies: 1
    Last Post: 21st September 2010, 08:58
  2. Replies: 2
    Last Post: 23rd July 2010, 14:53
  3. Best toolchain
    By Jef Patat in forum Newbie
    Replies: 2
    Last Post: 16th December 2009, 11:42
  4. problems going from 4.3.x to 4.4.0
    By Ovis in forum Installation and Deployment
    Replies: 4
    Last Post: 26th June 2008, 19:22
  5. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.