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. Sat Apr 20, 2024 05:52
SMSTools3 Community » Help and support Bottom

Unable to compile

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Apr 2015
Location: Alice Springs, NT, Australia
5.19.0-38-generic UBUNTI:
Latest Version/b]:
Smsd installed from
: sources
Name and model of a modem / phone:
Interface: serial / USB / some adapter...

Unable to compile on latest linux kernel. This was on UBUNTU, I get the EXACT same compile error on a RaspberryPI.

/usr/bin/ld: charshift.o:(.bss+0x34fec0): multiple definition of `communicate_a_keys'; /tmp/ccXtDX9X.o:(.bss+0x34dea0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:63: smsd] Error 1
make[1]: Leaving directory '/home/pete/Downloads/smstools3/src'
make: *** [Makefile:10: compile] Error 2

Can someone try and compile from source and see if it works.....

Thankyou..Peter

Member
Registered:
Apr 2015
Location: Alice Springs, NT, Australia
Topic owner
After a ltittle googling on the forum I think I found this temporary fix. I made the changes and can now compile on Ubuntu.

keke wrote
Thanks for using this software.

This is a "ftbfs with GCC-10" issue, which is going to be fixed in the near future. The next version of smstools3 has been ready for a while, but it was not released. Because this issue affects to many new distributions on testing, I will release the next version with this ftbfs fixed, and also with lots of new features. This likely will happen during the some next weeks.

While waiting for the next version, you should just disable the warnings. In the src/Makefile, change the line:
CFLAGS += -W -Wall
to
CFLAGS += -fcommon

Hope this helps. At least on Debian 5.7.10-1 (2020-07-26) with GCC 10.1.0-6 the smsd got compiled with the changed flags.



« Last edit by sandman on Sun Apr 16, 2023 12:20, 12 months ago. »

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.