Building problems on mac intel



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.

I am currently working on developing open source java, and it would be
a great help if I could use my mac to do so. Below is the output of
make (at the point where the error occurs).


Thanks a lot,
Lillian Angel


**** Running make:
[normal make output]
[..................]
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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]