OpenDV icon indicating copy to clipboard operation
OpenDV copied to clipboard

compile error ircddbgateway

Open moya034 opened this issue 9 years ago • 7 comments

When I try to compile ircddbgateawy I get the following errors. How do I fix them?

IRCDDBGatewayAppD.cpp: In member function ‘bool CIRCDDBGatewayAppD::createThread()’: IRCDDBGatewayAppD.cpp:800:50: error: ‘WHITELIST_FILE_NAME’ was not declared in this scope wxFileName wlFilename(wxFileName::GetHomeDir(), WHITELIST_FILE_NAME); ^ IRCDDBGatewayAppD.cpp:814:50: error: ‘BLACKLIST_FILE_NAME’ was not declared in this scope wxFileName blFilename(wxFileName::GetHomeDir(), BLACKLIST_FILE_NAME); ^ IRCDDBGatewayAppD.cpp: In function ‘int main(int, char*)’: IRCDDBGatewayAppD.cpp:109:15: warning: ignoring return value of ‘int chdir(const char)’, declared with attribute warn_unused_result [-Wunused-result] ::chdir("/"); ^ make[1]: *** [IRCDDBGatewayAppD.o] Error 1 make[1]: Leaving directory `/home/brenden/OpenDV/ircDDBGateway/ircDDBGateway' make: *** [ircDDBGateway/ircddbgateway] Error 2

moya034 avatar Oct 14 '15 17:10 moya034

What platform? (Architecture / OS)

On Wed, Oct 14, 2015 at 10:38 AM, moya034 [email protected] wrote:

When I try to compile ircddbgateawy I get the following errors. How do I fix them?

IRCDDBGatewayAppD.cpp: In member function ‘bool CIRCDDBGatewayAppD::createThread()’: IRCDDBGatewayAppD.cpp:800:50: error: ‘WHITELIST_FILE_NAME’ was not declared in this scope wxFileName wlFilename(wxFileName::GetHomeDir(), WHITELIST_FILE_NAME); ^ IRCDDBGatewayAppD.cpp:814:50: error: ‘BLACKLIST_FILE_NAME’ was not declared in this scope wxFileName blFilename(wxFileName::GetHomeDir(), BLACKLIST_FILE_NAME); ^ IRCDDBGatewayAppD.cpp: In function ‘int main(int, char* )’: IRCDDBGatewayAppD.cpp:109:15: warning: ignoring return value of ‘int chdir(const char)’, declared with attribute warn_unused_result [-Wunused-result] ::chdir("/"); ^ make[1]: *** [IRCDDBGatewayAppD.o] Error 1 make[1]: Leaving directory `/home/brenden/OpenDV/ircDDBGateway/ircDDBGateway' make: *** [ircDDBGateway/ircddbgateway] Error 2

— Reply to this email directly or view it on GitHub https://github.com/dl5di/OpenDV/issues/14.


John D. Hays K7VE

PO Box 1223, Edmonds, WA 98020-1223 http://k7ve.org/blog http://twitter.com/#!/john_hays http://www.facebook.com/john.d.hays

johnhays avatar Oct 14 '15 18:10 johnhays

64 bit

Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty

moya034 avatar Oct 14 '15 18:10 moya034

The initial source release had that bug,, The update was ;

DStarRepeater-20151001a.zip http://vk4tux.duckdns.org/xG4KLX/Source/DStarRepeater-20151001a.zip 2015-Oct-02 08:56:14 624.1K application/zip

Github must have the first release.

Try again with updated link source above.

Adrian ... vk4tux

On 15/10/15 04:10, moya034 wrote:

64 bit

Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty

— Reply to this email directly or view it on GitHub https://github.com/dl5di/OpenDV/issues/14#issuecomment-148140935.

vk4tux avatar Oct 15 '15 00:10 vk4tux

Thanks for the link but I need IRCddbgateway

moya034 avatar Oct 15 '15 01:10 moya034

Sorry, my memory is fading, it was a dstarrepeater compile error I see now.

Can you then try ;

ircDDBGateway-20150820.zip http://vk4tux.duckdns.org/xG4KLX/Source/ircDDBGateway-20150820.zip 2015-Aug-21 17:14:58 856.3K application/zip

I had no issues with above on ubuntu

regards

Adrian ... vk4tux

On 15/10/15 11:03, moya034 wrote:

Thanks for the link but I need IRCddbgateway

— Reply to this email directly or view it on GitHub https://github.com/dl5di/OpenDV/issues/14#issuecomment-148245043.

vk4tux avatar Oct 15 '15 01:10 vk4tux

yep, that compiled and ran fine for me

moya034 avatar Oct 15 '15 02:10 moya034

Good, I should have sent that to you first, glad you had a good result.

regards

Adrian ... vk4tux

On 15/10/15 12:13, moya034 wrote:

yep, that compiled and ran fine for me

— Reply to this email directly or view it on GitHub https://github.com/dl5di/OpenDV/issues/14#issuecomment-148257373.

vk4tux avatar Oct 15 '15 02:10 vk4tux