Re: Building problems on mac intel



Hello Lillian

Hanging at the same errors here. Looks to me like gcc doesn't understand Objective-C. But it totally should:

easyb$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

Made any progress? 

Or does anybody else feel like helping an ignorant Mac user?

Thanx in advance,
Ezra.

Date: Tue, 21 Mar 2006 22:29:46 -0500

From: "Lillian Angel" <lillian angel gmail com>

Subject: Re: Building problems on mac intel

To: gtk-devel-list gnome org

Message-ID:

<2ce0163d0603211929i1416bb23q27bd01a5b63282fd mail gmail com>

Content-Type: text/plain; charset=ISO-8859-1


On 3/21/06, Lillian Angel <lillian angel gmail com> wrote:

Hello again,


Below is the output of

make (at the point where the error occurs).


I realized there is more errors. I am still not sure why there are

happening. I added more to the output below.


If anyone has any ideas, please let me know.

Thanks again.



**** 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




--

Lillian




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