OS: Arch Linux Software: libsigcpp1.2, gsm, popt, libgcryp, speex
When I run 'make' I have error (see log in attachment)
I suppose it crashes because AsyncSerialDevice.cpp doesn't have
#include <stdio.h>
For example AsyncTcpServer.cpp calls perror but it has stdio-request.
Add stdio.h to AsyncSerialDevice.cpp: ========= start log ========== --- Compiling AsyncSerial.cpp... --- Compiling AsyncSerialDevice.cpp... --- Creating archive ../../lib/libasynccore.a... --- Creating directory ../../lib... --- Linking ../../lib/libasynccore-0.17.0.so... -------------- async/cpp -------------- --- Creating ../../include/AsyncCppApplication.h... ../../makefile.inc:786: depend/AsyncCppApplication.dpp: No such file or directory ../../makefile.inc:786: depend/AsyncCppDnsLookupWorker.dpp: No such file or directory --- Creating dependency file depend/AsyncCppDnsLookupWorker.dpp... --- Creating dependency file depend/AsyncCppApplication.dpp... --- Compiling AsyncCppApplication.cpp... --- Compiling AsyncCppDnsLookupWorker.cpp... AsyncCppDnsLookupWorker.cpp: In member function 'virtual bool Async::CppDnsLookupWorker::doLookup()': AsyncCppDnsLookupWorker.cpp:195: error: 'perror' was not declared in this scope make[3]: *** [AsyncCppDnsLookupWorker.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 ==> ERROR: Build Failed. Aborting... ========= end log ===========
These build errors should be fixed in Subversion now.
Sorry for not answering this earlier. There was a misconfiguration in the bug tracker which caused the notification e-mail to get lost.
I suppose it crashes because AsyncSerialDevice.cpp doesn't have
#include <stdio.h>
For example AsyncTcpServer.cpp calls perror but it has stdio-request.
Add stdio.h to AsyncSerialDevice.cpp:
========= start log ==========
--- Compiling AsyncSerial.cpp...
--- Compiling AsyncSerialDevice.cpp...
--- Creating archive ../../lib/libasynccore.a...
--- Creating directory ../../lib...
--- Linking ../../lib/libasynccore-0.17.0.so...
-------------- async/cpp --------------
--- Creating ../../include/AsyncCppApplication.h...
../../makefile.inc:786: depend/AsyncCppApplication.dpp: No such file or directory
../../makefile.inc:786: depend/AsyncCppDnsLookupWorker.dpp: No such file or directory
--- Creating dependency file depend/AsyncCppDnsLookupWorker.dpp...
--- Creating dependency file depend/AsyncCppApplication.dpp...
--- Compiling AsyncCppApplication.cpp...
--- Compiling AsyncCppDnsLookupWorker.cpp...
AsyncCppDnsLookupWorker.cpp: In member function 'virtual bool Async::CppDnsLookupWorker::doLookup()':
AsyncCppDnsLookupWorker.cpp:195: error: 'perror' was not declared in this scope
make[3]: *** [AsyncCppDnsLookupWorker.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
========= end log ===========
These build errors should be fixed in Subversion now.
Sorry for not answering this earlier. There was a misconfiguration in the bug tracker which caused the notification e-mail to get lost.