Hello

I have compiled an application but when it tries to link gives me this error

ld: in
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework,
can't map file, errno=22
collect2: ld returned 1 exit status

in the GNUmakefile I do

MyApp_OBJC_LIBS = \
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework
\
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Carbon.framework \
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework \
...

and

# I take the cpp and objc flags from xcode
MyApp_CPPFLAGS = -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -O3 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-ftree-vectorize -msse3 -mmacosx-version-min=10.5

MyApp_OBJCFLAGS = -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -Os -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mdynamic-no-pic -funroll-loops -ftree-vectorize -msse3 -fvisibility=hidden
-fvisibility-inlines-hidden

MyApp_LDFLAGS = -arch i386 -mmacosx-version-min=10.5

I tried with many combinations but I don't understand the error.
Could it be the arguments to the linker?
Any cue of what could be the problem?

Thanks
Lucas
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to