From: Gerhard E. <ger...@im...> - 2004-03-09 14:49:14
|
Dear Martin, I finally got to the point of verifying your suggestion. Indeed, #define GS_FAKE_MAIN 0 in GNUSTEP_ROOT/System/Library/Headers/GSConfig.h is set to '1' in my configuration. I used the LISTEN CVS version, which contains the #include of GSConfig.h, but this produces the following problem: make[2]: Entering directory `/localhome/eckel/src/listen/foo/foo/Source/Main' Making all for ctool foo... Compiling file main.c ... Linking ctool foo ... /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make[3]: *** [shared_obj/foo] Error 1 make[2]: *** [foo.all.ctool.variables] Error 2 make[2]: Leaving directory `/localhome/eckel/src/listen/foo/foo/Source/Main' make[1]: *** [internal-all] Error 2 make[1]: Leaving directory `/localhome/eckel/src/listen/foo/foo/Source' make: *** [internal-all] Error 2 So we probably have another problem ... Best regards, Gerhard |