discuss-gnustep
[Top][All Lists]
Advanced

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

ld problem GNUmakefile osx


From: Lucas Samaruga
Subject: ld problem GNUmakefile osx
Date: Thu, 1 Jul 2010 00:45:49 -0300

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]