Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated symbols when linking against Qt5 #30

Closed
tsieger opened this issue Oct 21, 2014 · 1 comment
Closed

Duplicated symbols when linking against Qt5 #30

tsieger opened this issue Oct 21, 2014 · 1 comment

Comments

@tsieger
Copy link

tsieger commented Oct 21, 2014

There were the following problems observed when linking against Qt5.2.0 on R 3.1.0 on Win7 SP1 32bit:

 d001289.o:(.idata$2+0x0): multiple definition of `_head_Qt5PrintSupport_dll'
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib/libQt5PrintSupport.a(d000049.o):(.idata$2+0x0): first defined here
d001473.o:(.idata$7+0x0): multiple definition of `Qt5PrintSupport_dll_iname'
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib/libQt5PrintSupport.a(d000449.o):(.idata$7+0x0): first defined here
d001474.o:(.idata$2+0x0): multiple definition of `_head_Qt5XmlPatterns_dll'
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib/libQt5XmlPatterns.a(d000766.o):(.idata$2+0x0): first defined here
d001665.o:(.idata$7+0x0): multiple definition of `Qt5XmlPatterns_dll_iname'
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib/libQt5XmlPatterns.a(d001074.o):(.idata$7+0x0): first defined here
d002086.o:(.idata$2+0x0): multiple definition of `_head_Qt5Test_dll'
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib/libQt5Test.a(d000017.o):(.idata$2+0x0): first defined here
d002127.o:(.idata$7+0x0): multiple definition of `Qt5Test_dll_iname'
C:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib/libQt5Test.a(d000182.o):(.idata$7+0x0): first defined here

Disabling the Test, PrintSupport, and XmlPatterns Qt modules helped (in CMakeFiles.txt in src and kde-bindings/smoke/qt).

See #25 for details.

@lawremi
Copy link
Member

lawremi commented Jan 2, 2015

This should be fixed with the new linking approach.

@lawremi lawremi closed this as completed Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants