Author |
Post |
|
#1 Thu Nov 14, 2013 14:10, 134 months ago.
|
Member
Registered: Nov 2013
Location: Asti, AT, Piemont, Italy
|
Operating system name and version: Win XP PRO SP3 Version of smsd: 3.1.15 and previous Smsd installed from: sources / from elsewhere... Name and model of a modem / phone: Nokia 7500 Interface: USB
Hi, I used it for some time smstool on windows xp via cygwin with phone nokia 7500 and now due to change pc, I have to reinstall it. After downloading the latest version of cygwin and smstools, I tried to compile it with cygwin accordance with the instructions, getting the following error:
$ make cd src && make - make [1]: entry in the directory "/ usr/src/smstools3/src" Makefile: 51: *** instruction set starts before the first goal. Stop. make [1]: Leaving directory "/ usr/src/smstools3/src" Makefile: 10: instruction set for the target "compile" failed make: *** [compile] Error 2
What can I do to fix it?
I have: $ which cc /usr/bin/cc
$ ls -l /usr/bin/cc lrwxrwxrwx 1 Labcar Nessuno 7 14 nov 12.56 /usr/bin/cc -> gcc.exe
$ which gcc /usr/bin/gcc
$ ls -l /usr/bin/gcc -rwxr-xr-x 3 Labcar Nessuno 693277 8 nov 16.20 /usr/bin/gcc
Thanks for replys
|
|
#2 Thu Nov 14, 2013 14:19, 134 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Try this: Edit the src/Makefile Search overrideAdd single tab character to the start of that line: ifneq (,$(findstring SOLARIS,$(CFLAGS))) ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS))) override LFLAGS += -lsocket -lnsl endif endif 'make' Syntax Highlight powered by GeSHi Save and make... Let me know it this helped.
|
|
#3 Fri Dec 27, 2013 13:19, 132 months ago.
|
Member
Registered: Dec 2013
Location: Pardubice, Czech Republic
|
hi guys,
already solved this problem? I got the same error. After adding the above code to the Makefile, I have a fail: missing separator .
Thank you
|
|
#4 Mon Dec 30, 2013 09:01, 132 months ago.
|
Member
Registered: Dec 2013
Location: Pardubice, Czech Republic
|
Hello Again,
I try edit MAKEFILE ( del and add TAB byfor override ), but still problem same problem:
Administrator@server-hu /usr/src $ tar -xzf smstools3-3.1.15.tar.gz
Administrator@server-hu /usr/src $ cd smstools3
Administrator@server-hu /usr/src/smstools3 $ ls doc install.sh Makefile README src examples LICENSE package.sh scripts uninstall.sh
Administrator@server-hu /usr/src/smstools3 $ 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
Thank you for support
|