• 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
Re: X11 sample conflict with ZeroLink
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 sample conflict with ZeroLink


  • Subject: Re: X11 sample conflict with ZeroLink
  • From: Godfrey DiGiorgi <email@hidden>
  • Date: Thu, 26 Feb 2004 08:46:57 -0800

Brent,

I hadn't heard of this one before. Please file a bug report using the form at <http://developer.apple.com/bugreporter/>.

best,
Godfrey
---
  Godfrey DiGiorgi - email@hidden
  408 974-6814 tel - 408 974-8101 fax - 408 832-8319 cell
  Technology Manager, Development Tools
  Apple Worldwide Developer Relations


On Feb 25, 2004, at 6:04 PM, Brent Gulanowski wrote:

Apple has an X11 sample app. This works fine in Project Builder and also fine in XCode as a legacy target. But if it is updated to a native target, it claims to find a conflict for the Bool and Status types, defined in both Xlib.h and ICElib.h. Turning off ZeroLink makes the problems described here go away. But for the record, with ZeroLink turned on:

Here are the errors:

In file included from /usr/X11R6/include/X11/SM/SMlib.h:37,
from /usr/X11R6/include/X11/Shell.h:54,
from /Volumes/Clarke/Users/Shared/Downloads/X11CallCarbonAndCocoa/ X11Code.c:56:
/usr/X11R6/include/X11/ICE/ICElib.h:37:1: warning: "Bool" redefined
In file included from /usr/X11R6/include/X11/Intrinsic.h:56,
from /Volumes/Clarke/Users/Shared/Downloads/X11CallCarbonAndCocoa/ X11Code.c:54:
/usr/X11R6/include/X11/Xlib.h:96:1: warning: this is the location of the previous definition
In file included from /usr/X11R6/include/X11/SM/SMlib.h:37,
from /usr/X11R6/include/X11/Shell.h:54,
from /Volumes/Clarke/Users/Shared/Downloads/X11CallCarbonAndCocoa/ X11Code.c:56:
/usr/X11R6/include/X11/ICE/ICElib.h:38:1: warning: "Status" redefined
In file included from /usr/X11R6/include/X11/Intrinsic.h:56,
from /Volumes/Clarke/Users/Shared/Downloads/X11CallCarbonAndCocoa/ X11Code.c:54:
/usr/X11R6/include/X11/Xlib.h:97:1: warning: this is the location of the previous definition



It still compiles, but dies with these errors: ZeroLink: unknown symbol '_labelWidgetClass'

X11CallCarbonAndCocoa (Upgraded) has exited due to signal 6 (SIGABRT).

So I don't really understand why the PB legacy has no errors about type redefinition, nor why the linker dies in the upgraded target. Are the linker flags being ignored?

In the older target, they are in the Other Mach-O Linker flags as:
-L/usr/X11R6/lib  -lXaw -lXext -lXmu -lXt -lX11

They get copied to the Linker flags setting of the new native target just fine.

Is this a known issue? Could not find any word about it in the XCode or X11 list archives.

Cheers,

--
Brent Gulanowski email@hidden
_______________________________________________
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.
_______________________________________________
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.


References: 
 >X11 sample conflict with ZeroLink (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: Viewing data
  • Next by Date: References to other projects in xcode project
  • Previous by thread: X11 sample conflict with ZeroLink
  • Next by thread: .pbproj file format
  • Index(es):
    • Date
    • Thread