I just tried to (re)build GNUstep on Solaris x86 using a self build gcc 3.4.4. While building base I get
...
Making all for bundle SSL...
make[2]: Nothing to be done for `internal-bundle-all'.
make[1]: Leaving directory `/usr/share/src/core/base/SSL'
Making all in Tools...
make[1]: Entering directory `/usr/share/src/core/base/Tools'
Making all for tool autogsdoc...
make[2]: execvp: /opt/GNUstep/System/Library/Makefiles/which_lib:
Invalid argument
Linking tool autogsdoc ...
Undefined first referenced
symbol in file
NSLog ./shared_obj/autogsdoc.o
__objc_class_name_GSXMLParser ./shared_obj/autogsdoc.o
NSSearchPathForDirectoriesInDomains ./shared_obj/autogsdoc.o
objc_get_class ./shared_obj/autogsdoc.o
__objc_class_name_NSSet ./shared_obj/autogsdoc.o
__objc_class_name_NSConstantString ./shared_obj/autogsdoc.o
_NSRangeExceptionRaise ./shared_obj/autogsdoc.o
__objc_class_name_NSAutoreleasePool ./shared_obj/autogsdoc.o
__objc_class_name_NSNumber ./shared_obj/AGSParser.o
__objc_class_name_NSObject ./shared_obj/AGSParser.o
...
ld: fatal: Symbol referencing errors. No output written to shared_obj/autogsdoc
collect2: ld returned 1 exit status
make[2]: *** [shared_obj/autogsdoc] Error 1
make[1]: *** [autogsdoc.all.tool.variables] Error 2
make[1]: Leaving directory `/usr/share/src/core/base/Tools'
make: *** [internal-all] Error 2
I already had this problem a month ago and somehow solved it. I was thinking the solution was to use -O1 instead of the default -O2. However, now I reencounter the same problem on the same machine and I have -O1 in /opt/GNUstep/System/Library/Makefiles/config.make. There must be something else. Any idea? I am stuck!