13 | | |
14 | | If `-lSDLmain` is added, failure becomes: |
15 | | {{{ |
16 | | /opt/local/var/macports/build/_opt_PPCRosettaPorts_graphics_libquirc/libquirc/work/compwrap/cc/opt/local/bin/gcc-mp-12 -o quirc-demo demo/camera.o demo/mjpeg.o demo/convert.o demo/dthash.o demo/demoutil.o demo/demo.o libquirc.a -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc -arch ppc -lm -ljpeg -lSDL -lSDLmain -lSDL_gfx |
17 | | Undefined symbols: |
18 | | ".objc_class_name_NSProcessInfo", referenced from: |
19 | | literal-pointer@__OBJC@__cls_refs@NSProcessInfo in libSDLmain.a(SDLMain.o) |
20 | | "_NSApp", referenced from: |
21 | | _NSApp$non_lazy_ptr in libSDLmain.a(SDLMain.o) |
22 | | (maybe you meant: _NSApp$non_lazy_ptr, .objc_category_name_NSApplication_SDLApplication ) |
23 | | "_CPSGetCurrentProcess", referenced from: |
24 | | _main in libSDLmain.a(SDLMain.o) |
25 | | "_CPSSetFrontProcess", referenced from: |
26 | | _main in libSDLmain.a(SDLMain.o) |
27 | | ".objc_class_name_NSApplication", referenced from: |
28 | | literal-pointer@__OBJC@__cls_refs@NSApplication in libSDLmain.a(SDLMain.o) |
29 | | "_NSDeallocateMemoryPages", referenced from: |
30 | | -[NSString(ReplaceSubString) stringByReplacingRange:with:] in libSDLmain.a(SDLMain.o) |
31 | | "___CFConstantStringClassReference", referenced from: |
32 | | cfstring=CFBundleName in libSDLmain.a(SDLMain.o) |
33 | | cfstring= in libSDLmain.a(SDLMain.o) |
34 | | cfstring=About in libSDLmain.a(SDLMain.o) |
35 | | cfstring=Hide in libSDLmain.a(SDLMain.o) |
36 | | cfstring=h in libSDLmain.a(SDLMain.o) |
37 | | cfstring=Hide Others in libSDLmain.a(SDLMain.o) |
38 | | cfstring=Show All in libSDLmain.a(SDLMain.o) |
39 | | cfstring=Quit in libSDLmain.a(SDLMain.o) |
40 | | cfstring=q in libSDLmain.a(SDLMain.o) |
41 | | cfstring=Window in libSDLmain.a(SDLMain.o) |
42 | | cfstring=Minimize in libSDLmain.a(SDLMain.o) |
43 | | cfstring=m in libSDLmain.a(SDLMain.o) |
44 | | "_CFBundleGetMainBundle", referenced from: |
45 | | -[SDLMain setupWorkingDirectory:] in libSDLmain.a(SDLMain.o) |
46 | | _main in libSDLmain.a(SDLMain.o) |
47 | | ".objc_class_name_NSMenu", referenced from: |
48 | | literal-pointer@__OBJC@__cls_refs@NSMenu in libSDLmain.a(SDLMain.o) |
49 | | "_CFBundleGetInfoDictionary", referenced from: |
50 | | _main in libSDLmain.a(SDLMain.o) |
51 | | "_CPSEnableForegroundOperation", referenced from: |
52 | | _main in libSDLmain.a(SDLMain.o) |
53 | | "_CFURLCreateCopyDeletingLastPathComponent", referenced from: |
54 | | -[SDLMain setupWorkingDirectory:] in libSDLmain.a(SDLMain.o) |
55 | | ".objc_class_name_NSString", referenced from: |
56 | | literal-pointer@__OBJC@__cls_refs@NSString in libSDLmain.a(SDLMain.o) |
57 | | ".objc_class_name_NSObject", referenced from: |
58 | | .objc_class_name_SDLMain in libSDLmain.a(SDLMain.o) |
59 | | ".objc_class_name_NSAutoreleasePool", referenced from: |
60 | | literal-pointer@__OBJC@__cls_refs@NSAutoreleasePool in libSDLmain.a(SDLMain.o) |
61 | | "_CFRelease", referenced from: |
62 | | -[SDLMain setupWorkingDirectory:] in libSDLmain.a(SDLMain.o) |
63 | | -[SDLMain setupWorkingDirectory:] in libSDLmain.a(SDLMain.o) |
64 | | "_CFBundleCopyBundleURL", referenced from: |
65 | | -[SDLMain setupWorkingDirectory:] in libSDLmain.a(SDLMain.o) |
66 | | ".objc_class_name_NSMenuItem", referenced from: |
67 | | literal-pointer@__OBJC@__cls_refs@NSMenuItem in libSDLmain.a(SDLMain.o) |
68 | | "_CFURLGetFileSystemRepresentation", referenced from: |
69 | | -[SDLMain setupWorkingDirectory:] in libSDLmain.a(SDLMain.o) |
70 | | "_NSAllocateMemoryPages", referenced from: |
71 | | -[NSString(ReplaceSubString) stringByReplacingRange:with:] in libSDLmain.a(SDLMain.o) |
72 | | ld: symbol(s) not found |
73 | | collect2: error: ld returned 1 exit status |
74 | | gmake: *** [Makefile:72: quirc-demo] Error 1 |
75 | | }}} |