• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
mismatching weak references for symbol?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mismatching weak references for symbol?


  • Subject: mismatching weak references for symbol?
  • From: Dave Camp <email@hidden>
  • Date: Fri, 16 Jul 2004 14:32:01 -0700

This appears to be my week for cryptic error messages...

I've got two projects. One project builds a static library (libFoo.a) and as such does not link with any other libraries or frameworks. The other project builds a Carbon app that links with Carbon.framework and libFoo.a.

I'm getting the following, but I don't know what it means:

ld: mismatching weak references for symbol: _HIThemeDrawButton
/path/to/libFoo.a(TreeControl.o) reference to weak _HIThemeDrawButton
/path/to/libFoo.a(ToolBar.o) reference to weak _HIThemeDrawButton
/path/to/libFoo.a(ComboDe.o) reference to weak _HIThemeDrawButton
ld: mismatching weak references for symbol: _HIThemeDrawGenericWell
/path/to/libFoo.a(Static.o) reference to weak _HIThemeDrawGenericWell
ld: mismatching weak references for symbol: _HIThemeDrawSeparator
/path/to/libFoo.a(Static.o) reference to weak _HIThemeDrawSeparator
/path/to/libFoo.a(ToolBar.o) reference to weak _HIThemeDrawSeparator
ld: mismatching weak references for symbol: _HIThemeDrawTab
/path/to/libFoo.a(TabControl.o) reference to weak _HIThemeDrawTab
ld: mismatching weak references for symbol: _HIThemeDrawTextBox
/path/to/libFoo.a(TabControl.o) reference to weak _HIThemeDrawTextBox

Googling on the error message doesn't yield any interesting results.

The odd thing about this is that libFoo.a uses a lot of Carbon stuff, not just those HIToolbox routines, but I'm only getting errors on the HIToolbox stuff.

Any thoughts?

Dave

---
Among the chief weapons of UNIX: Fear, surprise and ruthless efficiency.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



  • Follow-Ups:
    • Re: mismatching weak references for symbol? [solved]
      • From: Dave Camp <email@hidden>
  • Prev by Date: Re: Header Doc 8 - formatting issue
  • Next by Date: Makefile - Finding project Source files
  • Previous by thread: Re: Header Doc 8 - formatting issue
  • Next by thread: Re: mismatching weak references for symbol? [solved]
  • Index(es):
    • Date
    • Thread