GNUstep make on MacOSX Sierra - application build fails
Andreas Höschler <[email protected]> Tue, 7 Nov 2017 16:17:55 +0100
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <[email protected]> |
--===============3319920526387620773==
Content-Type: multipart/alternative;
boundary="Apple-Mail=_97A63249-0D5E-4402-BD68-A5B3CBBCEDFE"
--Apple-Mail=_97A63249-0D5E-4402-BD68-A5B3CBBCEDFE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
Hi all,
I mistakenly sent a request to the wrong list (discuss instead of =
help-gnustep). Here it is again on the probably more appropriate list:
I am trying to get gnustep-make-2.7.0 to work on MacOSX Sierra. After
./configure=20
make
make install
and thus installing GNUstep make I try to build a minimal test app
main.m:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
int main (int argc, const char **argv, char** env)
{
NSAutoreleasePool *pool =3D [[NSAutoreleasePool alloc] init];
NSString *processName =3D [[NSProcessInfo processInfo] processName];
Controller *controller;
[NSApplication sharedApplication];
NSImage *image =3D [NSImage imageNamed:[NSString =
stringWithFormat:@"%@.tiff", processName]];
if (image) [NSApp setApplicationIconImage:image];
controller =3D [[Controller alloc] init];
[NSApp setDelegate:controller];
=20
[pool release];
return NSApplicationMain (argc, argv);
}
Controller.m:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#import <AppKit/AppKit.h>
#import "Controller.h"
@implementation Controller
@end
and get
admins-iMac:Test ahoesch$ make messages=3Dyes
This is gnustep-make 2.7.0. Type 'gnumake print-gnustep-make-help' for =
help.
Running in gnustep-make version 2 strict mode.
Making all for app Test...
gcc -m32 -shared-libgcc -pthread -fexceptions -fnext-runtime -o =
/Build/Test/Test.app/Contents/MacOS/Test \
/Build/Test/obj/Test.obj/Controller.m.o =
/Build/Test/obj/Test.obj/main.m.o -F/Library/Frameworks/ =
-framework AppKit -framework Foundation -lobjc -lm
clang: warning: argument unused during compilation: '-pthread' =
[-Wunused-command-line-argument]
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NSApplication", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSImage", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSObject", referenced from:
_OBJC_CLASS_$_Controller in Controller.m.o
"_OBJC_CLASS_$_NSProcessInfo", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSString", referenced from:
objc-class-ref in main.m.o
"_OBJC_METACLASS_$_NSObject", referenced from:
_OBJC_METACLASS_$_Controller in Controller.m.o
"_objc_msgSendSuper2", referenced from:
-[Controller dealloc] in Controller.m.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see =
invocation)
gnumake[3]: *** [/Build/Test/Test.app/Contents/MacOS/Test] Error 1
gnumake[2]: *** [internal-app-run-compile-submake] Error 2
gnumake[1]: *** [Test.all.app.variables] Error 2
make: *** [internal-all] Error 2
I have also tried to build the app manually on the command line, now =
using clang instead of gcc and -arch i386 instead of -m32:
cd /Build/Test; \
/Library/GNUstep/Makefiles/mkinstalldirs ./obj/Test.obj/
/Library/GNUstep/Makefiles/mkinstalldirs =
/Build/Test/Test.app/Contents/MacOS
cd /Users/ahoesch/Development/Test
clang Controller.m -c \
-MMD -MP -DNeXT_Foundation_LIBRARY=3D1 =
-DNeXT_GUI_LIBRARY=3D1 -DNeXT_RUNTIME=3D1 -fno-strict-aliasing =
-fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS =
-fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -dynamic -fno-common =
-Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fnext-runtime -arch i386 =
-Wno-parentheses -Wno-import -I. -I/usr/local/include/ =
-F/Library/Frameworks/ \
-o /Build/Test/obj/Test.obj/Controller.m.o
clang main.m -c \
-MMD -MP -DNeXT_Foundation_LIBRARY=3D1 =
-DNeXT_GUI_LIBRARY=3D1 -DNeXT_RUNTIME=3D1 -fno-strict-aliasing =
-fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS =
-fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -dynamic -fno-common =
-Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fnext-runtime -arch i386 =
-Wno-parentheses -Wno-import -I. -I/usr/local/include/ =
-F/Library/Frameworks/ \
-o /Build/Test/obj/Test.obj/main.m.o
clang -arch i386 -shared-libgcc -pthread -fexceptions =
-fnext-runtime -o /Build/Test/Test.app/Contents/MacOS/Test \
/Build/Test/obj/Test.obj/Controller.m.o =
/Build/Test/obj/Test.obj/main.m.o -F/Library/Frameworks/ =
-framework AppKit -framework Foundation -lobjc -lm
but still get the same error!?
admins-iMac:Test ahoesch$ clang -arch i386 -shared-libgcc -pthread =
-fexceptions -fnext-runtime -o /Build/Test/Test.app/Contents/MacOS/Test =
/Build/Test/obj/Test.obj/Controller.m.o =
/Build/Test/obj/Test.obj/main.m.o -F/Library/Frameworks/ =
-framework AppKit -framework Foundation -lobjc -lm
clang: warning: argument unused during compilation: '-pthread' =
[-Wunused-command-line-argument]
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_NSApplication", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSImage", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSObject", referenced from:
_OBJC_CLASS_$_Controller in Controller.m.o
"_OBJC_CLASS_$_NSProcessInfo", referenced from:
objc-class-ref in main.m.o
"_OBJC_CLASS_$_NSString", referenced from:
objc-class-ref in main.m.o
"_OBJC_METACLASS_$_NSObject", referenced from:
_OBJC_METACLASS_$_Controller in Controller.m.o
"_objc_msgSendSuper2", referenced from:
-[Controller dealloc] in Controller.m.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see =
invocation)
I am clueless! This used to work on earlier versions of MacOSX. Any =
idea?
Thanks a lot in advance!!
Andreas
--Apple-Mail=_97A63249-0D5E-4402-BD68-A5B3CBBCEDFE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi all,<div class=3D""><br class=3D""></div><div class=3D"">I =
mistakenly sent a request to the wrong list (discuss instead of =
help-gnustep). Here it is again on the probably more appropriate =
list:</div><div class=3D""><br class=3D""></div><div class=3D"">I am =
trying to get gnustep-make-2.7.0 to work on MacOSX Sierra. =
After</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">./configure </span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: =
no-common-ligatures;">make</span></div><div class=3D"" style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">make =
install</span></div></div><div class=3D""><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><br =
class=3D""></span></div><div class=3D"">and thus installing GNUstep make =
I try to build a minimal test app</div><div class=3D""><br =
class=3D""></div><div class=3D"">main.m:</div><div =
class=3D"">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div>=
<div class=3D""><div class=3D"">int main (int argc, const char **argv, =
char** env)</div><div class=3D"">{</div><div class=3D""> =
NSAutoreleasePool *pool =3D [[NSAutoreleasePool alloc] =
init];</div><div class=3D""> NSString *processName =3D =
[[NSProcessInfo processInfo] processName];</div><div class=3D""> =
Controller *controller;</div><div class=3D""><br =
class=3D""></div><div class=3D""> [NSApplication =
sharedApplication];</div><div class=3D""> NSImage *image =3D =
[NSImage imageNamed:[NSString stringWithFormat:@"%@.tiff", =
processName]];</div><div class=3D""> if (image) [NSApp =
setApplicationIconImage:image];</div><div class=3D""><br =
class=3D""></div><div class=3D""> controller =3D =
[[Controller alloc] init];</div><div class=3D""> =
[NSApp setDelegate:controller];</div><div class=3D""> =
</div><div class=3D""> [pool release];</div><div =
class=3D""><br class=3D""></div><div class=3D""> return =
NSApplicationMain (argc, argv);</div><div class=3D"">}</div></div><div =
class=3D""><br class=3D""></div><div class=3D"">Controller.m:</div><div =
class=3D"">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
</div><div class=3D""><div class=3D"">#import =
<AppKit/AppKit.h></div><div class=3D"">#import =
"Controller.h"</div><div class=3D""><br class=3D""></div><div =
class=3D"">@implementation Controller</div><div =
class=3D"">@end</div></div><div class=3D""><br class=3D""></div><div =
class=3D"">and get</div><div class=3D""><br class=3D""></div><div =
class=3D""><div class=3D"" style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgb(255, 255, =
255);"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">admins-iMac:Test ahoesch$ make =
messages=3Dyes</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">This is =
gnustep-make 2.7.0. Type 'gnumake print-gnustep-make-help' for =
help.</span></div><div class=3D"" style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgb(255, 255, =
255);"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">Running in gnustep-make version 2 strict =
mode.</span></div><div class=3D"" style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgb(255, 255, =
255);"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">Making all for app Test...</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">gcc -m32 -shared-libgcc =
-pthread -fexceptions -fnext-runtime -o =
/Build/Test/Test.app/Contents/MacOS/Test \</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;"> =
</span>/Build/Test/obj/Test.obj/Controller.m.o =
/Build/Test/obj/Test.obj/main.m.o =
-F/Library/Frameworks/ -framework AppKit =
-framework Foundation -lobjc -lm</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">clang: </span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures; color: rgb(213, =
59, 211);"><b class=3D"">warning: </b></span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">argument unused =
during compilation: '-pthread' =
[-Wunused-command-line-argument]</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">Undefined symbols =
for architecture i386:</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSApplication", referenced from:</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSAutoreleasePool", referenced from:</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSImage", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSObject", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
_OBJC_CLASS_$_Controller in Controller.m.o</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSProcessInfo", referenced from:</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSString", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_METACLASS_$_NSObject", referenced from:</span></div><div class=3D""=
style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
_OBJC_METACLASS_$_Controller in =
Controller.m.o</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_objc_msgSendSuper2", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
-[Controller dealloc] in Controller.m.o</span></div><div class=3D""=
style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;">ld: =
symbol(s) not found for architecture i386</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: =
no-common-ligatures;">clang: </span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures; color: rgb(195, =
55, 32);"><b class=3D"">error: </b></span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">linker command =
failed with exit code 1 (use -v to see invocation)</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">gnumake[3]: *** =
[/Build/Test/Test.app/Contents/MacOS/Test] Error 1</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">gnumake[2]: *** [internal-app-run-compile-submake] =
Error 2</span></div><div class=3D"" style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgb(255, 255, 255);"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">gnumake[1]: *** [Test.all.app.variables] Error =
2</span></div><div class=3D"" style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgb(255, 255, =
255);"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">make: *** [internal-all] Error =
2</span></div></div><div class=3D""><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><br =
class=3D""></span></div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D"">I have also tried to =
build the app manually on the command line, now using clang instead of =
gcc and <font face=3D"Courier" size=3D"2" class=3D"">-arch =
i386 instead of -m32:</font></div><div class=3D""><font =
face=3D"Courier" size=3D"2" class=3D""><br class=3D""></font></div><div =
class=3D""><div class=3D"" style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgb(255, 255, =
255);"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">cd /Build/Test; \</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;"> =
</span>/Library/GNUstep/Makefiles/mkinstalldirs =
./obj/Test.obj/</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: =
no-common-ligatures;">/Library/GNUstep/Makefiles/mkinstalldirs =
/Build/Test/Test.app/Contents/MacOS</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;"></span><br class=3D""></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;"></span><br class=3D""></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">cd =
/Users/ahoesch/Development/Test</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;"></span><br class=3D""></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">clang =
Controller.m -c \</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo;"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures; =
background-color: rgb(255, 255, 255);"><span class=3D"Apple-tab-span" =
style=3D"white-space: pre;"> </span> -MMD -MP =
-DNeXT_Foundation_LIBRARY=3D1 -DNeXT_GUI_LIBRARY=3D1 -DNeXT_RUNTIME=3D1 =
-fno-strict-aliasing -fexceptions -fobjc-exceptions =
-D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI =
-pthread -dynamic -fno-common -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g =
-O2 -fnext-runtime </span><span class=3D"" style=3D"font-size: =
13px; line-height: normal; font-family: Courier; -webkit-font-kerning: =
none;">-arch i386</span><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures; background-color: rgb(255, 255, =
255);"> -Wno-parentheses -Wno-import -I. -I/usr/local/include/ =
-F/Library/Frameworks/ \</span></div><div class=3D"" style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;"> =
</span> -o =
/Build/Test/obj/Test.obj/Controller.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"><b =
class=3D""></b></span><br class=3D""></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"><b =
class=3D""></b></span><br class=3D""></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">clang main.m -c =
\</span></div><div class=3D"" style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo;"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures; background-color: =
rgb(255, 255, 255);"><span class=3D"Apple-tab-span" style=3D"white-space: =
pre;"> </span> -MMD -MP -DNeXT_Foundation_LIBRARY=3D1=
-DNeXT_GUI_LIBRARY=3D1 -DNeXT_RUNTIME=3D1 -fno-strict-aliasing =
-fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS =
-fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -dynamic -fno-common =
-Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 =
-fnext-runtime </span><span class=3D"" style=3D"font-size: 13px; =
line-height: normal; font-family: Courier; -webkit-font-kerning: =
none;">-arch i386</span><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures; background-color: rgb(255, 255, =
255);"> -Wno-parentheses -Wno-import -I. -I/usr/local/include/ =
-F/Library/Frameworks/ \</span></div><div class=3D"" style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;"> =
</span> -o =
/Build/Test/obj/Test.obj/main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255); min-height: 13px;"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;"></span><br class=3D""></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo;"><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures; background-color: rgb(255, 255, =
255);">clang </span><span class=3D"" style=3D"font-size: =
13px; line-height: normal; font-family: Courier; -webkit-font-kerning: =
none;">-arch i386</span><span class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures; background-color: rgb(255, 255, 255);"> =
-shared-libgcc -pthread -fexceptions -fnext-runtime =
-o /Build/Test/Test.app/Contents/MacOS/Test \</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;"> =
</span>/Build/Test/obj/Test.obj/Controller.m.o =
/Build/Test/obj/Test.obj/main.m.o =
-F/Library/Frameworks/ -framework AppKit =
-framework Foundation -lobjc =
-lm</span></div></div><div class=3D""><br class=3D""></div><div =
class=3D""><font face=3D"Courier" size=3D"2" class=3D""><br =
class=3D""></font></div><div class=3D""><font face=3D"Courier" size=3D"2" =
class=3D"">but still get the same error!?</font></div><div =
class=3D""><font face=3D"Courier" size=3D"2" class=3D""><br =
class=3D""></font></div><div class=3D""><div class=3D"" style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">admins-iMac:Test =
ahoesch$ clang -arch i386 -shared-libgcc =
-pthread -fexceptions -fnext-runtime -o =
/Build/Test/Test.app/Contents/MacOS/Test =
/Build/Test/obj/Test.obj/Controller.m.o =
/Build/Test/obj/Test.obj/main.m.o =
-F/Library/Frameworks/ -framework AppKit =
-framework Foundation -lobjc -lm</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: =
no-common-ligatures;">clang: </span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures; color: rgb(213, =
59, 211);"><b class=3D"">warning: </b></span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">argument unused =
during compilation: '-pthread' =
[-Wunused-command-line-argument]</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">Undefined symbols =
for architecture i386:</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSApplication", referenced from:</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSAutoreleasePool", referenced from:</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSImage", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSObject", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
_OBJC_CLASS_$_Controller in Controller.m.o</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSProcessInfo", referenced from:</span></div><div =
class=3D"" style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_CLASS_$_NSString", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
objc-class-ref in main.m.o</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_OBJC_METACLASS_$_NSObject", referenced from:</span></div><div class=3D""=
style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;"> =
_OBJC_METACLASS_$_Controller in =
Controller.m.o</span></div><div class=3D"" style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
"_objc_msgSendSuper2", referenced from:</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"> =
-[Controller dealloc] in Controller.m.o</span></div><div class=3D""=
style=3D"margin: 0px; font-size: 11px; line-height: normal; =
font-family: Menlo; background-color: rgb(255, 255, 255);"><span =
class=3D"" style=3D"font-variant-ligatures: no-common-ligatures;">ld: =
symbol(s) not found for architecture i386</span></div><div class=3D"" =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);"><span class=3D"" =
style=3D"font-variant-ligatures: =
no-common-ligatures;">clang: </span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures; color: rgb(195, =
55, 32);"><b class=3D"">error: </b></span><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;">linker command =
failed with exit code 1 (use -v to see =
invocation)</span></div></div><div class=3D""><span class=3D"" =
style=3D"font-variant-ligatures: no-common-ligatures;"><br =
class=3D""></span></div><div class=3D"">I am clueless! This used to work =
on earlier versions of MacOSX. Any idea?</div><div class=3D""><br =
class=3D""></div><div class=3D"">Thanks a lot in advance!!</div><div =
class=3D""><br class=3D""></div><div class=3D"">Andreas</div><div =
class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div></body></html>=
--Apple-Mail=_97A63249-0D5E-4402-BD68-A5B3CBBCEDFE--
--===============3319920526387620773==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Help-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnustep
--===============3319920526387620773==--