gnustep-dev
[Top][All Lists]
Advanced

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

Re: Issue compiling base on windows...


From: Fred Kiefer
Subject: Re: Issue compiling base on windows...
Date: Fri, 15 Sep 2017 08:40:42 +0200

I don’t have any Windows 8 system, so I won’t be able to help you directly. But 
from just looking at the code and your compiler output it looks like there is a 
missing include for sys/stat.h. Now we check for this file in configure and 
enable an include for it if present. This either means configure went wrong for 
your, for this you have to look into the config.log file, or the file is 
actually missing on your computer and you will need to install some sort of 
development environment for your windows to work.

Hope this helps,
Fred


> Am 15.09.2017 um 07:21 schrieb Gregory Casamento <address@hidden>:
> 
> I am getting the following errors when building:
> 
> ers -I/c/GNUstep/GNUstep/System/Library/Headers 
> -I/c/GNUstep/GNUstep/Local/Library/Headers -I/c/GN
> tep/GNUstep/Local/Library/Headers -I/c/GNUstep/GNUstep/System/Library/Headers 
> -I/c/GNUstep/GNUstep
> ystem/Library/Headers 
> -I/GNUstep/System/Library/Libraries/libffi-3.0.13/include -I/mingw/include/l
> xml2 -Ic:/GNUstep/include -Ic:/GNUstep/include/p11-kit-1 \
>                -o obj/libgnustep-base.obj/NSFileManager.m.o
> NSFileManager.m: In function '-[NSFileManager setDelegate:]':
> NSFileManager.m:364:1: warning: conflicting types for 
> '-(void)setDelegate:(NSFileManager *)delegat
>  [enabled by default]
> ../Headers/Foundation/NSFileManager.h:455:1: note: previous declaration of 
> '-(void)setDelegate:(id
> NSFileManagerDelegate>)_value'
> NSFileManager.m:365:3: warning: class 'NSFileManager' does not implement the 
> 'NSFileManagerDelegat
>  protocol [enabled by default]
> NSFileManager.m: In function '-[NSFileManager changeFileAttributes:atPath:]':
> NSFileManager.m:572:29: error: '_S_IFDIR' undeclared (first use in this 
> function)
> NSFileManager.m:572:29: note: each undeclared identifier is reported only 
> once for each function i
> appears in
> NSFileManager.m: At top level:
> NSFileManager.m:2360:3: error: unknown type name '_WDIR'
> NSFileManager.m: In function 'gsedRelease':
> NSFileManager.m:2367:3: warning: implicit declaration of function 
> '_wclosedir' [-Wimplicit-functio
> declaration]
> NSFileManager.m: In function '-[NSDirectoryEnumerator 
> initWithDirectoryPath:recurseIntoSubdirector
> s:followSymlinks:justContents:for:]':
> NSFileManager.m:2410:7: error: unknown type name '_WDIR'
> NSFileManager.m:2424:7: warning: implicit declaration of function '_wopendir' 
> [-Wimplicit-function
> eclaration]
> NSFileManager.m:2424:19: warning: assignment makes pointer from integer 
> without a cast [enabled by
> efault]
> NSFileManager.m: In function '-[NSDirectoryEnumerator nextObject]':
> NSFileManager.m:2520:7: warning: implicit declaration of function '_wreaddir' 
> [-Wimplicit-function
> eclaration]
> NSFileManager.m:2520:14: warning: assignment makes pointer from integer 
> without a cast [enabled by
> efault]
> NSFileManager.m:2526:21: error: dereferencing pointer to incomplete type
> NSFileManager.m:2527:22: error: dereferencing pointer to incomplete type
> NSFileManager.m:2533:48: error: dereferencing pointer to incomplete type
> NSFileManager.m:2534:27: error: dereferencing pointer to incomplete type
> NSFileManager.m:2589:12: error: 'S_IFDIR' undeclared (first use in this 
> function)
> NSFileManager.m:2589:24: error: 'S_IFMT' undeclared (first use in this 
> function)
> NSFileManager.m:2591:5: error: unknown type name '_WDIR'
> NSFileManager.m:2594:7: warning: assignment makes pointer from integer 
> without a cast [enabled by
> fault]
> NSFileManager.m: In function '-[GSAttrDictionary filePosixPermissions]':
> NSFileManager.m:3478:30: error: 'S_IFMT' undeclared (first use in this 
> function)
> NSFileManager.m: In function '-[GSAttrDictionary fileType]':
> NSFileManager.m:3636:29: error: 'S_IFMT' undeclared (first use in this 
> function)
> NSFileManager.m:3638:12: error: 'S_IFREG' undeclared (first use in this 
> function)
> NSFileManager.m:3639:12: error: 'S_IFDIR' undeclared (first use in this 
> function)
> NSFileManager.m:3640:12: error: 'S_IFCHR' undeclared (first use in this 
> function)
> NSFileManager.m:3641:12: error: 'S_IFBLK' undeclared (first use in this 
> function)
> NSFileManager.m:3645:12: error: 'S_IFIFO' undeclared (first use in this 
> function)
> NSFileManager.m:3651:1: warning: control reaches end of non-void function 
> [-Wreturn-type]
> NSFileManager.m: In function '-[GSAttrDictionary filePosixPermissions]':
> NSFileManager.m:3479:1: warning: control reaches end of non-void function 
> [-Wreturn-type]
> make[4]: *** [obj/libgnustep-base.obj/NSFileManager.m.o] Error 1
> make[3]: *** [internal-library-all_] Error 2
> make[2]: *** [libgnustep-base.all.library.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make[1]: Leaving directory `/c/Development/gnustep/libs-base/Source'
> make: *** [internal-all] Error 2
> /c/GNUstep/GNUstep/System/Library/Makefiles/common.make:203: gui.make: No 
> such file or directory
> This is gnustep-make 2.7.0. Type 'make print-gnustep-make-help' for help.
> Running in gnustep-make version 2 strict mode.
> if [ -x config.status ]; then \
>           ./config.status --recheck && ./config.status; \
>         else \
>           ./configure; \
> 
> 
> I am running on Windows 8.1 with the latest packages from the website and 
> with the latest revision of the code from the repo.  I have made some minor 
> fixes for other issues, but this one is blocking me big time.
> 
> Any clues?
> 
> GC
> 
> -- 
> Gregory Casamento
> GNUstep Lead Developer / OLC, Principal Consultant
> http://www.gnustep.org - http://heronsperch.blogspot.com
> http://ind.ie/phoenix/
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev




reply via email to

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