SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Thu Nov 21, 2024 17:57
SMSTools3 Community » Help and support Bottom

Error compile with last cygwin

Login and Post Reply

Page:  1

Author Post
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

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Try this:

Edit the src/Makefile
Search override

Add 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.

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

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

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.