-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make: *** [Makefile:22: DCSHandler.o] Error 1 #5
Comments
Is this the same system you are trying to run DStarGateway on ? |
same issue on a fresh Debian 12 |
solved |
Glad to hear that you have solved it. I did not have time to look into more details, but I assume you are building master branch? |
yep, develop branch working fine... |
You can have a look here: https://github.com/K2IE/sgsheard/ |
Sorry for the delay. |
I am not a programmer, sorry :-) |
It works. Thank you. |
Build the develop Branch |
Is that normal? GATEWAY: VE2VPS G 173.209.61.78 73 IW0RED |
wrong configuration in sgs-xl.cfg |
|
please repost you config and make sure to wrap it all into code tags |
Sorry! |
Looks good to me.... |
For me too :-) |
Hi, there are some compilation errors. Can someone help me?
Thank you.
Marco
Linux vps-12019777 6.1.0-16-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux
DCSHandler.cpp: In constructor 'CDCSHandler::CDCSHandler(IReflectorCallback*, const std::string&, const std::string&, CDCSProtocolHandler*, const in_addr&, unsigned int, DIRECTION)':
DCSHandler.cpp:70:20: error: '::time' has not been declared
70 | m_time = ::time(NULL);
| ^~~~
DCSHandler.cpp:24:1: note: 'time' is defined in header ''; did you forget to '#include '?
23 | #include "Utils.h"
+++ |+#include
24 |
DCSHandler.cpp: In static member function 'static void CDCSHandler::writeStatus(FILE*)':
DCSHandler.cpp:744:35: error: '::gmtime' has not been declared
744 | struct tm *tm = ::gmtime(&dcsHandler->m_time);
| ^~~~~~
DCSHandler.cpp:744:35: note: 'gmtime' is defined in header ''; did you forget to '#include '?
DCSHandler.cpp:750:51: error: invalid use of incomplete type 'struct tm'
750 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
In file included from /usr/include/c++/12/cwchar:44,
from /usr/include/c++/12/bits/postypes.h:40,
from /usr/include/c++/12/bits/char_traits.h:39,
from /usr/include/c++/12/string:40,
from DCSHandler.h:23,
from DCSHandler.cpp:22:
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:750:71: error: invalid use of incomplete type 'struct tm'
750 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:750:87: error: invalid use of incomplete type 'struct tm'
750 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:750:100: error: invalid use of incomplete type 'struct tm'
750 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:750:113: error: invalid use of incomplete type 'struct tm'
750 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:750:125: error: invalid use of incomplete type 'struct tm'
750 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:758:51: error: invalid use of incomplete type 'struct tm'
758 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:758:71: error: invalid use of incomplete type 'struct tm'
758 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:758:87: error: invalid use of incomplete type 'struct tm'
758 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:758:100: error: invalid use of incomplete type 'struct tm'
758 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:758:113: error: invalid use of incomplete type 'struct tm'
758 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
DCSHandler.cpp:758:125: error: invalid use of incomplete type 'struct tm'
758 | tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
| ^~
/usr/include/wchar.h:83:8: note: forward declaration of 'struct tm'
83 | struct tm;
| ^~
make: *** [Makefile:22: DCSHandler.o] Error 1
The text was updated successfully, but these errors were encountered: