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

undefined reference to `IID_IUnknown' on cygwin #1271

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

undefined reference to `IID_IUnknown' on cygwin #1271

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.1
Reported for operating system, platform: Windows 7, x86

Comments on the original bug report:

On 2013-12-11 19:40:04 +0000, Brian Minton wrote:

Created attachment 1495
full link errors

This applies to 2.0.1 and latest hg as well.

When building static or shared libraries on cygwin 1.7.25 on Windows 7 (32-bit), I get the following link errors:

build/.libs/SDL_windowskeyboard.o: In function UIElementSink_QueryInterface@12': /home/c-bminton/src/SDL/src/video/windows/SDL_windowskeyboard.c:995: undefined reference to IID_IUnknown'
build/.libs/SDL_windowskeyboard.o: In function IPPASink_QueryInterface@12': /home/c-bminton/src/SDL/src/video/windows/SDL_windowskeyboard.c:1101: undefined reference to IID_IUnknown'
collect2: error: ld returned 1 exit status
Makefile:126: recipe for target 'build/libSDL2.la' failed
make: *** [build/libSDL2.la] Error 1

On 2014-02-19 23:08:58 +0000, Robert Williamson wrote:

Created attachment 1565
Cygwin uuid library shadowing patch

I had the same issue, it's related to a shadowed uuid library. See:

http://www.mail-archive.com/cygwin@cygwin.com/msg106029.html
http://article.gmane.org/gmane.os.cygwin.ports.general/736

I worked around it with the attached patch based off of
https://code.google.com/p/mintty/source/diff?spec=svn1025&r=1025&format=side&path=/trunk/Makefile

On 2014-02-22 23:35:06 +0000, Sam Lantinga wrote:

Fixed, thanks!
https://hg.libsdl.org/SDL/rev/751605725282

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

1 participant