[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm/ProjectCenter)
From: |
Wolfgang Lux |
Subject: |
Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm/ProjectCenter) |
Date: |
Tue, 14 Jul 2009 18:32:38 +0200 |
Bryan Pierce wrote:
Hello once again!
I hate to wear out my welcome, but I can't seem to get two steps
without
getting stuck again. I've got two problems going on.
(1) Gorm compiled but when I try to launch Gorm I get the following
error
dyld: /usr/GNUstep/Local/Applications/Gorm.app/Gorm Undefined
symbols:
/usr/GNUstep/Local/Library/Libraries/libgnustep-gui.dylib.0.16
undefined
reference to restFP expected to be defined in a dynamic image
/usr/GNUstep/Local/Library/Libraries/libgnustep-gui.dylib.0.16
undefined
reference to saveFP expected to be defined in a dynamic image
Trace/BPT trap
I did find a reference on the internet but
The restFP and saveFP functions are defined in Apple's libgcc,
and so
the fix is simply to include this library in your link line. The
best
way of doing this is to include the option
-lcc_dynamic
at the end of your link line (it has to come at the end, so that it
comes after the modules which create the references to the
restFP and
saveFP symbols).
But attempts to add the library flag to a GNUmakefile have not helped
I don't think that adding -lcc_dynamic is the right approach, since
restFP
and saveFP are gcc runtime support functions that should have been
provided
automatically by your gcc when libgnustep-base.dylib and libgnustep-
gui.dylib.
Apparently something went wrong when these libraries were built. Can
you rebuild
gnustep-gui and Gorm with
make messages=yes
and send me the output of both commands? I'll try to have a look at
that.
(2) ProjectCenter-0.5.0 is not compiling. I am getting the
following errors
Making all in Framework...
Making build-headers for framework ProjectCenter...
Making all for framework ProjectCenter...
Linking framework ProjectCenter ...
ld: for architecture ppc
ld: warning -L: directory name (../ProjectCenter/./obj) does not
exist
ld: obj/NSFramework_ProjectCenter.o illegal reference to symbol:
___objc_class_name_NSConstantString defined in indirectly
referenced
dynamic library /usr/GNUstep/Local/Library/Libraries/./
libgnustep-base.dylib.1.18
/usr/bin/libtool: internal link edit command failed
Copying resources into the framework wrapper...
Copying localized resources into the framework wrapper...
...
Linking app ProjectCenter ...
/usr/bin/ld: can't locate file for: -lProjectCenter
collect2: ld returned 1 exit status
make[2]: *** [ProjectCenter.app/./ProjectCenter] Error 1
make[1]: *** [internal-app-run-compile-submake] Error 2
make: *** [ProjectCenter.all.app.variables] Error 2
Apply the patch below to GNUmakefile.premable
pc.patch
Description: application/applefile
pc.patch
Description: Binary data
Wolfgang
- Re: Compiling GNUstep base on OSX 10.5.7, Lucas Samaruga, 2009/07/07
- Re: Compiling GNUstep base on OSX 10.5.7, Adam Fedor, 2009/07/07
- Message not available
- Message not available
- Message not available
- Message not available
- Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm fails), Bryan Pierce, 2009/07/11
- Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm/ProjectCenter), Bryan Pierce, 2009/07/13
- Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm/ProjectCenter),
Wolfgang Lux <=
- Re: GNUstep.gui on OS X 10.3.9, make fails (Gorm fails), Bryan Pierce, 2009/07/13
Re: Compiling GNUstep base on OSX 10.5.7, Wolfgang Lux, 2009/07/08