sto provando a compilare GNUStep-Base che è la reimplementazione dello stack Foundation, presente nel framework Cocoa di Apple.
Per poterlo compilare ho dovuto ricompilare l'intero GCC per attivare il supporto run-time alla garbage collection che ho successivamente compilato e installato.
La compilazione prosegue senza problemi, la libreria libgnustep-base.so viene correttamente compilata.
Il problema avviene quando si arriva alla fase di linking dei codici oggetto che compongono il binario di autogsdoc.
Ecco che vi posto l'intera fase di compilazione.
Qualcuno ha qualche idea in merito?
Codice: Seleziona tutto
This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help.
Making all in Source ...
rm -f dynamic-load.h
cp simple-load.h dynamic-load.h
/usr/share/GNUstep/Makefiles/mkinstalldirs .
mv ../Headers/GNUstepBase/config.h .
touch ./config.h
/usr/share/GNUstep/Makefiles/mkinstalldirs ./GNUstepBase
mv ../Headers/GNUstepBase/GSConfig.h ./GNUstepBase
touch ./GNUstepBase/GSConfig.h
Making all in ObjectiveC2 ...
Making all for subproject ObjectiveC2...
Compiling file caps.c ...
Compiling file runtime.c ...
Compiling file properties.m ...
Compiling file sync.m ...
Compiling file blocks_runtime.m ...
blocks_runtime.m: In function '_Block_copy':
blocks_runtime.m:215:20: warning: taking address of expression of type 'void'
blocks_runtime.m: In function '_Block_release':
blocks_runtime.m:238:20: warning: taking address of expression of type 'void'
Compiling file NSBlocks.m ...
Linking subproject ObjectiveC2 ...
Making all in Additions ...
Making all for subproject Additions...
Compiling file GSObjCRuntime.m ...
Compiling file GCObject.m ...
Compiling file GCArray.m ...
Compiling file GCDictionary.m ...
GCDictionary.m: In function '-[GCDictionary keyEnumerator]':
GCDictionary.m:318:3: warning: distinct Objective-C type in return
GCDictionary.m: In function '-[GCDictionary objectEnumerator]':
GCDictionary.m:328:3: warning: distinct Objective-C type in return
Compiling file GSLock.m ...
Compiling file GSMime.m ...
Compiling file GSXML.m ...
Compiling file GSFunctions.m ...
Compiling file GSInsensitiveDictionary.m ...
Compiling file NSArray+GNUstepBase.m ...
Compiling file NSAttributedString+GNUstepBase.m ...
Compiling file NSBundle+GNUstepBase.m ...
Compiling file NSCalendarDate+GNUstepBase.m ...
Compiling file NSData+GNUstepBase.m ...
Compiling file NSDebug+GNUstepBase.m ...
Compiling file NSError+GNUstepBase.m ...
Compiling file NSFileHandle+GNUstepBase.m ...
Compiling file NSLock+GNUstepBase.m ...
Compiling file NSMutableString+GNUstepBase.m ...
Compiling file NSNumber+GNUstepBase.m ...
Compiling file NSObject+GNUstepBase.m ...
Compiling file NSPropertyList+GNUstepBase.m ...
Compiling file NSProcessInfo+GNUstepBase.m ...
Compiling file NSStream+GNUstepBase.m ...
Compiling file NSString+GNUstepBase.m ...
Compiling file NSTask+GNUstepBase.m ...
Compiling file NSThread+GNUstepBase.m ...
Compiling file NSURL+GNUstepBase.m ...
Compiling file Unicode.m ...
Linking subproject Additions ...
Making all in subprojects of library libgnustep-base...
Making all for subproject ObjectiveC2...
make[5]: Nessuna operazione da eseguire per «internal-subproject-compile».
Making all for subproject Additions...
make[5]: Nessuna operazione da eseguire per «internal-subproject-compile».
Making all for subproject unix...
Compiling file GSRunLoopCtxt.m ...
Compiling file NSStream.m ...
Linking subproject unix ...
Making all for library libgnustep-base...
Compiling file GSLocale.m ...
Compiling file preface.m ...
Compiling file cifframe.m ...
Compiling file CXXException.m ...
Compiling file GSArray.m ...
Compiling file GSAttributedString.m ...
Compiling file GSBlocks.m ...
Compiling file GSConcreteValue.m ...
Compiling file GSCountedSet.m ...
Compiling file GSDictionary.m ...
Compiling file GSFormat.m ...
Compiling file GSFTPURLHandle.m ...
Compiling file GSHTTPAuthentication.m ...
Compiling file GSHTTPURLHandle.m ...
Compiling file GSRunLoopWatcher.m ...
Compiling file GSSet.m ...
Compiling file GSSocketStream.m ...
Compiling file GSStream.m ...
Compiling file GSString.m ...
Compiling file GSICUString.m ...
Compiling file GSValue.m ...
Compiling file NSAffineTransform.m ...
Compiling file NSArchiver.m ...
Compiling file NSArray.m ...
Compiling file NSAssertionHandler.m ...
Compiling file NSAttributedString.m ...
Compiling file NSAutoreleasePool.m ...
Compiling file NSBundle.m ...
Compiling file NSCache.m ...
Compiling file NSCachedURLResponse.m ...
Compiling file NSCalendar.m ...
Compiling file NSCalendarDate.m ...
Compiling file NSCallBacks.m ...
Compiling file NSCharacterSet.m ...
Compiling file NSClassDescription.m ...
Compiling file NSCoder.m ...
Compiling file NSCopyObject.m ...
Compiling file NSCountedSet.m ...
Compiling file NSConcreteHashTable.m ...
Compiling file NSConcreteMapTable.m ...
Compiling file NSConnection.m ...
Compiling file NSData.m ...
Compiling file NSDate.m ...
Compiling file NSDateFormatter.m ...
Compiling file NSDebug.m ...
Compiling file NSDecimal.m ...
Compiling file NSDecimalNumber.m ...
Compiling file NSDictionary.m ...
Compiling file NSDistantObject.m ...
Compiling file NSDistributedLock.m ...
Compiling file NSDistributedNotificationCenter.m ...
Compiling file NSEnumerator.m ...
Compiling file NSError.m ...
Compiling file NSException.m ...
Compiling file NSFileHandle.m ...
Compiling file NSFileManager.m ...
NSFileManager.m: In function '-[NSFileManager contentsEqualAtPath:andPath:]':
NSFileManager.m:669:23: warning: unused variable 'pool'
Compiling file NSFormatter.m ...
Compiling file NSGarbageCollector.m ...
Compiling file NSGeometry.m ...
Compiling file NSHashTable.m ...
Compiling file NSHost.m ...
Compiling file NSHTTPCookie.m ...
Compiling file NSHTTPCookieStorage.m ...
Compiling file NSIndexPath.m ...
Compiling file NSIndexSet.m ...
Compiling file NSInvocation.m ...
Compiling file NSKeyedArchiver.m ...
Compiling file NSKeyedUnarchiver.m ...
Compiling file NSKeyValueCoding.m ...
Compiling file NSKeyValueObserving.m ...
Compiling file NSLocale.m ...
Compiling file NSLock.m ...
Compiling file NSLog.m ...
Compiling file NSMapTable.m ...
Compiling file NSMethodSignature.m ...
Compiling file NSNotification.m ...
Compiling file NSNotificationCenter.m ...
Compiling file NSNotificationQueue.m ...
Compiling file NSNull.m ...
Compiling file NSNumber.m ...
Compiling file NSNumberFormatter.m ...
Compiling file NSObjCRuntime.m ...
Compiling file NSObject.m ...
Compiling file NSObject+NSComparisonMethods.m ...
Compiling file NSOperation.m ...
Compiling file NSPage.m ...
Compiling file NSPathUtilities.m ...
Compiling file NSPipe.m ...
Compiling file NSPointerArray.m ...
Compiling file NSPointerFunctions.m ...
Compiling file NSConcretePointerFunctions.m ...
Compiling file NSPort.m ...
Compiling file NSPortCoder.m ...
Compiling file NSPortMessage.m ...
Compiling file NSPortNameServer.m ...
Compiling file NSPredicate.m ...
Compiling file NSProcessInfo.m ...
NSProcessInfo.m: In function '_gnu_process_args':
NSProcessInfo.m:232:22: warning: unused variable 'arp'
Compiling file NSPropertyList.m ...
Compiling file NSProtocolChecker.m ...
Compiling file NSProxy.m ...
Compiling file NSRange.m ...
Compiling file NSRegularExpression.m ...
NSRegularExpression.m:368:3: warning: #warning Your compiler does not support blocks. NSRegularExpression will deviate from the documented behaviour when subclassing and any code that subclasses NSRegularExpression may break in unexpected ways. It is strongly recommended that you use a compiler with blocks support.
Compiling file NSRunLoop.m ...
Compiling file NSScanner.m ...
Compiling file NSSerializer.m ...
Compiling file NSSet.m ...
Compiling file NSSocketPort.m ...
Compiling file NSSocketPortNameServer.m ...
Compiling file NSSortDescriptor.m ...
Compiling file NSSpellServer.m ...
Compiling file NSString.m ...
Compiling file NSTask.m ...
Compiling file NSThread.m ...
NSThread.m: In function 'gnustep_base_thread_callback':
NSThread.m:372:4: warning: implicit declaration of function 'GS_allow_register_threads'
Compiling file NSTimer.m ...
Compiling file NSTimeZone.m ...
Compiling file NSUnarchiver.m ...
Compiling file NSUndoManager.m ...
Compiling file NSURL.m ...
Compiling file NSURLAuthenticationChallenge.m ...
Compiling file NSURLCache.m ...
Compiling file NSURLCredential.m ...
Compiling file NSURLConnection.m ...
Compiling file NSURLCredentialStorage.m ...
Compiling file NSURLDownload.m ...
Compiling file NSURLProtectionSpace.m ...
Compiling file NSURLProtocol.m ...
Compiling file NSURLRequest.m ...
Compiling file NSURLResponse.m ...
Compiling file NSTextCheckingResult.m ...
Compiling file NSURLHandle.m ...
Compiling file NSUserDefaults.m ...
NSUserDefaults.m: In function '+[NSUserDefaults resetStandardUserDefaults]':
NSUserDefaults.m:389:17: warning: 'regDefs' may be used uninitialized in this function
Compiling file NSValue.m ...
Compiling file NSValueTransformer.m ...
Compiling file NSXMLDocument.m ...
Compiling file NSXMLDTD.m ...
Compiling file NSXMLDTDNode.m ...
Compiling file NSXMLElement.m ...
Compiling file NSXMLNode.m ...
Compiling file NSXMLParser.m ...
Compiling file NSZone.m ...
Compiling file externs.m ...
Compiling file objc-load.m ...
Compiling file GSFileHandle.m ...
Compiling file NSMessagePort.m ...
Compiling file NSMessagePortNameServer.m ...
Compiling file NSNetServices.m ...
Compiling file GSAvahiNetService.m ...
GSAvahiNetService.m: In function '-[GSAvahiNetService netService:didUpdateAddresses:]':
GSAvahiNetService.m:649:9: warning: '-netService:didUpdateAddresses:' not found in protocol(s)
GSAvahiNetService.m: In function '-[GSAvahiNetService netService:didUpdateRecordData:forRecordType:]':
GSAvahiNetService.m:684:7: warning: '-netService:didUpdateRecordData:forRecordType:' not found in protocol(s)
GSAvahiNetService.m: At top level:
GSAvahiNetService.m:1958:1: warning: incomplete implementation of class 'GSAvahiNetService'
GSAvahiNetService.m:1958:1: warning: method definition for '-delegate' not found
Compiling file GSAvahiNetServiceBrowser.m ...
Compiling file GSAvahiClient.m ...
Compiling file GSAvahiRunLoopIntegration.m ...
Compiling file GSFFIInvocation.m ...
Linking library libgnustep-base ...
Creating Info-gnustep.plist...
Making all in SSL ...
Making all for bundle SSL...
Creating SSL.bundle/....
Compiling file GSSSLHandle.m ...
Linking bundle SSL ...
Creating SSL.bundle/Resources...
Creating stamp file...
Creating SSL.bundle/Resources/Info-gnustep.plist...
Making all in Tools ...
Making all for tool autogsdoc...
Compiling file autogsdoc.m ...
Compiling file AGSParser.m ...
Compiling file AGSOutput.m ...
Compiling file AGSIndex.m ...
Compiling file AGSHtml.m ...
Linking tool autogsdoc ...
../Source/./obj/libgnustep-base.so: undefined reference to `GS_allow_register_threads'
collect2: ld returned 1 exit status
make[4]: *** [obj/autogsdoc] Errore 1
make[3]: *** [internal-tool-all_] Errore 2
make[2]: *** [autogsdoc.all.tool.variables] Errore 2
make[1]: *** [internal-all] Errore 2
make: *** [internal-all] Errore 2