PDA

View Full Version : Link error QtCore.dynlist in cygwin



Sumiko
24th April 2013, 19:59
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,

Sumiko
25th April 2013, 18:02
who has any solutions for this issue? Very appreciated if any advice!

ChrisW67
26th April 2013, 00:32
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.