andrep / hoc

Automatically exported from code.google.com/p/hoc
8 stars 1 forks source link

hoc svn version does not build on OS X Leopard (X86) #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://hoc.googlecode.com/svn/trunk/ hoc-read-only 
2. cd hoc-read-only/
3. ln -s ../libffi/ libffi-src
4. ./autogen.sh
5. ./configure
6. make

What is the expected output? What do you see instead?
hoc should compile successfully, but it does not. The output of make is 
appended at the end of 
this message. 

What version of the product are you using? On what operating system?
This is on OS X 10.5.2 with 
$ gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2

Output of make
---------------------------------
$ make
for dir in HOC_cbits HOC InterfaceGenerator Bindings Foundation AppKit Tools 
docs ; do (cd 
$dir; echo "In directory $dir"; make all) done
In directory HOC_cbits
cc -MM   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX Class.m GetNewHaskellData.m MemoryManagement.m ObjectMap.m 
Selector.m FFICallInterface.m Invocation.m NewClass.m RetainedHaskellPart.m 
Marshalling.m 
../libffi-src/src/types.c ../libffi-src/src/prep_cif.c 
../libffi-src/src/x86/ffi_darwin.c ../libffi-
src/src/x86/darwin.S ../libffi-src/src/powerpc/ffi_darwin.c 
../libffi-src/src/powerpc/darwin.S 
../libffi-src/src/powerpc/darwin_closure.S Exceptions.m Statistics.m  > depend
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o Class.o Class.m
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o GetNewHaskellData.o GetNewHaskellData.m
GetNewHaskellData.m: In function ‘getNewHaskellDataForClass’:
GetNewHaskellData.m:26: warning: ‘objc_method’ is deprecated (declared at 
/usr/include/objc/runtime.h:38)
GetNewHaskellData.m:50: warning: ‘method_imp’ is deprecated (declared at 
/usr/include/objc/runtime.h:379)
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o MemoryManagement.o MemoryManagement.m
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o ObjectMap.o ObjectMap.m
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o Selector.o Selector.m
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o FFICallInterface.o FFICallInterface.m
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o Invocation.o Invocation.m
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o NewClass.o NewClass.m
In file included from NewClass.m:5:
NewClass.h:15: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.h:18: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.h:19: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:20: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:28: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:30: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:38: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.h:40: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m:14: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m:15: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m: In function ‘getSuper’:
NewClass.m:23: warning: ‘super_class’ is deprecated (declared at 
/usr/include/objc/runtime.h:47)
NewClass.m: At top level:
NewClass.m:27: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m:30: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m:31: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:32: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m: In function ‘newClass’:
NewClass.m:34: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m:35: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m:36: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m:42: warning: ‘super_class’ is deprecated (declared at 
/usr/include/objc/runtime.h:47)
NewClass.m:46: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.m:50: warning: ‘info’ is deprecated (declared at 
/usr/include/objc/runtime.h:50)
NewClass.m:51: warning: ‘info’ is deprecated (declared at 
/usr/include/objc/runtime.h:50)
NewClass.m:53: warning: ‘name’ is deprecated (declared at 
/usr/include/objc/runtime.h:48)
NewClass.m:54: warning: ‘name’ is deprecated (declared at 
/usr/include/objc/runtime.h:48)
NewClass.m:56: warning: ‘instance_size’ is deprecated (declared at 
/usr/include/objc/runtime.h:51)
NewClass.m:56: warning: ‘instance_size’ is deprecated (declared at 
/usr/include/objc/runtime.h:51)
NewClass.m:57: warning: ‘ivar_count’ is deprecated (declared at 
/usr/include/objc/runtime.h:367)
NewClass.m:58: warning: ‘ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:372)
NewClass.m:58: warning: ‘ivar_offset’ is deprecated (declared at 
/usr/include/objc/runtime.h:360)
NewClass.m:58: warning: ‘instance_size’ is deprecated (declared at 
/usr/include/objc/runtime.h:51)
NewClass.m:60: warning: ‘ivars’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m:87: warning: ‘methodLists’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:87: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:88: warning: ‘methodLists’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:88: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:89: warning: ‘methodLists’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:89: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:90: warning: ‘methodLists’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:90: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:92: warning: ‘super_class’ is deprecated (declared at 
/usr/include/objc/runtime.h:47)
NewClass.m:93: warning: ‘super_class’ is deprecated (declared at 
/usr/include/objc/runtime.h:47)
NewClass.m:96: warning: ‘objc_addClass’ is deprecated (declared at 
/usr/include/objc/runtime.h:448)
NewClass.m:98: warning: ‘class_addMethods’ is deprecated (declared at 
/usr/include/objc/runtime.h:454)
NewClass.m:99: warning: ‘class_addMethods’ is deprecated (declared at 
/usr/include/objc/runtime.h:454)
NewClass.m: At top level:
NewClass.m:121: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m: In function ‘makeMethodList’:
NewClass.m:122: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:124: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m:124: warning: ‘objc_method’ is deprecated (declared at 
/usr/include/objc/runtime.h:38)
NewClass.m:125: warning: ‘method_count’ is deprecated (declared at 
/usr/include/objc/runtime.h:385)
NewClass.m: At top level:
NewClass.m:130: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.m: In function ‘setMethodInList’:
NewClass.m:141: warning: ‘method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:390)
NewClass.m:141: warning: ‘method_name’ is deprecated (declared at 
/usr/include/objc/runtime.h:377)
NewClass.m:143: warning: ‘method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:390)
NewClass.m:143: warning: ‘method_types’ is deprecated (declared at 
/usr/include/objc/runtime.h:378)
NewClass.m:144: warning: ‘method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:390)
NewClass.m:144: warning: ‘method_imp’ is deprecated (declared at 
/usr/include/objc/runtime.h:379)
NewClass.m: At top level:
NewClass.m:148: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m: In function ‘makeIvarList’:
NewClass.m:149: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m:151: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m:151: warning: ‘objc_ivar’ is deprecated (declared at 
/usr/include/objc/runtime.h:39)
NewClass.m:152: warning: ‘ivar_count’ is deprecated (declared at 
/usr/include/objc/runtime.h:367)
NewClass.m: At top level:
NewClass.m:157: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.m: In function ‘setIvarInList’:
NewClass.m:164: warning: ‘ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:372)
NewClass.m:164: warning: ‘ivar_name’ is deprecated (declared at 
/usr/include/objc/runtime.h:358)
NewClass.m:165: warning: ‘ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:372)
NewClass.m:165: warning: ‘ivar_type’ is deprecated (declared at 
/usr/include/objc/runtime.h:359)
NewClass.m:166: warning: ‘ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:372)
NewClass.m:166: warning: ‘ivar_offset’ is deprecated (declared at 
/usr/include/objc/runtime.h:360)
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o RetainedHaskellPart.o RetainedHaskellPart.m
RetainedHaskellPart.m: In function ‘getRetainedHaskellPart’:
RetainedHaskellPart.m:56: warning: ‘objc_ivar’ is deprecated (declared at 
/usr/include/objc/runtime.h:39)
RetainedHaskellPart.m: In function ‘setRetainedHaskellPart’:
RetainedHaskellPart.m:65: warning: ‘objc_ivar’ is deprecated (declared at 
/usr/include/objc/runtime.h:39)
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o Marshalling.o Marshalling.m
cc   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-common 
-DMACOSX   -c -o ../libffi-src/src/types.o ../libffi-src/src/types.c
cc   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-common 
-DMACOSX   -c -o ../libffi-src/src/prep_cif.o ../libffi-src/src/prep_cif.c
cc   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-common 
-DMACOSX   -c -o ../libffi-src/src/x86/ffi_darwin.o 
../libffi-src/src/x86/ffi_darwin.c
cc -I../libffi-src/include -DMACOSX   -c -o ../libffi-src/src/x86/darwin.o 
../libffi-
src/src/x86/darwin.S
cc   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-common 
-DMACOSX   -c -o ../libffi-src/src/powerpc/ffi_darwin.o 
../libffi-src/src/powerpc/ffi_darwin.c
cc -I../libffi-src/include -DMACOSX   -c -o ../libffi-src/src/powerpc/darwin.o 
../libffi-
src/src/powerpc/darwin.S
cc -I../libffi-src/include -DMACOSX   -c -o 
../libffi-src/src/powerpc/darwin_closure.o ../libffi-
src/src/powerpc/darwin_closure.S
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o Exceptions.o Exceptions.m
In file included from Exceptions.m:2:
NewClass.h:15: warning: ‘objc_class’ is deprecated (declared at 
<built-in>:0)
NewClass.h:18: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.h:19: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:20: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:28: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:30: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
NewClass.h:38: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
NewClass.h:40: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
Exceptions.m: In function ‘exc_dealloc’:
Exceptions.m:29: warning: ‘super_class’ is deprecated (declared at 
/usr/include/objc/runtime.h:47)
Exceptions.m: In function ‘initExceptionWrapper’:
Exceptions.m:38: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
Exceptions.m:39: warning: ‘objc_method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:53)
Exceptions.m:40: warning: ‘objc_ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:52)
Exceptions.m:47: warning: ‘method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:390)
Exceptions.m:47: warning: ‘method_name’ is deprecated (declared at 
/usr/include/objc/runtime.h:377)
Exceptions.m:49: warning: ‘method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:390)
Exceptions.m:49: warning: ‘method_types’ is deprecated (declared at 
/usr/include/objc/runtime.h:378)
Exceptions.m:50: warning: ‘method_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:390)
Exceptions.m:50: warning: ‘method_imp’ is deprecated (declared at 
/usr/include/objc/runtime.h:379)
Exceptions.m:61: warning: ‘ivar_list’ is deprecated (declared at 
/usr/include/objc/runtime.h:372)
Exceptions.m:61: warning: ‘ivar_offset’ is deprecated (declared at 
/usr/include/objc/runtime.h:360)
gcc -c   -I/usr/local/stow/ghc-6.8.2/lib/ghc-6.8.2/include -g 
-I../libffi-src/include -fno-
common -DMACOSX -o Statistics.o Statistics.m
libtool -static -o libHOC_cbits.a Class.o GetNewHaskellData.o 
MemoryManagement.o 
ObjectMap.o Selector.o FFICallInterface.o Invocation.o NewClass.o 
RetainedHaskellPart.o 
Marshalling.o ../libffi-src/src/types.o ../libffi-src/src/prep_cif.o ../libffi-
src/src/x86/ffi_darwin.o ../libffi-src/src/x86/darwin.o 
../libffi-src/src/powerpc/ffi_darwin.o 
../libffi-src/src/powerpc/darwin.o ../libffi-src/src/powerpc/darwin_closure.o 
Exceptions.o 
Statistics.o
libtool: warning same member name (darwin.o) in output file used for input 
files: ../libffi-
src/src/powerpc/darwin.o and: ../libffi-src/src/x86/darwin.o (due to use of 
basename, 
truncation, blank padding or duplicate input files)
libtool: warning same member name (ffi_darwin.o) in output file used for input 
files: ../libffi-
src/src/powerpc/ffi_darwin.o and: ../libffi-src/src/x86/ffi_darwin.o (due to 
use of basename, 
truncation, blank padding or duplicate input files)
libtool: file: ../libffi-src/src/powerpc/ffi_darwin.o has no symbols
libtool: file: ../libffi-src/src/powerpc/darwin.o has no symbols
libtool: file: ../libffi-src/src/powerpc/darwin_closure.o has no symbols
ld -r -x -o HOC_cbits.o -all_load libHOC_cbits.a
ld: warning -arch not specified
ld: atom sorting error for .LFE1 and .ffi_call_SYSV_end in 
libHOC_cbits.a(darwin.o)
ld: atom sorting error for .LFE1 and .ffi_call_SYSV_end in 
libHOC_cbits.a(darwin.o)
if test macos == gnustep; then \
      strip --strip-debug HOC_cbits.o; \
    fi
In directory HOC
mkdir -p build/objects
mkdir -p build/imports
ghc --make HOC.hs   \
        -O -fasm \
        -odir build/objects -hidir build/imports    \
        -fglasgow-exts -fth \
        -lobjc      \
        ../HOC_cbits/HOC_cbits.o    \
        -I../HOC_cbits  \
        -I../libffi-src/build/include   \
        -package-name HOC \
         \
        -framework Foundation      \
                  \

[ 1 of 29] Compiling HOC.Unicode      ( HOC/Unicode.hs, 
build/objects/HOC/Unicode.o )
[ 2 of 29] Compiling HOC.Dyld         ( HOC/Dyld.hs, build/objects/HOC/Dyld.o )
[ 3 of 29] Compiling HOC.NameCaseChange ( HOC/NameCaseChange.hs, 
build/objects/HOC/NameCaseChange.o )
[ 4 of 29] Compiling HOC.SelectorNameMangling ( HOC/SelectorNameMangling.hs, 
build/objects/HOC/SelectorNameMangling.o )
[ 5 of 29] Compiling HOC.Base         ( HOC/Base.hs, build/objects/HOC/Base.o )
[ 6 of 29] Compiling HOC.TH           ( HOC/TH.hs, build/objects/HOC/TH.o )
[ 7 of 29] Compiling HOC.FFICallInterface ( HOC/FFICallInterface.hs, 
build/objects/HOC/FFICallInterface.o )
[ 8 of 29] Compiling HOC.Arguments    ( HOC/Arguments.hs, 
build/objects/HOC/Arguments.o )
[ 9 of 29] Compiling HOC.ID           ( HOC/ID.hs, build/objects/HOC/ID.o )
[10 of 29] Compiling HOC.Exception    ( HOC/Exception.hs, 
build/objects/HOC/Exception.o )
[11 of 29] Compiling HOC.ExternConstants ( HOC/ExternConstants.hs, 
build/objects/HOC/ExternConstants.o )
[12 of 29] Compiling HOC.CEnum        ( HOC/CEnum.hs, build/objects/HOC/CEnum.o 
)
[13 of 29] Compiling HOC.CannedCIFs   ( HOC/CannedCIFs.hs, 
build/objects/HOC/CannedCIFs.o 
)
[14 of 29] Compiling HOC.Invocation   ( HOC/Invocation.hs, 
build/objects/HOC/Invocation.o )
[15 of 29] Compiling HOC.MsgSend      ( HOC/MsgSend.hs, 
build/objects/HOC/MsgSend.o )
[16 of 29] Compiling HOC.MessageTarget ( HOC/MessageTarget.hs, 
build/objects/HOC/MessageTarget.o )
[17 of 29] Compiling HOC.Class        ( HOC/Class.hs, build/objects/HOC/Class.o 
)
[18 of 29] Compiling HOC.SelectorMarshaller ( HOC/SelectorMarshaller.hs, 
build/objects/HOC/SelectorMarshaller.o )
[19 of 29] Compiling HOC.Selectors    ( HOC/Selectors.hs, 
build/objects/HOC/Selectors.o )
[20 of 29] Compiling HOC.Super        ( HOC/Super.hs, build/objects/HOC/Super.o 
)
[21 of 29] Compiling HOC.DeclareClass ( HOC/DeclareClass.hs, 
build/objects/HOC/DeclareClass.o )
[22 of 29] Compiling HOC.NewlyAllocated ( HOC/NewlyAllocated.hs, 
build/objects/HOC/NewlyAllocated.o )
[23 of 29] Compiling HOC.ExternFunctions ( HOC/ExternFunctions.hs, 
build/objects/HOC/ExternFunctions.o )
[24 of 29] Compiling HOC.NewClass     ( HOC/NewClass.hs, 
build/objects/HOC/NewClass.o )
[25 of 29] Compiling HOC.ExportClass  ( HOC/ExportClass.hs, 
build/objects/HOC/ExportClass.o )
[26 of 29] Compiling HOC.Utilities    ( HOC/Utilities.hs, 
build/objects/HOC/Utilities.o )
[27 of 29] Compiling HOC.StdArgumentTypes ( HOC/StdArgumentTypes.hs, 
build/objects/HOC/StdArgumentTypes.o )
Loading package base ... linking ... done.
Loading object (static) ../HOC_cbits/HOC_cbits.o ... done
Loading object (dynamic) objc ... done
Loading object (framework) Foundation ... done
final link ... done
Loading package array-0.1.0.0 ... linking ... done.
Loading package packedstring-0.1.0.0 ... linking ... done.
Loading package containers-0.1.0.1 ... linking ... done.
Loading package pretty-1.0.0.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
[28 of 29] Compiling HOC.DeclareSelector ( HOC/DeclareSelector.hs, 
build/objects/HOC/DeclareSelector.o )
[29 of 29] Compiling HOC              ( HOC.hs, build/objects/HOC.o )
touch ghcmake.build-stamp
find build/objects/ -name \*.o | xargs libtool -static -o libHOC.a
ld -r -x -o HOC.o -all_load libHOC.a
ld: warning -arch not specified
ld: atom sorting error for _HOC_HOCziDeclareSelector_Inited_closure_tbl and 
_HOC_HOCziDeclareSelector_Retained_closure_tbl in libHOC.a(DeclareSelector.o)
ld: atom sorting error for _HOC_HOCziDeclareSelector_Covariant_closure_tbl and 
_HOC_HOCziDeclareSelector_Inited_closure_tbl in libHOC.a(DeclareSelector.o)
ld: atom sorting error for 
_HOC_HOCziDeclareSelector_CovariantInstance_closure_tbl and 
_HOC_HOCziDeclareSelector_Covariant_closure_tbl in libHOC.a(DeclareSelector.o)
ld: atom sorting error for _HOC_HOCziDeclareSelector_Allocated_closure_tbl and 
_HOC_HOCziDeclareSelector_CovariantInstance_closure_tbl in 
libHOC.a(DeclareSelector.o)
ld: atom sorting error for _HOC_HOCziDeclareSelector_Inited_closure_tbl and 
_HOC_HOCziDeclareSelector_Retained_closure_tbl in libHOC.a(DeclareSelector.o)
ld: atom sorting error for _HOC_HOCziDeclareSelector_Covariant_closure_tbl and 
_HOC_HOCziDeclareSelector_Inited_closure_tbl in libHOC.a(DeclareSelector.o)
ld: atom sorting error for 
_HOC_HOCziDeclareSelector_CovariantInstance_closure_tbl and 
_HOC_HOCziDeclareSelector_Covariant_closure_tbl in libHOC.a(DeclareSelector.o)
ld: atom sorting error for _HOC_HOCziDeclareSelector_Allocated_closure_tbl and 
_HOC_HOCziDeclareSelector_CovariantInstance_closure_tbl in 
libHOC.a(DeclareSelector.o)
In directory InterfaceGenerator
mkdir -p build
ghc  --make Main.hs \
        -odir build -hidir build \
        -package-conf ../inplace.conf \
        -o ifgen
[ 1 of 11] Compiling Files            ( Files.hs, build/Files.o )
[ 2 of 11] Compiling Utils            ( Utils.hs, build/Utils.o )
[ 3 of 11] Compiling SyntaxTree       ( SyntaxTree.hs, build/SyntaxTree.o )
[ 4 of 11] Compiling Parser           ( Parser.hs, build/Parser.o )
[ 5 of 11] Compiling BindingScript    ( BindingScript.hs, build/BindingScript.o 
)
[ 6 of 11] Compiling Headers          ( Headers.hs, build/Headers.o )
[ 7 of 11] Compiling CTypeToHaskell   ( CTypeToHaskell.hs, 
build/CTypeToHaskell.o )
[ 8 of 11] Compiling Enums            ( Enums.hs, build/Enums.o )
[ 9 of 11] Compiling PrepareDeclarations ( PrepareDeclarations.hs, 
build/PrepareDeclarations.o )
[10 of 11] Compiling ExportModule     ( ExportModule.hs, build/ExportModule.o )
[11 of 11] Compiling Main             ( Main.hs, build/Main.o )
Linking ifgen ...
In directory Bindings
../InterfaceGenerator/ifgen
["NSGNUstepStringEncoding","_NSGNUstepStringEncoding"]
Parsing Foundation.h
Parsing FoundationErrors.h
Parsing NSAffineTransform.h
Parsing NSAppleEventDescriptor.h
Parsing NSAppleEventManager.h
Parsing NSAppleScript.h
Parsing NSArchiver.h
Parsing NSArray.h
Parsing NSAttributedString.h
Parsing NSAutoreleasePool.h
Parsing NSBundle.h
Parsing NSByteOrder.h
Parsing NSCalendar.h
Parsing NSCalendarDate.h
Parsing NSCharacterSet.h
Parsing NSClassDescription.h
Parsing NSCoder.h
Parsing NSComparisonPredicate.h
Parsing NSCompoundPredicate.h
Parsing NSConnection.h
Parsing NSData.h
Parsing NSDate.h
Parsing NSDateFormatter.h
Parsing NSDebug.h
Parsing NSDecimal.h
Parsing NSDecimalNumber.h
Parsing NSDictionary.h
Parsing NSDistantObject.h
Parsing NSDistributedLock.h
Parsing NSDistributedNotificationCenter.h
Parsing NSEnumerator.h
Parsing NSError.h
Parsing NSException.h
Parsing NSExpression.h
Parsing NSFileHandle.h
Parsing NSFileManager.h
Parsing NSFormatter.h
Parsing NSGarbageCollector.h
Parsing NSGeometry.h
Parsing NSHashTable.h
Parsing NSHFSFileTypes.h
Parsing NSHost.h
Parsing NSHTTPCookie.h
Parsing NSHTTPCookieStorage.h
Parsing NSIndexPath.h
Parsing NSIndexSet.h
Parsing NSInvocation.h
Parsing NSJavaSetup.h
Parsing NSKeyedArchiver.h
Parsing NSKeyValueCoding.h
Parsing NSKeyValueObserving.h
Parsing NSLocale.h
Parsing NSLock.h
Parsing NSMapTable.h
Parsing NSMetadata.h
Parsing NSMethodSignature.h
Parsing NSNetServices.h
Parsing NSNotification.h
Parsing NSNotificationQueue.h
Parsing NSNull.h
Parsing NSNumberFormatter.h
Parsing NSObjCRuntime.h
Parsing NSObject.h
Parsing NSObjectScripting.h
Parsing NSOperation.h
Parsing NSPathUtilities.h
Parsing NSPointerArray.h
Parsing NSPointerFunctions.h
Parsing NSPort.h
Parsing NSPortCoder.h
Parsing NSPortMessage.h
Parsing NSPortNameServer.h
Parsing NSPredicate.h
Parsing NSProcessInfo.h
Parsing NSPropertyList.h
Parsing NSProtocolChecker.h
Parsing NSProxy.h
Parsing NSRange.h
Parsing NSRunLoop.h
Parsing NSScanner.h
Parsing NSScriptClassDescription.h
Parsing NSScriptCoercionHandler.h
Parsing NSScriptCommand.h
Parsing NSScriptCommandDescription.h
Parsing NSScriptExecutionContext.h
Parsing NSScriptKeyValueCoding.h
Parsing NSScriptObjectSpecifiers.h
Parsing NSScriptStandardSuiteCommands.h
Parsing NSScriptSuiteRegistry.h
Parsing NSScriptWhoseTests.h
Parsing NSSet.h
Parsing NSSortDescriptor.h
Parsing NSSpellServer.h
Parsing NSStream.h
Parsing NSString.h
Parsing NSTask.h
Parsing NSThread.h
Parsing NSTimer.h
Parsing NSTimeZone.h
Parsing NSUndoManager.h
Parsing NSURL.h
Parsing NSURLAuthenticationChallenge.h
Parsing NSURLCache.h
Parsing NSURLConnection.h
Parsing NSURLCredential.h
Parsing NSURLCredentialStorage.h
Parsing NSURLDownload.h
Parsing NSURLError.h
Parsing NSURLHandle.h
Parsing NSURLProtectionSpace.h
Parsing NSURLProtocol.h
Parsing NSURLRequest.h
Parsing NSURLResponse.h
Parsing NSUserDefaults.h
Parsing NSValue.h
Parsing NSValueTransformer.h
Parsing NSXMLDocument.h
Parsing NSXMLDTD.h
Parsing NSXMLDTDNode.h
Parsing NSXMLElement.h
Parsing NSXMLNode.h
Parsing NSXMLNodeOptions.h
Parsing NSXMLParser.h
Parsing NSZone.h
Parsing AppKit.h
Parsing AppKitDefines.h
Parsing AppKitErrors.h
Parsing NSAccessibility.h
Parsing NSActionCell.h
Parsing NSAffineTransform.h
Parsing NSAlert.h
Parsing NSAnimation.h
Parsing NSAnimationContext.h
Parsing NSAppleScriptExtensions.h
Parsing NSApplication.h
Parsing NSApplicationScripting.h
Parsing NSArrayController.h
Parsing NSATSTypesetter.h
Parsing NSAttributedString.h
Parsing NSBezierPath.h
Parsing NSBitmapImageRep.h
Parsing NSBox.h
Parsing NSBrowser.h
Parsing NSBrowserCell.h
Parsing NSButton.h
Parsing NSButtonCell.h
Parsing NSCachedImageRep.h
Parsing NSCell.h
Parsing NSCIImageRep.h
Parsing NSClipView.h
Parsing NSCollectionView.h
Parsing NSColor.h
Parsing NSColorList.h
Parsing NSColorPanel.h
Parsing NSColorPicker.h
Parsing NSColorPicking.h
Parsing NSColorSpace.h
Parsing NSColorWell.h
Parsing NSComboBox.h
Parsing NSComboBoxCell.h
Parsing NSControl.h
Parsing NSController.h
Parsing NSCursor.h
Parsing NSCustomImageRep.h
Parsing NSDatePicker.h
Parsing NSDatePickerCell.h
Parsing NSDictionaryController.h
Parsing NSDockTile.h
Parsing NSDocument.h
Parsing NSDocumentController.h
Parsing NSDocumentScripting.h
Parsing NSDragging.h
Parsing NSDrawer.h
Parsing NSEPSImageRep.h
Parsing NSErrors.h
Parsing NSEvent.h
Parsing NSFileWrapper.h
Parsing NSFont.h
Parsing NSFontDescriptor.h
Parsing NSFontManager.h
Parsing NSFontPanel.h
Parsing NSForm.h
Parsing NSFormCell.h
Parsing NSGlyphGenerator.h
Parsing NSGlyphInfo.h
Parsing NSGradient.h
Parsing NSGraphics.h
Parsing NSGraphicsContext.h
Parsing NSHelpManager.h
Parsing NSImage.h
Parsing NSImageCell.h
Parsing NSImageRep.h
Parsing NSImageView.h
Parsing NSInputManager.h
Parsing NSInputServer.h
Parsing NSInterfaceStyle.h
Parsing NSKeyValueBinding.h
Parsing NSLayoutManager.h
Parsing NSLevelIndicator.h
Parsing NSLevelIndicatorCell.h
Parsing NSMatrix.h
Parsing NSMenu.h
Parsing NSMenuItem.h
Parsing NSMenuItemCell.h
Parsing NSMenuView.h
Parsing NSMovie.h
Parsing NSMovieView.h
Parsing NSNib.h
Parsing NSNibConnector.h
Parsing NSNibControlConnector.h
Parsing NSNibDeclarations.h
Parsing NSNibLoading.h
Parsing NSNibOutletConnector.h
Parsing NSObjectController.h
Parsing NSOpenGL.h
Parsing NSOpenGLView.h
Parsing NSOpenPanel.h
Parsing NSOutlineView.h
Parsing NSPageLayout.h
Parsing NSPanel.h
Parsing NSParagraphStyle.h
Parsing NSPasteboard.h
Parsing NSPathCell.h
Parsing NSPathComponentCell.h
Parsing NSPathControl.h
Parsing NSPDFImageRep.h
Parsing NSPersistentDocument.h
Parsing NSPICTImageRep.h
Parsing NSPopUpButton.h
Parsing NSPopUpButtonCell.h
Parsing NSPredicateEditor.h
Parsing NSPredicateEditorRowTemplate.h
Parsing NSPrinter.h
Parsing NSPrintInfo.h
Parsing NSPrintOperation.h
Parsing NSPrintPanel.h
Parsing NSProgressIndicator.h
Parsing NSQuickDrawView.h
Parsing NSResponder.h
Parsing NSRuleEditor.h
Parsing NSRulerMarker.h
Parsing NSRulerView.h
Parsing NSSavePanel.h
Parsing NSScreen.h
Parsing NSScroller.h
Parsing NSScrollView.h
Parsing NSSearchField.h
Parsing NSSearchFieldCell.h
Parsing NSSecureTextField.h
Parsing NSSegmentedCell.h
Parsing NSSegmentedControl.h
Parsing NSShadow.h
Parsing NSSimpleHorizontalTypesetter.h
Parsing NSSlider.h
Parsing NSSliderCell.h
Parsing NSSound.h
Parsing NSSpeechRecognizer.h
Parsing NSSpeechSynthesizer.h
Parsing NSSpellChecker.h
Parsing NSSpellProtocol.h
Parsing NSSpellServer.h
Parsing NSSplitView.h
Parsing NSStatusBar.h
Parsing NSStatusItem.h
Parsing NSStepper.h
Parsing NSStepperCell.h
Parsing NSStringDrawing.h
Parsing NSTableColumn.h
Parsing NSTableHeaderCell.h
Parsing NSTableHeaderView.h
Parsing NSTableView.h
Parsing NSTabView.h
Parsing NSTabViewItem.h
Parsing NSText.h
Parsing NSTextAttachment.h
Parsing NSTextContainer.h
Parsing NSTextField.h
Parsing NSTextFieldCell.h
Parsing NSTextInputClient.h
Parsing NSTextList.h
Parsing NSTextStorage.h
Parsing NSTextStorageScripting.h
Parsing NSTextTable.h
Parsing NSTextView.h
Parsing NSTokenField.h
Parsing NSTokenFieldCell.h
Parsing NSToolbar.h
Parsing NSToolbarItem.h
Parsing NSToolbarItemGroup.h
Parsing NSTrackingArea.h
Parsing NSTreeController.h
Parsing NSTreeNode.h
Parsing NSTypesetter.h
Parsing NSUserDefaultsController.h
Parsing NSUserInterfaceValidation.h
Parsing NSView.h
Parsing NSViewController.h
Parsing NSWindow.h
Parsing NSWindowController.h
Parsing NSWindowScripting.h
Parsing NSWorkspace.h
[("NSAffineTransform",(ClassTypeName,"Foundation.NSAffineTransform")),("NSAppleE
ventDescript
or",(ClassTypeName,"Foundation.NSAppleEventDescriptor")),("NSAppleEventManager",
(ClassType
Name,"Foundation.NSAppleEventManager")),("NSAppleScript",(ClassTypeName,"Foundat
ion.NSApp
leScript")),("NSArchiver",(ClassTypeName,"Foundation.NSArchiver")),("NSUnarchive
r",(ClassTypeNa
me,"Foundation.NSArchiver")),("NSArray",(ClassTypeName,"Foundation.NSArray")),("
NSAttributedSt
ring",(ClassTypeName,"Foundation.NSAttributedString")),("NSMutableAttributedStri
ng",(ClassType
Name,"Foundation.NSAttributedString")),("NSAutoreleasePool",(ClassTypeName,"Foun
dation.NSAu
toreleasePool")),("NSBundle",(ClassTypeName,"Foundation.NSBundle")),("NSCalendar
Date",(ClassTy
peName,"Foundation.NSCalendarDate")),("NSCharacterSet",(ClassTypeName,"Foundatio
n.NSChara
cterSet")),("NSMutableCharacterSet",(ClassTypeName,"Foundation.NSCharacterSet"))
,("NSClassDes
cription",(ClassTypeName,"Foundation.NSClassDescription")),("NSCoder",(ClassType
Name,"Found
ation.NSCoder")),("NSComparisonPredicate",(ClassTypeName,"Foundation.NSCompariso
nPredicate
")),("NSCompoundPredicate",(ClassTypeName,"Foundation.NSCompoundPredicate")),("N
SData",(Cla
ssTypeName,"Foundation.NSData")),("NSMutableData",(ClassTypeName,"Foundation.NSD
ata")),("N
SDate",(ClassTypeName,"Foundation.NSDate")),("NSDecimalNumber",(ClassTypeName,"F
oundation
.NSDecimalNumber")),("NSDecimalNumberHandler",(ClassTypeName,"Foundation.NSDecim
alNum
ber")),("NSDictionary",(ClassTypeName,"Foundation.NSDictionary")),("NSDistantObj
ect",(ClassType
Name,"Foundation.NSDistantObject")),("NSDistributedLock",(ClassTypeName,"Foundat
ion.NSDistri
butedLock")),("NSDistributedNotificationCenter",(ClassTypeName,"Foundation.NSDis
tributedNotifi
cationCenter")),("NSEnumerator",(ClassTypeName,"Foundation.NSEnumerator")),("NSE
rror",(ClassT
ypeName,"Foundation.NSError")),("NSExpression",(ClassTypeName,"Foundation.NSExpr
ession")),("
NSFileHandle",(ClassTypeName,"Foundation.NSFileHandle")),("NSPipe",(ClassTypeNam
e,"Foundatio
n.NSFileHandle")),("NSFileManager",(ClassTypeName,"Foundation.NSFileManager")),(
"NSDirectoryE
numerator",(ClassTypeName,"Foundation.NSFileManager")),("NSFormatter",(ClassType
Name,"Foun
dation.NSFormatter")),("NSGarbageCollector",(ClassTypeName,"Foundation.NSGarbage
Collector")),
("NSHashTable",(ClassTypeName,"Foundation.NSHashTable")),("NSHost",(ClassTypeNam
e,"Founda
tion.NSHost")),("NSHTTPCookie",(ClassTypeName,"Foundation.NSHTTPCookie")),("NSHT
TPCookieSt
orage",(ClassTypeName,"Foundation.NSHTTPCookieStorage")),("NSIndexPath",(ClassTy
peName,"Fo
undation.NSIndexPath")),("NSIndexSet",(ClassTypeName,"Foundation.NSIndexSet")),(
"NSMutableIn
dexSet",(ClassTypeName,"Foundation.NSIndexSet")),("NSInvocation",(ClassTypeName,
"Foundation.
NSInvocation")),("NSKeyedArchiver",(ClassTypeName,"Foundation.NSKeyedArchiver"))
,("NSKeyedUn
archiver",(ClassTypeName,"Foundation.NSKeyedArchiver")),("NSLocale",(ClassTypeNa
me,"Foundati
on.NSLocale")),("NSMapTable",(ClassTypeName,"Foundation.NSMapTable")),("NSMetada
taQuery",(C
lassTypeName,"Foundation.NSMetadata")),("NSMetadataItem",(ClassTypeName,"Foundat
ion.NSMet
adata")),("NSMetadataQueryAttributeValueTuple",(ClassTypeName,"Foundation.NSMeta
data")),("NS
MetadataQueryResultGroup",(ClassTypeName,"Foundation.NSMetadata")),("NSMethodSig
nature",(
ClassTypeName,"Foundation.NSMethodSignature")),("NSNetService",(ClassTypeName,"F
oundation.
NSNetServices")),("NSNetServiceBrowser",(ClassTypeName,"Foundation.NSNetServices
")),("NSNotifi
cation",(ClassTypeName,"Foundation.NSNotification")),("NSNotificationCenter",(Cl
assTypeName,"F
oundation.NSNotification")),("NSNotificationQueue",(ClassTypeName,"Foundation.NS
NotificationQ
ueue")),("NSNull",(ClassTypeName,"Foundation.NSNull")),("NSOperation",(ClassType
Name,"Founda
tion.NSOperation")),("NSInvocationOperation",(ClassTypeName,"Foundation.NSOperat
ion")),("NSOp
erationQueue",(ClassTypeName,"Foundation.NSOperation")),("NSPointerArray",(Class
TypeName,"F
oundation.NSPointerArray")),("NSPort",(ClassTypeName,"Foundation.NSPort")),("NSP
ortCoder",(Clas
sTypeName,"Foundation.NSPortCoder")),("NSPortMessage",(ClassTypeName,"Foundation
.NSPortM
essage")),("NSPortNameServer",(ClassTypeName,"Foundation.NSPortNameServer")),("N
SPredicate",(
ClassTypeName,"Foundation.NSPredicate")),("NSProcessInfo",(ClassTypeName,"Founda
tion.NSProc
essInfo")),("NSPropertyListSerialization",(ClassTypeName,"Foundation.NSPropertyL
ist")),("NSProtoc
olChecker",(ClassTypeName,"Foundation.NSProtocolChecker")),("NSProxy",(ClassType
Name,"Foun
dation.NSProxy")),("NSScanner",(ClassTypeName,"Foundation.NSScanner")),("NSScrip
tClassDescript
ion",(ClassTypeName,"Foundation.NSScriptClassDescription")),("NSScriptCoercionHa
ndler",(ClassT
ypeName,"Foundation.NSScriptCoercionHandler")),("NSScriptCommand",(ClassTypeName
,"Founda
tion.NSScriptCommand")),("NSScriptCommandDescription",(ClassTypeName,"Foundation
.NSScript
CommandDescription")),("NSScriptExecutionContext",(ClassTypeName,"Foundation.NSS
criptExecu
tionContext")),("NSScriptObjectSpecifier",(ClassTypeName,"Foundation.NSScriptObj
ectSpecifiers"))
,("NSIndexSpecifier",(ClassTypeName,"Foundation.NSScriptObjectSpecifiers")),("NS
MiddleSpecifier"
,(ClassTypeName,"Foundation.NSScriptObjectSpecifiers")),("NSNameSpecifier",(Clas
sTypeName,"Fo
undation.NSScriptObjectSpecifiers")),("NSPositionalSpecifier",(ClassTypeName,"Fo
undation.NSScri
ptObjectSpecifiers")),("NSPropertySpecifier",(ClassTypeName,"Foundation.NSScript
ObjectSpecifiers
")),("NSRandomSpecifier",(ClassTypeName,"Foundation.NSScriptObjectSpecifiers")),
("NSRangeSpeci
fier",(ClassTypeName,"Foundation.NSScriptObjectSpecifiers")),("NSRelativeSpecifi
er",(ClassTypeNa
me,"Foundation.NSScriptObjectSpecifiers")),("NSUniqueIDSpecifier",(ClassTypeName
,"Foundation.
NSScriptObjectSpecifiers")),("NSWhoseSpecifier",(ClassTypeName,"Foundation.NSScr
iptObjectSpeci
fiers")),("NSCloneCommand",(ClassTypeName,"Foundation.NSScriptStandardSuiteComma
nds")),("N
SCloseCommand",(ClassTypeName,"Foundation.NSScriptStandardSuiteCommands")),("NSC
ountCo
mmand",(ClassTypeName,"Foundation.NSScriptStandardSuiteCommands")),("NSCreateCom
mand",
(ClassTypeName,"Foundation.NSScriptStandardSuiteCommands")),("NSDeleteCommand",(
ClassTyp
eName,"Foundation.NSScriptStandardSuiteCommands")),("NSExistsCommand",(ClassType
Name,"F
oundation.NSScriptStandardSuiteCommands")),("NSGetCommand",(ClassTypeName,"Found
ation.N
SScriptStandardSuiteCommands")),("NSMoveCommand",(ClassTypeName,"Foundation.NSSc
riptSta
ndardSuiteCommands")),("NSQuitCommand",(ClassTypeName,"Foundation.NSScriptStanda
rdSuite
Commands")),("NSSetCommand",(ClassTypeName,"Foundation.NSScriptStandardSuiteComm
ands")
),("NSScriptSuiteRegistry",(ClassTypeName,"Foundation.NSScriptSuiteRegistry")),(
"NSScriptWhoseT
est",(ClassTypeName,"Foundation.NSScriptWhoseTests")),("NSLogicalTest",(ClassTyp
eName,"Foun
dation.NSScriptWhoseTests")),("NSSpecifierTest",(ClassTypeName,"Foundation.NSScr
iptWhoseTest
s")),("NSSet",(ClassTypeName,"Foundation.NSSet")),("NSSortDescriptor",(ClassType
Name,"Foundati
on.NSSortDescriptor")),("NSSpellServer",(ClassTypeName,"Foundation.NSSpellServer
")),("NSStream"
,(ClassTypeName,"Foundation.NSStream")),("NSInputStream",(ClassTypeName,"Foundat
ion.NSStre
am")),("NSOutputStream",(ClassTypeName,"Foundation.NSStream")),("NSString",(Clas
sTypeName,"
Foundation.NSString")),("NSMutableString",(ClassTypeName,"Foundation.NSString"))
,("NSTask",(Cla
ssTypeName,"Foundation.NSTask")),("NSThread",(ClassTypeName,"Foundation.NSThread
")),("NSTi
mer",(ClassTypeName,"Foundation.NSTimer")),("NSUndoManager",(ClassTypeName,"Foun
dation.N
SUndoManager")),("NSURLAuthenticationChallenge",(ClassTypeName,"Foundation.NSURL
Authentic
ationChallenge")),("NSCachedURLResponse",(ClassTypeName,"Foundation.NSURLCache")
),("NSURL
Cache",(ClassTypeName,"Foundation.NSURLCache")),("NSURLCredential",(ClassTypeNam
e,"Founda
tion.NSURLCredential")),("NSURLCredentialStorage",(ClassTypeName,"Foundation.NSU
RLCredential
Storage")),("NSURLDownload",(ClassTypeName,"Foundation.NSURLDownload")),("NSURLP
rotection
Space",(ClassTypeName,"Foundation.NSURLProtectionSpace")),("NSURLProtocol",(Clas
sTypeName,"
Foundation.NSURLProtocol")),("NSURLRequest",(ClassTypeName,"Foundation.NSURLRequ
est")),("N
SMutableURLRequest",(ClassTypeName,"Foundation.NSURLRequest")),("NSURLResponse",
(ClassTy
peName,"Foundation.NSURLResponse")),("NSHTTPURLResponse",(ClassTypeName,"Foundat
ion.NS
URLResponse")),("NSUserDefaults",(ClassTypeName,"Foundation.NSUserDefaults")),("
NSValue",(Cla
ssTypeName,"Foundation.NSValue")),("NSNumber",(ClassTypeName,"Foundation.NSValue
")),("NSVa
lueTransformer",(ClassTypeName,"Foundation.NSValueTransformer")),("NSXMLDocument
",(ClassT
ypeName,"Foundation.NSXMLDocument")),("NSXMLDTD",(ClassTypeName,"Foundation.NSXM
LDTD
")),("NSXMLDTDNode",(ClassTypeName,"Foundation.NSXMLDTDNode")),("NSXMLElement",(
ClassTy
peName,"Foundation.NSXMLElement")),("NSXMLNode",(ClassTypeName,"Foundation.NSXML
Node")
),("NSXMLParser",(ClassTypeName,"Foundation.NSXMLParser")),("NSActionCell",(Clas
sTypeName,"A
ppKit.NSActionCell")),("NSAlert",(ClassTypeName,"AppKit.NSAlert")),("NSAnimation
",(ClassTypeNa
me,"AppKit.NSAnimation")),("NSViewAnimation",(ClassTypeName,"AppKit.NSAnimation"
)),("NSAni
mationContext",(ClassTypeName,"AppKit.NSAnimationContext")),("NSApplication",(Cl
assTypeNam
e,"AppKit.NSApplication")),("NSArrayController",(ClassTypeName,"AppKit.NSArrayCo
ntroller")),("NS
ATSTypesetter",(ClassTypeName,"AppKit.NSATSTypesetter")),("NSBezierPath",(ClassT
ypeName,"Ap
pKit.NSBezierPath")),("NSBitmapImageRep",(ClassTypeName,"AppKit.NSBitmapImageRep
")),("NSBo
x",(ClassTypeName,"AppKit.NSBox")),("NSBrowser",(ClassTypeName,"AppKit.NSBrowser
")),("NSBro
wserCell",(ClassTypeName,"AppKit.NSBrowserCell")),("NSButton",(ClassTypeName,"Ap
pKit.NSButto
n")),("NSButtonCell",(ClassTypeName,"AppKit.NSButtonCell")),("NSCachedImageRep",
(ClassTypeNa
me,"AppKit.NSCachedImageRep")),("NSCIImageRep",(ClassTypeName,"AppKit.NSCIImageR
ep")),("N
SClipView",(ClassTypeName,"AppKit.NSClipView")),("NSCollectionViewItem",(ClassTy
peName,"App
Kit.NSCollectionView")),("NSCollectionView",(ClassTypeName,"AppKit.NSCollectionV
iew")),("NSColo
r",(ClassTypeName,"AppKit.NSColor")),("NSColorList",(ClassTypeName,"AppKit.NSCol
orList")),("NS
ColorPanel",(ClassTypeName,"AppKit.NSColorPanel")),("NSColorPicker",(ClassTypeNa
me,"AppKit.N
SColorPicker")),("NSColorSpace",(ClassTypeName,"AppKit.NSColorSpace")),("NSColor
Well",(ClassTy
peName,"AppKit.NSColorWell")),("NSComboBox",(ClassTypeName,"AppKit.NSComboBox"))
,("NSCo
mboBoxCell",(ClassTypeName,"AppKit.NSComboBoxCell")),("NSControl",(ClassTypeName
,"AppKit.
NSControl")),("NSController",(ClassTypeName,"AppKit.NSController")),("NSCursor",
(ClassTypeName
,"AppKit.NSCursor")),("NSCustomImageRep",(ClassTypeName,"AppKit.NSCustomImageRep
")),("NS
DatePicker",(ClassTypeName,"AppKit.NSDatePicker")),("NSDatePickerCell",(ClassTyp
eName,"AppKit
.NSDatePickerCell")),("NSDictionaryController",(ClassTypeName,"AppKit.NSDictiona
ryController")),(
"NSDockTile",(ClassTypeName,"AppKit.NSDockTile")),("NSDocument",(ClassTypeName,"
AppKit.NS
Document")),("NSDocumentController",(ClassTypeName,"AppKit.NSDocumentController"
)),("NSDra
wer",(ClassTypeName,"AppKit.NSDrawer")),("NSEPSImageRep",(ClassTypeName,"AppKit.
NSEPSImag
eRep")),("NSEvent",(ClassTypeName,"AppKit.NSEvent")),("NSFileWrapper",(ClassType
Name,"AppKit.
NSFileWrapper")),("NSFont",(ClassTypeName,"AppKit.NSFont")),("NSFontManager",(Cl
assTypeName
,"AppKit.NSFontManager")),("NSFontPanel",(ClassTypeName,"AppKit.NSFontPanel")),(
"NSForm",(Cla
ssTypeName,"AppKit.NSForm")),("NSFormCell",(ClassTypeName,"AppKit.NSFormCell")),
("NSGlyphG
enerator",(ClassTypeName,"AppKit.NSGlyphGenerator")),("NSGlyphInfo",(ClassTypeNa
me,"AppKit.
NSGlyphInfo")),("NSGradient",(ClassTypeName,"AppKit.NSGradient")),("NSGraphicsCo
ntext",(ClassT
ypeName,"AppKit.NSGraphicsContext")),("NSHelpManager",(ClassTypeName,"AppKit.NSH
elpMana
ger")),("NSImage",(ClassTypeName,"AppKit.NSImage")),("NSImageCell",(ClassTypeNam
e,"AppKit.NS
ImageCell")),("NSImageRep",(ClassTypeName,"AppKit.NSImageRep")),("NSImageView",(
ClassTypeN
ame,"AppKit.NSImageView")),("NSInputManager",(ClassTypeName,"AppKit.NSInputManag
er")),("NSI
nputServer",(ClassTypeName,"AppKit.NSInputServer")),("NSLayoutManager",(ClassTyp
eName,"App
Kit.NSLayoutManager")),("NSLevelIndicator",(ClassTypeName,"AppKit.NSLevelIndicat
or")),("NSLevelI
ndicatorCell",(ClassTypeName,"AppKit.NSLevelIndicatorCell")),("NSMatrix",(ClassT
ypeName,"AppKi
t.NSMatrix")),("NSMenu",(ClassTypeName,"AppKit.NSMenu")),("NSMenuItem",(ClassTyp
eName,"App
Kit.NSMenuItem")),("NSMenuItemCell",(ClassTypeName,"AppKit.NSMenuItemCell")),("N
SMenuView"
,(ClassTypeName,"AppKit.NSMenuView")),("NSMovie",(ClassTypeName,"AppKit.NSMovie"
)),("NSMov
ieView",(ClassTypeName,"AppKit.NSMovieView")),("NSNib",(ClassTypeName,"AppKit.NS
Nib")),("NSN
ibConnector",(ClassTypeName,"AppKit.NSNibConnector")),("NSNibControlConnector",(
ClassTypeN
ame,"AppKit.NSNibControlConnector")),("NSNibOutletConnector",(ClassTypeName,"App
Kit.NSNib
OutletConnector")),("NSObjectController",(ClassTypeName,"AppKit.NSObjectControll
er")),("NSOpe
nGLPixelFormat",(ClassTypeName,"AppKit.NSOpenGL")),("NSOpenGLPixelBuffer",(Class
TypeName,"
AppKit.NSOpenGL")),("NSOpenGLContext",(ClassTypeName,"AppKit.NSOpenGL")),("NSOpe
nGLView
",(ClassTypeName,"AppKit.NSOpenGLView")),("NSOpenPanel",(ClassTypeName,"AppKit.N
SOpenPan
el")),("NSOutlineView",(ClassTypeName,"AppKit.NSOutlineView")),("NSPageLayout",(
ClassTypeNam
e,"AppKit.NSPageLayout")),("NSPanel",(ClassTypeName,"AppKit.NSPanel")),("NSTextT
ab",(ClassTyp
eName,"AppKit.NSParagraphStyle")),("NSParagraphStyle",(ClassTypeName,"AppKit.NSP
aragraphStyl
e")),("NSMutableParagraphStyle",(ClassTypeName,"AppKit.NSParagraphStyle")),("NSP
asteboard",(Cl
assTypeName,"AppKit.NSPasteboard")),("NSPathCell",(ClassTypeName,"AppKit.NSPathC
ell")),("NSPa
thComponentCell",(ClassTypeName,"AppKit.NSPathComponentCell")),("NSPathControl",
(ClassType
Name,"AppKit.NSPathControl")),("NSPDFImageRep",(ClassTypeName,"AppKit.NSPDFImage
Rep")),("
NSPersistentDocument",(ClassTypeName,"AppKit.NSPersistentDocument")),("NSPICTIma
geRep",(Cl
assTypeName,"AppKit.NSPICTImageRep")),("NSPopUpButton",(ClassTypeName,"AppKit.NS
PopUpBu
tton")),("NSPopUpButtonCell",(ClassTypeName,"AppKit.NSPopUpButtonCell")),("NSPre
dicateEditor",(
ClassTypeName,"AppKit.NSPredicateEditor")),("NSPredicateEditorRowTemplate",(Clas
sTypeName,"
AppKit.NSPredicateEditorRowTemplate")),("NSPrinter",(ClassTypeName,"AppKit.NSPri
nter")),("NSPri
ntInfo",(ClassTypeName,"AppKit.NSPrintInfo")),("NSPrintOperation",(ClassTypeName
,"AppKit.NSPri
ntOperation")),("NSProgressIndicator",(ClassTypeName,"AppKit.NSProgressIndicator
")),("NSQuickD
rawView",(ClassTypeName,"AppKit.NSQuickDrawView")),("NSResponder",(ClassTypeName
,"AppKit.
NSResponder")),("NSRuleEditor",(ClassTypeName,"AppKit.NSRuleEditor")),("NSRulerM
arker",(ClassT
ypeName,"AppKit.NSRulerMarker")),("NSRulerView",(ClassTypeName,"AppKit.NSRulerVi
ew")),("NSSa
vePanel",(ClassTypeName,"AppKit.NSSavePanel")),("NSScreen",(ClassTypeName,"AppKi
t.NSScreen")
),("NSScroller",(ClassTypeName,"AppKit.NSScroller")),("NSScrollView",(ClassTypeN
ame,"AppKit.NSS
crollView")),("NSSearchField",(ClassTypeName,"AppKit.NSSearchField")),("NSSearch
FieldCell",(Class
TypeName,"AppKit.NSSearchFieldCell")),("NSSecureTextField",(ClassTypeName,"AppKi
t.NSSecureT
extField")),("NSSecureTextFieldCell",(ClassTypeName,"AppKit.NSSecureTextField"))
,("NSSegmented
Cell",(ClassTypeName,"AppKit.NSSegmentedCell")),("NSSegmentedControl",(ClassType
Name,"App
Kit.NSSegmentedControl")),("NSShadow",(ClassTypeName,"AppKit.NSShadow")),("NSSli
der",(ClassT
ypeName,"AppKit.NSSlider")),("NSSliderCell",(ClassTypeName,"AppKit.NSSliderCell"
)),("NSSound",(C
lassTypeName,"AppKit.NSSound")),("NSSpeechRecognizer",(ClassTypeName,"AppKit.NSS
peechRec
ognizer")),("NSSpeechSynthesizer",(ClassTypeName,"AppKit.NSSpeechSynthesizer")),
("NSSpellChec
ker",(ClassTypeName,"AppKit.NSSpellChecker")),("NSSplitView",(ClassTypeName,"App
Kit.NSSplitVi
ew")),("NSStatusBar",(ClassTypeName,"AppKit.NSStatusBar")),("NSStatusItem",(Clas
sTypeName,"Ap
pKit.NSStatusItem")),("NSStepper",(ClassTypeName,"AppKit.NSStepper")),("NSSteppe
rCell",(ClassTy
peName,"AppKit.NSStepperCell")),("NSTableColumn",(ClassTypeName,"AppKit.NSTableC
olumn")),(
"NSTableHeaderCell",(ClassTypeName,"AppKit.NSTableHeaderCell")),("NSTableHeaderV
iew",(Class
TypeName,"AppKit.NSTableHeaderView")),("NSTabView",(ClassTypeName,"AppKit.NSTabV
iew")),("
NSTabViewItem",(ClassTypeName,"AppKit.NSTabViewItem")),("NSText",(ClassTypeName,
"AppKit.N
SText")),("NSTextAttachmentCell",(ClassTypeName,"AppKit.NSTextAttachment")),("NS
TextAttachm
ent",(ClassTypeName,"AppKit.NSTextAttachment")),("NSTextContainer",(ClassTypeNam
e,"AppKit.
NSTextContainer")),("NSTextField",(ClassTypeName,"AppKit.NSTextField")),("NSText
FieldCell",(Clas
sTypeName,"AppKit.NSTextFieldCell")),("NSTextList",(ClassTypeName,"AppKit.NSText
List")),("NSTe
xtStorage",(ClassTypeName,"AppKit.NSTextStorage")),("NSTextBlock",(ClassTypeName
,"AppKit.NS
TextTable")),("NSTextTableBlock",(ClassTypeName,"AppKit.NSTextTable")),("NSTextT
able",(ClassT
ypeName,"AppKit.NSTextTable")),("NSTextView",(ClassTypeName,"AppKit.NSTextView")
),("NSToke
nField",(ClassTypeName,"AppKit.NSTokenField")),("NSTokenFieldCell",(ClassTypeNam
e,"AppKit.NS
TokenFieldCell")),("NSToolbar",(ClassTypeName,"AppKit.NSToolbar")),("NSToolbarIt
em",(ClassType
Name,"AppKit.NSToolbarItem")),("NSToolbarItemGroup",(ClassTypeName,"AppKit.NSToo
lbarItemG
roup")),("NSTrackingArea",(ClassTypeName,"AppKit.NSTrackingArea")),("NSTreeContr
oller",(ClassT
ypeName,"AppKit.NSTreeController")),("NSTreeNode",(ClassTypeName,"AppKit.NSTreeN
ode")),("NS
UserDefaultsController",(ClassTypeName,"AppKit.NSUserDefaultsController")),("NSV
iew",(ClassTyp
eName,"AppKit.NSView")),("NSViewController",(ClassTypeName,"AppKit.NSViewControl
ler")),("NSWi
ndowController",(ClassTypeName,"AppKit.NSWindowController")),("NSWorkspace",(Cla
ssTypeNam
e,"AppKit.NSWorkspace"))]
collecting categories...
Foundation.NSArchiver: category NSObject(NSArchiverCallback) - class undefined
Foundation.NSClassDescription: category NSObject(NSClassDescriptionPrimitives) 
- class 
undefined
Foundation.NSError: category NSObject(NSErrorRecoveryAttempting) - class 
undefined
Foundation.NSFileManager: category NSObject(NSCopyLinkMoveHandler) - class 
undefined
Foundation.NSFileManager: category 
NSObject(NSFileManagerFileOperationAdditions) - class 
undefined
Foundation.NSKeyedArchiver: category NSObject(NSKeyedArchiverDelegate) - class 
undefined
Foundation.NSKeyedArchiver: category NSObject(NSKeyedUnarchiverDelegate) - 
class undefined
Foundation.NSKeyedArchiver: category 
NSObject(NSKeyedArchiverObjectSubstitution) - class 
undefined
Foundation.NSKeyedArchiver: category 
NSObject(NSKeyedUnarchiverObjectSubstitution) - class 
undefined
Foundation.NSKeyValueCoding: category NSObject(NSKeyValueCoding) - class 
undefined
Foundation.NSKeyValueCoding: category NSMutableDictionary(NSKeyValueCoding) - 
class 
undefined
Foundation.NSKeyValueCoding: category NSObject(NSDeprecatedKeyValueCoding) - 
class 
undefined
Foundation.NSKeyValueObserving: category NSObject(NSKeyValueObserving) - class 
undefined
Foundation.NSKeyValueObserving: category 
NSObject(NSKeyValueObserverRegistration) - class 
undefined
Foundation.NSKeyValueObserving: category 
NSObject(NSKeyValueObserverNotification) - class 
undefined
Foundation.NSKeyValueObserving: category 
NSObject(NSKeyValueObservingCustomization) - 
class undefined
Foundation.NSKeyValueObserving: category 
NSObject(NSDeprecatedKeyValueObservingCustomization) - class undefined
Foundation.NSMetadata: category NSObject(NSMetadataQueryDelegate) - class 
undefined
Foundation.NSNetServices: category NSObject(NSNetServiceDelegateMethods) - 
class undefined
Foundation.NSNetServices: category NSObject(NSNetServiceBrowserDelegateMethods) 
- class 
undefined
Foundation.NSObjectScripting: category NSObject(NSScripting) - class undefined
Foundation.NSPort: category NSObject(NSPortDelegateMethods) - class undefined
Foundation.NSPortCoder: category NSObject(NSDistributedObjects) - class 
undefined
Foundation.NSPredicate: category NSMutableArray(NSPredicateSupport) - class 
undefined
Foundation.NSPredicate: category NSMutableSet(NSPredicateSupport) - class 
undefined
Foundation.NSScriptClassDescription: category 
NSObject(NSScriptClassDescription) - class 
undefined
Foundation.NSScriptKeyValueCoding: category NSObject(NSScriptKeyValueCoding) - 
class 
undefined
Foundation.NSScriptObjectSpecifiers: category 
NSObject(NSScriptObjectSpecifiers) - class 
undefined
Foundation.NSScriptWhoseTests: category NSObject(NSComparisonMethods) - class 
undefined
Foundation.NSScriptWhoseTests: category NSObject(NSScriptingComparisonMethods) 
- class 
undefined
Foundation.NSSortDescriptor: category NSMutableArray(NSSortDescriptorSorting) - 
class 
undefined
Foundation.NSStream: category NSObject(NSStreamDelegateEventExtensions) - class 
undefined
Foundation.NSThread: category NSObject(NSThreadPerformAdditions) - class 
undefined
Foundation.NSURLDownload: category NSObject(NSURLDownloadDelegate) - class 
undefined
Foundation.NSXMLParser: category NSObject(NSXMLParserDelegateEventAdditions) - 
class 
undefined
AppKit.NSAccessibility: category NSObject(NSAccessibility) - class undefined
AppKit.NSAccessibility: category NSObject(NSAccessibilityAdditions) - class 
undefined
AppKit.NSAlert: category NSObject(NSAlertDelegate) - class undefined
AppKit.NSAnimation: category NSObject(NSAnimationDelegate) - class undefined
AppKit.NSApplication: category NSObject(NSApplicationNotifications) - class 
undefined
AppKit.NSApplication: category NSObject(NSApplicationDelegate) - class undefined
AppKit.NSApplication: category NSObject(NSServicesRequests) - class undefined
AppKit.NSApplicationScripting: category 
NSObject(NSApplicationScriptingDelegation) - class 
undefined
AppKit.NSBrowser: category NSObject(NSBrowserDelegate) - class undefined
AppKit.NSCIImageRep: category CIImage(NSAppKitAdditions) - class undefined
AppKit.NSColor: category CIColor(NSAppKitAdditions) - class undefined
AppKit.NSColorPanel: category NSObject(NSColorPanelResponderMethod) - class 
undefined
AppKit.NSComboBox: category NSObject(NSComboBoxDataSource) - class undefined
AppKit.NSComboBox: category NSObject(NSComboBoxNotifications) - class undefined
AppKit.NSComboBoxCell: category NSObject(NSComboBoxCellDataSource) - class 
undefined
AppKit.NSControl: category NSObject(NSControlSubclassNotifications) - class 
undefined
AppKit.NSControl: category NSObject(NSControlSubclassDelegate) - class undefined
AppKit.NSDatePickerCell: category NSObject(NSDatePickerCellDelegate) - class 
undefined
AppKit.NSDictionaryController: category 
NSObject(NSDictionaryControllerKeyValuePair) - class 
undefined
AppKit.NSDragging: category NSObject(NSDraggingDestination) - class undefined
AppKit.NSDragging: category NSObject(NSDraggingSource) - class undefined
AppKit.NSDrawer: category NSWindow(Drawers) - class undefined
AppKit.NSDrawer: category NSObject(NSDrawerNotifications) - class undefined
AppKit.NSDrawer: category NSObject(NSDrawerDelegate) - class undefined
AppKit.NSFontManager: category NSObject(NSFontManagerDelegate) - class undefined
AppKit.NSFontManager: category NSObject(NSFontManagerResponderMethod) - class 
undefined
AppKit.NSFontPanel: category NSObject(NSFontPanelValidationAdditions) - class 
undefined
AppKit.NSImage: category NSObject(NSImageDelegate) - class undefined
AppKit.NSKeyValueBinding: category NSObject(NSKeyValueBindingCreation) - class 
undefined
AppKit.NSKeyValueBinding: category NSObject(NSPlaceholders) - class undefined
AppKit.NSKeyValueBinding: category NSObject(NSEditorRegistration) - class 
undefined
AppKit.NSKeyValueBinding: category NSObject(NSEditor) - class undefined
AppKit.NSLayoutManager: category NSObject(NSLayoutManagerDelegate) - class 
undefined
AppKit.NSMenu: category NSObject(NSMenuValidation) - class undefined
AppKit.NSMenu: category NSObject(NSMenuDelegate) - class undefined
AppKit.NSNibLoading: category NSObject(NSNibAwaking) - class undefined
AppKit.NSOutlineView: category NSObject(NSOutlineViewDataSource) - class 
undefined
AppKit.NSOutlineView: category NSObject(NSOutlineViewDelegate) - class undefined
AppKit.NSOutlineView: category NSObject(NSOutlineViewNotifications) - class 
undefined
AppKit.NSPasteboard: category NSURL(NSPasteboardSupport) - class undefined
AppKit.NSPasteboard: category NSObject(NSPasteboardOwner) - class undefined
AppKit.NSRuleEditor: category NSObject(NSRuleEditorDelegateMethods) - class 
undefined
AppKit.NSSavePanel: category NSObject(NSSavePanelDelegate) - class undefined
AppKit.NSSound: category NSObject(NSSoundDelegateMethods) - class undefined
AppKit.NSSpeechRecognizer: category NSObject(NSSpeechRecognizerDelegate) - 
class undefined
AppKit.NSSpeechSynthesizer: category NSObject(NSSpeechSynthesizerDelegate) - 
class undefined
AppKit.NSSplitView: category NSObject(NSSplitViewDelegate) - class undefined
AppKit.NSTabView: category NSObject(NSTabViewDelegate) - class undefined
AppKit.NSText: category NSObject(NSTextDelegate) - class undefined
AppKit.NSTextStorage: category NSObject(NSTextStorageDelegate) - class undefined
AppKit.NSTextView: category NSObject(NSTextViewDelegate) - class undefined
AppKit.NSTokenField: category NSObject(NSTokenFieldDelegate) - class undefined
AppKit.NSTokenFieldCell: category NSObject(NSTokenFieldCellDelegate) - class 
undefined
AppKit.NSToolbar: category NSObject(NSToolbarDelegate) - class undefined
AppKit.NSToolbar: category NSObject(NSToolbarNotifications) - class undefined
AppKit.NSToolbarItem: category NSObject(NSToolbarItemValidation) - class 
undefined
AppKit.NSView: category NSObject(NSToolTipOwner) - class undefined
AppKit.NSWindowScripting: category NSWindow(NSScripting) - class undefined
cleaning class infos...
ifgen: user error (Couldn't find class: NSObject)

make[1]: *** [ifgen-output/Foundation.hs] Error 1
In directory Foundation
ln -sf ../Bindings/ifgen-output/Foundation.hs .
ln -sf ../Bindings/ifgen-output/Foundation .
test ! -d ../Bindings/ifgen-output/GNUstepBase || \
        ln -sf ../Bindings/ifgen-output/GNUstepBase .
test ! -r ../Bindings/ifgen-output/GNUstepBase.hs || \
        ln -sf ../Bindings/ifgen-output/GNUstepBase.hs .
mkdir -p build/objects
mkdir -p build/imports
ghc --make Foundation.hs    \
        -O -fasm \
        -odir build/objects \
        -package-name Foundation \
        -hidir build/imports    \
        -package-conf ../inplace.conf \
        -fglasgow-exts -fth\

<no location info>: can't find file: Foundation.hs
make[1]: *** [ghcmake.build-stamp] Error 1
In directory AppKit
ln -sf ../Bindings/ifgen-output/Cocoa.hs .
ln -sf ../Bindings/ifgen-output/AppKit.hs .
ln -sf ../Bindings/ifgen-output/AppKit .
test ! -d ../Bindings/ifgen-output/GNUstepGUI || \
        ln -sf ../Bindings/ifgen-output/GNUstepGUI .
test ! -r ../Bindings/ifgen-output/GNUstepGUI.hs || \
        ln -sf ../Bindings/ifgen-output/GNUstepGUI.hs .
mkdir -p build/objects
mkdir -p build/imports
ghc --make AppKit.hs    \
        -O -fasm \
        -package-name AppKit    \
        -odir build/objects \
        -hidir build/imports    \
        -package-conf ../inplace.conf \
        -fglasgow-exts -fth \

<no location info>: can't find file: AppKit.hs
make[1]: *** [ghcmake.build-stamp] Error 1
In directory Tools
mkdir -p build/hocwrap
ghc --make HOCWrap.hs   \
        -fglasgow-exts  \
        -o hocwrap  \
        -odir build/hocwrap -hidir build/hocwrap    \
        -package-conf ../inplace.conf

HOCWrap.hs:21:7:
    Could not find module `Foundation.NSObject':
      Use -v to see a list of the files searched for.
make[1]: *** [hocwrap] Error 1
In directory docs
pod2html \
      --index \
      --header \
      --title="HOC: a Haskell to Objective-C bridge" \
      --outfile "HOC.html" \
      Introduction.pod Quick_Start.pod Mapping_Types.pod Accessing_Other_Frameworks.pod 
Creating_an_Objective-C_Class_in_Haskell.pod Tools.pod Appendices.pod
goedel:hoc jmg$ 

Original issue reported on code.google.com by jm.gaill...@googlemail.com on 19 Feb 2008 at 10:57

GoogleCodeExporter commented 9 years ago
I was able to install HOC on Leopard using ghc-6.8.2 by making the following 
small
changes:

1. use the SDK from 10.4 (it seems that the parser can't handle 10.5's headers 
yet)
2. explicitly call "-package unix" when building the Foundation and AppKit 
packages.
 (This issue appears to be caused by a recent change to use System.Posix.DynamicLinker.)

Index: AppKit/Makefile.in
===================================================================
--- AppKit/Makefile.in  (revision 286)
+++ AppKit/Makefile.in  (working copy)
@@ -58,6 +58,7 @@
        -hidir build/imports    \
        -package-conf ../inplace.conf \
        -fglasgow-exts -fth \
+       -package unix
        $(EXTRA_GHCFLAGS)
    test ! -r GNUstepGUI.hs || \
        $(GHC) --make GNUstepGUI.hs \
Index: Foundation/Makefile.in
===================================================================
--- Foundation/Makefile.in  (revision 286)
+++ Foundation/Makefile.in  (working copy)
@@ -57,6 +57,7 @@
        -hidir build/imports    \
        -package-conf ../inplace.conf \
        -fglasgow-exts -fth\
+       -package unix\
        $(EXTRA_GHCFLAGS)

    test ! -r GNUstepBase.hs || \
Index: InterfaceGenerator/Headers.hs
===================================================================
--- InterfaceGenerator/Headers.hs   (revision 286)
+++ InterfaceGenerator/Headers.hs   (working copy)
@@ -44,7 +44,7 @@

 headersForFramework framework =
     if System.Info.os == "darwin"
-        then headersIn ("/System/Library/Frameworks/" ++ framework ++
".framework/Headers/") framework
+        then headersIn 
("/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/"
++ framework ++ ".framework/Headers/") framework
         else headersIn ("/usr/lib/GNUstep/System/Library/Headers/" ++ framework ++
"/") framework

 translateObjCImport imp = haskellizeModuleName $

Original comment by judah.ja...@gmail.com on 2 Apr 2008 at 6:08

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, I used your patch as a basis for basic Leopard support; r287 has your 
fix and a few more tidbits.

Original comment by andre.p...@gmail.com on 22 Apr 2008 at 1:16