On Thu, 2006-03-23 at 11:40 -0500, Patrick Hulin wrote: > What hapens when you compile without -x objective-c? The error below. If I compile *with* -x objective-c, i get different errors. > On 3/23/06, Lillian Angel <langel@xxxxxxxxxx> wrote: > On Thu, 2006-03-23 at 11:00 -0500, Patrick Hulin wrote: > > Oh wait, never mind. > > :) yes. If you have any suggestions, please let me know. > > > > > On 3/23/06, Patrick Hulin <patrick.hulin@xxxxxxxxx> wrote: > > Are you using the instructions on > developer.imendio.com? > > > > > > On 3/23/06, Lillian Angel <langel@xxxxxxxxxx> wrote: > > Hello, > > > > I am attempting to build gtk+ on the new > macbook pro > > (mac os x 10.4.5 > > intel). > > > > I have used these instructions: > > > http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Build_Instructions > > > > I have successfully build all other > packages, except > > gtk+. > > It configures fine, but when I run make.. it > acts up. > > I have no idea > > why. I have gone through the steps several > times. I am > > using a > > non-standard prefix > (eg. /Users/lillian/install) and I > > have added it > > to my $PATH var. > > > > Below is the output of make (at the point > where the > > error occurs). > > > > It appears to be an issue related to GCC. > > gtkclipboard-quartz.c should > > be compiled with "-x objective-c". For some > reason > > this isn't happening. > > I can add CFLAGS="-x objective-c" to the > make line, > > but that applies "-x > > objective-c" to all classes- and that causes > other > > errors. Something > > needs to be fixed in the GTK makefiles. I > spoke to the > > gcc guys and they > > agreed it was a problem in GTK. > > > > Has anyone been successful in building GTK+ > on a mac > > intel (os 10.4.5 > > tiger)? > > > > Thanks, > > your feedback is much appreciated. > > Lillian Angel > > > > **** Running make > > ******************************************** > > [normal make output] > > In file included from > > /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8, > > from > > /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8, > > from > > /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:28, > > from > > /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13, > > from > gtkclipboard-quartz.c:26: > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:15: > > error: stray '@' in program > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:16: > > error: stray '@' in program > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:16: > > error: parse error before 'NSNotification' > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:17: > > error: stray '@' in program > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:17: > > error: parse error before 'NSToolbar' > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:89: > > error: stray '@' in program > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:89: > > error: parse error before > 'NSWindowAuxiliary' > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:90: > > error: stray '@' in program > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:90: > > error: parse error before 'NSEvent' > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:91: > > error: stray '@' in program > > [....more similar errors.....] > > In file included from ../gdk/gdkcolor.h:30, > > from ../gdk/gdkcairo.h:23, > > from ../gdk/gdk.h:30, > > > from ../gtk/gtkselection.h:31, > > from gtkclipboard.h:25, > > from > gtkclipboard-quartz.c:28: > > /Users/lillian/install/include/cairo/cairo.h:55: > > error: syntax error > > before 'int' > > In file included from > gtkclipboard-quartz.c :36: > > gtkquartz.h:29: error: parse error before > '*' token > > gtkquartz.h:29: warning: type defaults to > 'int' in > > declaration of > > > '_gtk_quartz_target_list_to_pasteboard_types' > > gtkquartz.h:29: warning: data definition has > no type > > or storage class > > gtkquartz.h:30: error: parse error before > '*' token > > gtkquartz.h :31: warning: type defaults to > 'int' in > > declaration of > > > '_gtk_quartz_target_entries_to_pasteboard_types' > > gtkquartz.h:31: warning: data definition has > no type > > or storage class > > gtkquartz.h:33: error: parse error before > '*' token > > gtkquartz.h:34: error: parse error before > '*' token > > gtkquartz.h :36: error: parse error before > '*' token > > gtkquartz.h:40: error: parse error before > '*' token > > gtkquartz.h:43: error: parse error before > '*' token > > gtkquartz.h :43: warning: type defaults to > 'int' in > > declaration of > > '_gtk_quartz_create_image_from_pixbuf' > > gtkquartz.h:43: warning: data definition has > no type > > or storage class > > gtkclipboard-quartz.c:49: error: parse error > before > > 'NSPasteboard' > > gtkclipboard-quartz.c:49: warning: no > semicolon at end > > of struct or > > union > > gtkclipboard-quartz.c:70: error: parse error > before > > '}' token > > gtkclipboard-quartz.c :80: error: stray '@' > in program > > gtkclipboard-quartz.c:80: error: parse error > before > > 'GtkClipboardOwner' > > gtkclipboard-quartz.c:87: error: parse error > before > > '}' token > > gtkclipboard-quartz.c:89: error: stray '@' > in program > > gtkclipboard-quartz.c:91: error: stray '@' > in program > > gtkclipboard-quartz.c :106: error: parse > error before > > '->' token > > gtkclipboard-quartz.c:106: warning: type > defaults to > > 'int' in > > declaration of > > > '_gtk_quartz_set_selection_data_for_pasteboard' > > gtkclipboard-quartz.c:106: error: > conflicting types > > for > > > '_gtk_quartz_set_selection_data_for_pasteboard' > > gtkquartz.h:41: error: previous declaration > of > > > '_gtk_quartz_set_selection_data_for_pasteboard' was > > here > > gtkclipboard-quartz.c :106: warning: data > definition > > has no type or > > storage class > > gtkclipboard-quartz.c:108: error: parse > error before > > '.' token > > gtkclipboard-quartz.c:108: warning: type > defaults to > > 'int' in > > declaration of 'g_free' > > gtkclipboard-quartz.c:108: error: > conflicting types > > for 'g_free' > > /Users/lillian/install/include/glib-2.0/glib/gmem.h:51: error: > > previous declaration of 'g_free' was here > > gtkclipboard-quartz.c :108: warning: data > definition > > has no type or > > storage class > > gtkclipboard-quartz.c:110: error: stray '@' > in program > > gtkclipboard-quartz.c :110: error: parse > error before > > string constant > > gtkclipboard-quartz.c:110: warning: type > defaults to > > 'int' in > > declaration of 'NSLog' > > gtkclipboard-quartz.c:110: error: > conflicting types > > for 'NSLog' > > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:68: > > error: previous declaration of 'NSLog' was > here > > gtkclipboard-quartz.c :110: warning: data > definition > > has no type or > > storage class > > gtkclipboard-quartz.c:133: error: stray '@' > in program > > gtkclipboard-quartz.c:135: error: syntax > error before > > 'static' > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_get_type': > > gtkclipboard-quartz.c:166: error: invalid > application > > of 'sizeof' to > > incomplete type 'GtkClipboard' > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_finalize': > > gtkclipboard-quartz.c:208: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:214: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:216: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:218: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c :218: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:219: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:221: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:222: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:224: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > > 'clipboard_owner_destroyed': > > gtkclipboard-quartz.c:327: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:328: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c :329: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:330: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > > 'clipboard_add_owner_notify': > > gtkclipboard-quartz.c:346: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:347: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c :348: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > > 'clipboard_remove_owner_notify': > > gtkclipboard-quartz.c:357: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:358: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:359: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c : In function > > 'gtk_clipboard_set_contents': > > gtkclipboard-quartz.c:374: error: > 'GtkClipboardOwner' > > undeclared > > (first use in this function) > > gtkclipboard-quartz.c:374: error: (Each > undeclared > > identifier is > > reported only once > > gtkclipboard-quartz.c:374: error: for each > function it > > appears in.) > > gtkclipboard-quartz.c:374: error: 'owner' > undeclared > > (first use in > > this function) > > gtkclipboard-quartz.c :375: error: 'types' > undeclared > > (first use in > > this function) > > gtkclipboard-quartz.c:377: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:380: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:381: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:384: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c :385: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:387: error: parse > error before > > '[' token > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_get_owner': > > gtkclipboard-quartz.c:486: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:487: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > 'clipboard_unset': > > gtkclipboard-quartz.c:500: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:501: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:502: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:503: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:507: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:510: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c :511: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:512: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:514: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:515: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:516: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_clear': > > gtkclipboard-quartz.c:542: error: parse > error before > > '[' token > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_wait_for_contents': > > gtkclipboard-quartz.c :807: error: > 'NSAutoreleasePool' > > undeclared > > (first use in this function) > > gtkclipboard-quartz.c:807: error: 'pool' > undeclared > > (first use in this > > function) > > gtkclipboard-quartz.c:807: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:809: error: 'data' > undeclared > > (first use in this > > function) > > gtkclipboard-quartz.c:814: error: 'types' > undeclared > > (first use in > > this function) > > gtkclipboard-quartz.c:814: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:819: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:823: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:837: error: parse > error before > > '[' token > > gtkclipboard-quartz.c :843: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:845: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:847: error: parse > error before > > '[' token > > gtkclipboard-quartz.c :808: warning: unused > variable > > 'name' > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_get_display': > > gtkclipboard-quartz.c:940: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > > 'gtk_clipboard_wait_for_targets': > > gtkclipboard-quartz.c:1042: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1045: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1048: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1049: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1071: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1072: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c: In function > 'clipboard_peek': > > gtkclipboard-quartz.c:1108: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1116: error: > 'NSAutoreleasePool' > > undeclared > > (first use in this function) > > gtkclipboard-quartz.c:1116: error: 'pool' > undeclared > > (first use in > > this function) > > gtkclipboard-quartz.c:1116: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:1117: error: > 'pasteboard_name' > > undeclared (first > > use in this function) > > gtkclipboard-quartz.c:1126: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:1126: error: stray '@' > in > > program > > gtkclipboard-quartz.c:1131: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c :1131: error: parse > error before > > '[' token > > gtkclipboard-quartz.c:1135: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1136: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1137: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1138: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c : In function > > 'gtk_clipboard_owner_change': > > gtkclipboard-quartz.c:1153: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1155: error: > dereferencing > > pointer to incomplete > > type > > gtkclipboard-quartz.c:1156: error: > dereferencing > > pointer to incomplete > > type > > make[4]: *** [gtkclipboard-quartz.lo] Error > 1 > > make[3]: *** [all-recursive] Error 1 > > make[2]: *** [all] Error 2 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > > > > > > _______________________________________________ > > > > gtk-list@xxxxxxxxx > > > http://mail.gnome.org/mailman/listinfo/gtk-list > > > > > > > > _______________________________________________ > > > > gtk-list@xxxxxxxxx > > http://mail.gnome.org/mailman/listinfo/gtk-list > > > _______________________________________________ > > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list