Results 1 to 3 of 3

Thread: Link error QtCore.dynlist in cygwin

  1. #1
    Join Date
    Mar 2013
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Link error QtCore.dynlist in cygwin

    Hi,

    I am building Qt5 in cygwin. There is link error happened after the configuration,

    g++ -shared /cygdrive/c/Qt/5.02/qtbase/src/corelib/QtCore.dynlist .....(be omitted)
    /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/Qt/5.02/qtbase/src/corelib/QtCore.dynlist: file format not recognized; treating as linker script
    /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/Qt/5.02/qtbase/src/corelib/QtCore.dynlist:1: syntax error
    collect2: ld returned 1 exit status
    Makefile:620: recipe for target `../../lib/libQt5Core.dll.5.0.2' failed
    make[3]: *** [../../lib/libQt5Core.dll.5.0.2] Error 1
    make[3]: Leaving directory `/cygdrive/c/Qt/5.02/qtbase/src/corelib'
    Makefile:76: recipe for target `sub-corelib-make_first' failed
    make[2]: *** [sub-corelib-make_first] Error 2
    make[2]: Leaving directory `/cygdrive/c/Qt/5.02/qtbase/src'
    Makefile:40: recipe for target `sub-src-make_first' failed
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory `/cygdrive/c/Qt/5.02/qtbase'
    Makefile:52: recipe for target `module-qtbase-make_first' failed
    make: *** [module-qtbase-make_first] Error 2

    Any ideas? thank you,

  2. #2
    Join Date
    Mar 2013
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Link error QtCore.dynlist in cygwin

    who has any solutions for this issue? Very appreciated if any advice!

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Link error QtCore.dynlist in cygwin

    I do not know of anyone who has built Qt on Cygwin (or particularly why you would want to); I certainly haven't.

    Since you have not given us the offending compiler or linker command we cannot even look for obvious problems. At a guess the compiler/linker command is malformed.

Similar Threads

  1. Replies: 11
    Last Post: 5th May 2011, 14:05
  2. ../../include/QtCore/qatomic_i386.h:132: error: impossible constraint in 'asm'
    By lars.thornqvist@pdahl.se in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd April 2010, 12:51
  3. Apparent error in QtCore/quuid.h
    By cwp500 in forum Qt Programming
    Replies: 11
    Last Post: 18th December 2008, 20:51
  4. QtCore and QtOpenGL fatal error
    By QTInfinity in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2008, 20:38
  5. moc link error
    By user_mail07 in forum Qt Programming
    Replies: 3
    Last Post: 3rd July 2007, 19:30

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
  •  
Qt is a trademark of The Qt Company.