Hi, Csanyi Pal <[email protected]> writes:
> Truls Becken <[email protected]> writes: > >> On Sat, Nov 13, 2010 at 20:56, Csanyi Pal wrote: >> >>> So when I compile this application with 'make' I get executables in >>> the obj/ directory of the application's project directory. >>> >>> But when I do 'sudo make install' I get messages: >>> >>> GNUmakefile:1: /common.make: No such file or directory >>> GNUmakefile:76: /application.make: No such file or directory >>> GNUmakefile:79: /ctool.make: No such file or directory >>> GNUmakefile:81: /Master/nsis.make: No such file or directory >>> make: *** No rule to make target `/Master/nsis.make'. Stop. >> >> This is because sudo resets your environment variables for security >> reasons. >> >> Try: sudo -E make install > > Grait! It works. :) Thanks! > > The C executables: DPResetBit0, etc. are now installed into > /usr/local/bin/ directory and there is a created symlink @LPT_Interface > that point to > /usr/local/lib/GNUstep/Applications/LPT_Interface.app/LPT_Interface > executable of the LPT_Interfce.app that is installed there too. :) > > So I can now implement the code to use these installed C executables: > DPResetBit0, etc. as subtasks in my LPT_Interface application. But the command 'make' doesn't work on Windows system. When in MSYS Shell, in the application directory when run 'make' I get messages: This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help. Making all for app LPT_Interface... make[3]: Nothing to be done for `internal-app-compile'. Copying resources into the app wrapper... Copying localized resources into the app wrapper... Making all for ctool DPResetBit0... Linking ctool DPResetBit0 ... ./obj/DPResetBit0.obj/DPResetBit0.c.o: In function `main': C:\GNUstep\home\Pal\lpt-interface/DPResetBit0.c:58: undefined reference to `ioperm' C:\GNUstep\home\Pal\lpt-interface/DPResetBit0.c:62: undefined reference to `inb' C:\GNUstep\home\Pal\lpt-interface/DPResetBit0.c:68: undefined reference to `outb' collect2: ld returned 1 exit status make[3]: *** [obj/DPResetBit0.exe] Error 1 make[2]: *** [internal-ctool-all_] Error 2 make[1]: *** [DPResetBit0.all.ctool.variables] Error 2 make: *** [internal-all] Error 2 What is the solution for this problem? Any advices will be appreciated! -- Regards, Paul Chany <http://sourceforge.net/projects/lptinterface/> <http://savannah.nongnu.org/projects/lpt-interface/> <http://csanyi-pal.info> _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
