Author |
Post |
|
#1 Thu Jun 11, 2009 21:19, 192 months ago.
|
Member
Registered: Jun 2009
Location: Cape Town, South Africa
|
HI There
I'm new to SMS Server tools. When I try to make I getthe below error. It looks like it complaining about a missing file...but I do see files in the directory?
$ make cd src && c:/dev-cpp/bin/make.exe - c:\dev-cpp\bin\make.exe[1]: Entering directory `C:/cygwin/home/faiz/smstools3/sr c' cc -D NOSTATS -Wall -c -o extras.o extras.c process_begin: CreateProcess((null), cc -D NOSTATS -Wall -c -o extras.o extras.c , ...) failed. make (e=2): The system cannot find the file specified. c:\dev-cpp\bin\make.exe[1]: *** [extras.o] Error 2 c:\dev-cpp\bin\make.exe[1]: Leaving directory `C:/cygwin/home/faiz/smstools3/src ' c:\dev-cpp\bin\make.exe: *** [compile] Error 2
faiz@jedi ~/smstools3
|
|
#2 Fri Jun 12, 2009 10:37, 192 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
You are using make and probably compiler too from another package than Cygwin.
Install Cygwin's own make and compiler using Cygwin's setup program. Packages can be found under Devel section, select make and gcc (or gcc-g++ if later using status monitor feature).
You can also ensure that $PATH has /usr/bin before any external location.
After packages are installed correctly you could check if you get nearly similar results than in my system:
Keke@media ~/smstools3 $ which make /usr/bin/make
Keke@media ~/smstools3 $ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for i686-pc-cygwin
Keke@media ~/smstools3 $ which cc /usr/bin/cc
Keke@media ~/smstools3 $ ls -l `which cc` lrwxrwxrwx 1 Keke Nothing 7 Apr 24 2007 /usr/bin/cc -> gcc.exe
Keke@media ~/smstools3 $ cc -v Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
|
|
#3 Fri Jun 12, 2009 18:03, 192 months ago.
|
Member
Registered: Jun 2009
Location: Cape Town, South Africa
Topic owner
|
 Thank you that resolved my issue - I was pointing to my Dev-C++ compiler after I did a which make and which gcc
|