<[email protected]> wrote: > > Hi , > I am on windows trying to compile some object-c code usign GNUstep. > > I am getting the following eror: > > $ make > This is gnustep-make 2.0.7. Type 'make print-gnustep-make-help' for help. > Making all for tool test... > Linking tool test ... > C:/GNUstep/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../libmingw32.a(main.o): > main > .c:(.text+0xbd): undefined reference to `_winm...@16' > collect2: ld returned 1 exit status > make[1]: *** [obj/test.exe] Error 1 > make: *** [test.all.tool.variables] Error 2 > > > > My make file is basic: > > > include $(GNUSTEP_MAKEFILES)/common.make > > TOOL_NAME = test > LogTest_OBJC_FILES = test.m > > include $(GNUSTEP_MAKEFILES)/tool.make
You need to change the name of variable LogTest_OBJC_FILES to test_OBJC_FILES so that it matches the tool name. Cheers, Truls _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
