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. Sat Oct 12, 2024 09:30
SMSTools3 Community » Bug reports Bottom

[fixed documentation] Fatal error on make: sys/inotify.h: No such file or directory

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Jul 2017
Location: Санкт-Петербург, Russian Federation
During compilation I got this error:

Quote
dkonev@SU00083 /usr/src/smstools3
$ dir
doc examples install.sh LICENSE Makefile package.sh README scripts src uninstall.sh

dkonev@SU00083 /usr/src/smstools3
$ make
cd src && make -
make[1]: вход в каталог «/usr/src/smstools3/src»
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charshift.o charshift.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o
smsd.c:35:25: фатальная ошибка: sys/inotify.h: No such file or directory
компиляция прервана.
make[1]: *** [Makefile:57: smsd] Ошибка 1
make[1]: выход из каталога «/usr/src/smstools3/src»
make: *** [Makefile:10: compile] Ошибка 2

dkonev@SU00083 /usr/src/smstools3

I checked the two versions smstools3-3.1.20.tar.gz and smstools3-3.1.21.tar.gz and got the same result. I don't know what can I do to fix.


« Last edit by KonevDN on Tue Jul 25, 2017 14:54, 87 months ago. »
Member
Registered:
Jul 2017
Location: Санкт-Петербург, Russian Federation
Topic owner
version smstools3-3.1.15.tar.gz has no such error.
When compiling I got only warnings:

Quote
dkonev@SU00083 /usr/src/smstools3
$ make
cd src && make -
make[1]: вход в каталог «/usr/src/smstools3/src»
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c
modeminit.c: В функции «handlephonecall_clip»:
modeminit.c:849:6: предупреждение: variable «entry_type» set but not used [-Wunused-but-set-variable]
int entry_type;
^
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c
pdu.c: В функции «get_pdu_details»:
pdu.c:1752:7: предупреждение: variable «udlen» set but not used [-Wunused-but-set-variable]
int udlen;
^
cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
make[1]: выход из каталога «/usr/src/smstools3/src»

dkonev@SU00083 /usr/src/smstools3


Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Your OS does not have inotify library installed with sources. Depending on the OS, you should install it before compiling smsd.

If inotify library is not available, you can disable usage of it: edit src/Makefile and remove # from this line:
#CFLAGS += -D DISABLE_INOTIFY

Inotify is used to notify mainspooler as soon as a new file appears in the outgoing directory. If mainspooler is sleeping, it then continues immediately. Without inotify mainspooler sleeps 10 seconds after outgoing directory becomes empty. This time is changeable, see the settings delaytime and delaytime_mainprocess.

Member
Registered:
Jul 2017
Location: Санкт-Петербург, Russian Federation
Topic owner
But I followed all the instructions, described on page "Step by Step instruction for Windows" http://smstools3.kekekasvi.com/index.php?p=windows , I expected that all the necessary soft is successfully installed, given that I installed cygwin.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Inotify is a Linux specific feature and not available under Cygwin. Edit src/Makefile and disable it.

Sorry about the outdated documentation. I'll update it in the next version which is coming soon.

Login and Post Reply

Page:  1

SMSTools3 Community » Bug reports Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.