[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new attempt GNUstep on cygwin
From: |
Pirmin Braun |
Subject: |
new attempt GNUstep on cygwin |
Date: |
Tue, 19 Apr 2011 00:36:00 +0200 |
now I'm trying the latest GNUstep Makefiles and Base and the new directory
layout, gcc 4.5.5;
I'v got these results:
--------------------------------------------------------------------------------
libobjc didn't compile:
root@one ~/gnustep-objc-1.6.0
$ make
This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help.
Making all for clibrary libobjc...
Compiling file libobjc_entry.c ...
{standard input}: Assembler messages:
{standard input}:80: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:81: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:85: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:86: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:90: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:91: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:95: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
{standard input}:96: Error: can't resolve `.idata$3' {.idata$3 section} -
`Ltext0' {.text section}
make[3]: *** [obj/libobjc.obj/libobjc_entry.c.o] Error 1
make[2]: *** [internal-library-all_] Error 2
make[1]: *** [libobjc.all.clibrary.variables] Error 2
make: *** [internal-all] Error 2
--------------------------------------------------------------------------------
libffi succeeded to compile and install
make[1]: Leaving directory `/home/root/libffi-gcc4.2.2'
--------------------------------------------------------------------------------
root@one ~/gnustep-base-1.22.0
$ ./configure --with-installation-domain=LOCAL --disable-xml --disable-xslt
worked...
make:
several warnings like
NSCalendarDate.m:534:7: warning: array subscript has type ‘char’
$ make check
This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help.
Making check in Source ...
Making check in ObjectiveC2 ...
make[2]: Nothing to be done for `check'.
Making check in Additions ...
make[2]: Nothing to be done for `check'.
Making check in SSL ...
make[1]: Nothing to be done for `check'.
Making check in Tools ...
Making check in make_strings ...
make[2]: Nothing to be done for `check'.
Making check in NSTimeZones ...
make[1]: Nothing to be done for `check'.
Making check in Resources ...
make[1]: Nothing to be done for `check'.
Making check in Tests ...
(\
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES="/home/root/gnustep-base-1.22.0/base.make";\
ADDITIONAL_INCLUDE_DIRS="-I/home/root/gnustep-base-1.22.0/Headers
-I/home/root/gnustep-base-1.22.0/Source/.";\
ADDITIONAL_LIB_DIRS="-L/home/root/gnustep-base-1.22.0/Source/./obj";\
LD_LIBRARY_PATH="/home/root/gnustep-base-1.22.0/Source/./obj:/home/root/GNUstep/Library/Libraries:/usr/local/lib";\
PATH="/home/root/gnustep-base-1.22.0/Source/./obj:/home/root/GNUstep/Tools:/usr/local/bin:/usr/bin:/cygdrive/c/Programme/IntarS/Developer/Executables/Ut
ilities:/cygdrive/c/Programme/IntarS/Developer/Executables:/cygdrive/c/Programme/IntarS/Local/Library/Executables:/cygdrive/c/Programme/IntarS/Library/JDK/bin:/
cygdrive/c/Programme/IntarS/Library/Executables:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Programme/Tortois
eSVN/bin:/cygdrive/c/Programme/Subversion/bin:/cygdrive/c/Programme/MySQL/MySQL
Server 5.0/bin:/cygdrive/c/Programme/OpenVPN/bin:/cygdrive/c/GNUstep/mingw/bin:/
cygdrive/c/GNUstep/GNUstep/System/Tools";\
export GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES;\
export ADDITIONAL_INCLUDE_DIRS;\
export ADDITIONAL_LIB_DIRS;\
export LD_LIBRARY_PATH;\
export PATH;\
gnustep-tests base;\
)
--- Running tests in base/Functions ---
base/Functions/NSPathUtilities.m:
Failed test: NSPathUtilities.m:21 ... we can get a temporary directory
--- Running tests in base/GSMime ---
--- Running tests in base/GSXML ---
--- Running tests in base/GarbageCollection ---
--- Running tests in base/KVC ---
--- Running tests in base/NSAffineTransform ---
--- Running tests in base/NSArchiver ---
--- Running tests in base/NSArray ---
--- Running tests in base/NSAttributedString ---
--- Running tests in base/NSBundle ---
--- Running tests in base/NSCalendar ---
--- Running tests in base/NSCalendarDate ---
--- Running tests in base/NSCharacterSet ---
--- Running tests in base/NSConnection ---
--- Running tests in base/NSCountedSet ---
--- Running tests in base/NSData ---
--- Running tests in base/NSDate ---
--- Running tests in base/NSDateFormatter ---
--- Running tests in base/NSDictionary ---
--- Running tests in base/NSException ---
--- Running tests in base/NSFileHandle ---
base/NSFileHandle/general.m:
Failed test: general.m:72 ... NSFileHandle understands
+fileHandleForWritingAtPath:
Failed test: general.m:76 ... NSFileHandle understands
+fileHandleForReadingAtPath:
Failed test: general.m:81 ... NSFileHandle -writeData:/-availableData match
--- Running tests in base/NSFileManager ---
--- Running tests in base/NSHTTPCookie ---
--- Running tests in base/NSHashTable ---
--- Running tests in base/NSHost ---
--- Running tests in base/NSIndexPath ---
--- Running tests in base/NSInvocation ---
--- Running tests in base/NSKeyedArchiver ---
--- Running tests in base/NSLocale ---
--- Running tests in base/NSLock ---
--- Running tests in base/NSMapTable ---
--- Running tests in base/NSMethodSignature ---
--- Running tests in base/NSMutableArray ---
--- Running tests in base/NSMutableAttributedString ---
--- Running tests in base/NSMutableCharacterSet ---
--- Running tests in base/NSMutableData ---
--- Running tests in base/NSMutableDictionary ---
--- Running tests in base/NSMutableIndexSet ---
--- Running tests in base/NSMutableSet ---
--- Running tests in base/NSMutableString ---
--- Running tests in base/NSNumber ---
--- Running tests in base/NSNumberFormatter ---
--- Running tests in base/NSObject ---
--- Running tests in base/NSOperation ---
--- Running tests in base/NSPointerArray ---
--- Running tests in base/NSPredicate ---
--- Running tests in base/NSProcessInfo ---
--- Running tests in base/NSProxy ---
--- Running tests in base/NSRunLoop ---
--- Running tests in base/NSScanner ---
--- Running tests in base/NSSet ---
--- Running tests in base/NSSortDescriptor ---
--- Running tests in base/NSStream --- hanging... abort with Ctrl-C
make[1]: *** [check] Interrupt
make: *** [internal-check] Interrupt
--------------------------------------------------------------------------------
GNUmakefile:
TOOL_NAME = IntarS7_test
IntarS7_test_HEADERS =
IntarS7_test_OBJC_FILES = main.m
IntarS7_test_TOOL_LIBS =
include $(GNUSTEP_MAKEFILES)/tool.make
--------------------------------------------------------------------------------
main.m works:
#import <Foundation/Foundation.h>
int main(int argc, const char *argv[])
{
int result=0;
printf("Hello World");
return result;
}
--------------------------------------------------------------------------------
main.m crashes before the printf():
#import <Foundation/Foundation.h>
int main(int argc, const char *argv[])
{
int result=0;
printf("Hello World");
NSLog(@"bla fasel");
return result;
}
$ gdb /usr/local/bin/IntarS7_test
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) r
Starting program: /usr/local/bin/IntarS7_test
[New thread 3520.0x748]
[New thread 3520.0xcd0]
Program received signal SIGSEGV, Segmentation fault.
0x65996218 in NSCountFrames () at NSDebug.m:693
693 }
--
mit freundlichen Gruessen/best regards
Pirmin Braun
seat-1 Software GmbH - Sinziger Str. 29a - 53424 Remagen
+49(0)2642 308288 +49(0)163-6290887 - skype:pirminb
Fax +49(0)2642 308626
http://www.seat-1.com pb@seat-1.com
http://sourceforge.net/projects/intars
Geschäftsführer: Pirmin Braun, Ralf Engelhardt
Registergericht: Amtsgericht Coburg HRB3136
ein Unternehmen der MAX21 Gruppe - http://www.max21.de
- what is the best Windows distribution?, Zhang Weiwu, Beijing, 2011/04/17
- Re: what is the best Windows distribution?, Fred Kiefer, 2011/04/18
- Re: what is the best Windows distribution?, Riccardo Mottola, 2011/04/18
- Re: what is the best Windows distribution?, Zhang Weiwu, Beijing, 2011/04/18
- Re: what is the best Windows distribution?, Zhang Weiwu, Beijing, 2011/04/19
- Re: what is the best Windows distribution?, Riccardo Mottola, 2011/04/19
- Re: what is the best Windows distribution?, Zhang Weiwu, Beijing, 2011/04/19
- Re: what is the best Windows distribution?, Zhang Weiwu, Beijing, 2011/04/19
- Re: what is the best Windows distribution?, Richard Frith-Macdonald, 2011/04/20
Re: what is the best Windows distribution?, Ivan Vučica, 2011/04/18