Does it give the exact same error or is the compile output different? And where are your GNUstep base and gui header files installed now? I am sure there is a mismatch between your include path used by the gcc command and the actual file location, it may just be hard to spot.
Fred Yves de Champlain wrote: > I rebuilt everything from scratch but it did not change anything. > Thanks for the tip anyway. > > BTW, I also had a report of someone (W. Lux) who built back-0.12 on Mac > with success. So this is a very particular problem. > > > yves > > Le 07-04-24 à 05:12, Fred Kiefer a écrit : > >> Looks like GNUstep is not picking up the headers from base and gui when >> compiling back. No idea why this may be happening. Did you recompile >> everything from scratch after correcting your spelling error? >> >> Fred >> >> Yves de Champlain wrote: >>> 10.4, make 2.0 / base 1.14 / gui 0.12, gnu-gnu-gnu combo, FSF gcc 4.1 >>> >>> Some problem with includes : >>> >>> DEBUG: Environment: >>> PATH='/opt/local/GNUstep/Local/Tools:/opt/local/GNUstep/System/Tools:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin' >>> >>> DYLD_LIBRARY_PATH='/opt/local/GNUstep/Local/Library/Libraries:/opt/local/GNUstep/System/Library/Libraries' >>> >>> >>> DEBUG: Assembled command: 'cd >>> "/Users/Shared/dports/build/_Users_Shared_dports_dports_gnustep_gnustep-back/work/gnustep-back-0.12.0" >>> >>> && gnumake all messages=yes >>> GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles' >>> >>> Making all in Source... >>> Making all in subprojects of bundle libgnustep-back-012... >>> Making all for subproject gsc... >>> gnumake[3]: Nothing to be done for `internal-subproject-all'. >>> Making all for subproject x11... >>> gnumake[3]: Nothing to be done for `internal-subproject-all'. >>> Making all for subproject art... >>> gcc-dp-4.1 ftfont.m -c \ >>> -MMD -MP -I/opt/local/include -Wall -DGNUSTEP >>> -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 >>> -DGNUSTEP_BASE_LIBRARY=1 -fno-common -g -Wall -DDEBUG >>> -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import >>> -fno-strict-aliasing -fgnu-runtime >>> -fconstant-string-class=NSConstantString -I../../Headers -I../. >>> -I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 >>> -I/opt/local/include -I/usr/X11R6/include -I/opt/local/include -I. >>> -I/opt/local/GNUstep/Local/Library/Headers/ >>> -I/opt/local/GNUstep/System/Library/Headers/ \ >>> -o obj/ftfont.o >>> ftfont.m: In function 'fix_path': >>> ftfont.m:303: warning: no '-isAbsolutePath' method found >>> ftfont.m:303: warning: (Messages without a matching method signature >>> ftfont.m:303: warning: will be assumed to return 'id' and accept >>> ftfont.m:303: warning: '...' as arguments.) >>> ftfont.m: In function 'add_face': >>> ftfont.m:345: warning: 'NSUserDefaults' may not respond to >>> '+userLanguages' >>> ftfont.m:414: warning: implicit declaration of function 'GSDebugSet' >>> ftfont.m: In function 'load_font_configuration': >>> ftfont.m:476: error: 'NSFileManager' undeclared (first use in this >>> function) >>> ftfont.m:476: error: (Each undeclared identifier is reported only once >>> ftfont.m:476: error: for each function it appears in.) >>> ftfont.m:476: error: 'fm' undeclared (first use in this function) >>> ftfont.m:488: warning: implicit declaration of function >>> 'NSSearchPathForDirectoriesInDomains' >>> ftfont.m:488: error: 'NSLibraryDirectory' undeclared (first use in this >>> function) >>> ftfont.m:488: error: 'NSAllDomainsMask' undeclared (first use in this >>> function) >>> ftfont.m:488: warning: assignment makes pointer from integer without >>> a cast >>> ftfont.m: In function '-[FTFontInfo glyphWithName:]': >>> ftfont.m:2306: warning: 'NSString' may not respond to '-lossyCString' >>> ftfont.m: At top level: >>> ftfont.m:2465: warning: initialization from incompatible pointer type >>> ftfont.m:2466: warning: initialization from incompatible pointer type >>> ftfont.m:2467: warning: initialization from incompatible pointer type >>> ftfont.m:2468: warning: initialization from incompatible pointer type >>> ftfont.m:2527: warning: initialization from incompatible pointer type >>> ftfont.m:2528: warning: initialization from incompatible pointer type >>> ftfont.m:2529: warning: initialization from incompatible pointer type >>> ftfont.m:2530: warning: initialization from incompatible pointer type >>> In file included from ftfont.m:3179: >>> /opt/local/GNUstep/System/Library/Headers/AppKit/NSTextStorage.h:58: >>> error: cannot find interface declaration for >>> 'NSMutableAttributedString', superclass of 'NSTextStorage' >>> ftfont.m: In function '-[GSLayoutManager(backend) >>> _findSafeBreakMovingBackwardFrom:]': >>> ftfont.m:3203: warning: 'NSTextStorage' may not respond to '-string' >>> ftfont.m: In function '-[GSLayoutManager(backend) >>> _findSafeBreakMovingForwardFrom:]': >>> ftfont.m:3211: warning: 'NSTextStorage' may not respond to '-length' >>> ftfont.m:3211: warning: initialization makes integer from pointer >>> without a cast >>> ftfont.m:3212: warning: 'NSTextStorage' may not respond to '-string' >>> ftfont.m: In function '-[GSLayoutManager(backend) >>> _generateGlyphsForRun:at:]': >>> ftfont.m:3227: warning: 'NSFont' may not respond to '-fontInfo' >>> ftfont.m:3236: warning: 'NSTextStorage' may not respond to '-string' >>> ftfont.m:3262: error: 'NSAttachmentCharacter' undeclared (first use in >>> this function) >>> gnumake[3]: *** [obj/ftfont.o] Error 1 >>> gnumake[2]: *** [art.all.subproject.variables] Error 2 >>> gnumake[1]: *** [libgnustep-back-012.all.bundle.variables] Error 2 >>> gnumake: *** [internal-all] Error 2 >>> >>> >>> thanks >>> >>> yves >>> >>> >>> >>> _______________________________________________ >>> Discuss-gnustep mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/discuss-gnustep >>> > _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
