Author |
Post |
|
#1 Fri Jul 04, 2014 06:33, 131 months ago.
|
Member
Registered: Jul 2014
Location: Harrogate, United Kingdom
|
Operating system name and version: Windows 8.1 Version of smsd: 3.1.5 Smsd installed from: sources / package repository / from elsewhere... source Name and model of a modem / phone: Huwaei E220 Interface: serial / USB / some adapter... USB
Tried to run make and got this error
make cd src && make - make[1]: Entering directory '/usr/src/smstools3/src' Makefile:51: *** recipe commences before first target. Stop. make[1]: Leaving directory '/usr/src/smstools3/src' Makefile:10: recipe for target 'compile' failed make: *** [compile] Error 2
then Makefile was edited to add the tab and make worked fine.
However make install is failing as below
$ make install make: *** No rule to make target 'install'. Stop.
Please advice.
Thanks
|
|
#2 Mon Jul 07, 2014 05:53, 131 months ago.
|
Member
Registered: Jul 2014
Location: Harrogate, United Kingdom
Topic owner
|
I was running make from the wrong working directory
/usr/src/smstools3/src
instead of
/usr/src/smstools3
|
|
#3 Thu Jul 31, 2014 08:58, 130 months ago.
|
Member
Registered: Jul 2014
Location: Abidjan, Cote d'Ivoire (Ivory Coast)
|
HI All, I have the same error. I have verified and i'm in the good directory.
$ make cd src && make - make[1]: Entering directory '/usr/src/smstools3/src' Makefile:51: *** La recette commence avant la première cible. Arrêt. make[1]: Leaving directory '/usr/src/smstools3/src' Makefile:10: recipe for target 'compile' failed make: *** [compile] Error 2
Could someone help me?
|
|
#4 Mon Sep 29, 2014 14:16, 128 months ago.
|
Member
Registered: Sep 2014
Location: rabat, Morocco
|
Hi, Sorry for my poor English! If I understood correctly, the execution of the MAKE command in the directory ../smstools3/ with no parameters, uses the Makefile in that directory which moves the SHELL to the subdirectory ./src/ and a rerun a second MAKE with the command "cd src && $ (MAKE) $ - $ (MAKEFLAGS)" the second MAKE called uses the Makefile present in the ../smstools3/src/ directory. The problem is a missing tab at the second Makefile, even if the MAKE program indicates that there is a problem with the line 51, the problem actually comes from line 46 of the file ../smstools3/src/Makefile so edit this file and add a tab at the beginning of the line like this.a preview before change: a preview after change:
|