SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Tue Apr 23, 2024 17:26
SMSTools3 Community » Help and support Bottom

[solved] Basic Build problem

  This topic is locked

Page:  1

Author Post
Member
Registered:
Feb 2010
Location: Hong Kong
I;m new to this cygwin stuff.

Trying to build a version for windows XP SP 2, when I call command make i get an error :-

$ make
cd src && make -
make[1]: Entering directory `/usr/src/smstools3/src'
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -Wall -D_FILE_OFFSET_BITS=64 -c -o extra
s.o extras.c
make[1]: cc: Command not found
make[1]: *** [extras.o] Error 127
make[1]: Leaving directory `/usr/src/smstools3/src'
make: *** [compile] Error 2

what am I missing?

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You are missing a compiler.

In the Cygwin setup, open the Devel list and select gcc-g++ package. After this package is installed, compiling should work.

If you still get an error cc: Command not found, try a command which gcc. If gcc was found, you are missing a symbolic link from cc to gcc. In this case you can edit the Makefile in the smstools3/src directory. There is a line # CC=gcc, uncomment it (remove the # character).

Member
Registered:
Feb 2010
Location: Hong Kong
Topic owner
Still no joy.

Same error message,

gcc-g++ already installed.
#CC uncommented

I will try on a different machine next week and report back.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You could still check if there is a problem with symbolic links. In my machine links are as follows:

$ which cc
/usr/bin/cc

$ ls -l /usr/bin/cc
lrwxrwxrwx 1 Keke None 20 2010-01-08 16:37 /usr/bin/cc -> /etc/alternatives/cc

$ ls -l /etc/alternatives/cc
lrwxrwxrwx 1 Keke None 17 2010-01-08 16:37 /etc/alternatives/cc -> /usr/bin/cc-3.exe

$ ls -l /usr/bin/cc-3.exe
lrwxrwxrwx 1 Keke root 9 2010-01-08 16:36 /usr/bin/cc-3.exe -> gcc-3.exe

$ ls -l /usr/bin/gcc-3.exe
-rwxr-xr-x 2 Keke root 94741 2009-02-25 12:14 /usr/bin/gcc-3.exe

$ which gcc
/usr/bin/gcc

$ ls -l /usr/bin/gcc
lrwxrwxrwx 1 Keke None 21 2010-01-08 16:37 /usr/bin/gcc -> /etc/alternatives/gcc

$ ls -l /etc/alternatives/gcc
lrwxrwxrwx 1 Keke None 18 2010-01-08 16:37 /etc/alternatives/gcc -> /usr/bin/gcc-3.exe


Member
Registered:
Feb 2010
Location: Hong Kong
Topic owner
Tried this on another machine..

Compiles fine. :) No problems.. *other problems but not sms 3 related.

I am connecting to a China unicom ZTE MF637U WCDMA USB modem. But smsd says the device is already in use. When i try to connect to it using hyperterminal, same message is displayed.

Member
Registered:
Feb 2010
Location: Hong Kong
Topic owner
No worries... got it working

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.