[etherlab-users] Failed compilation of latest Data Logging Service
Johnathan Van Why
jrvanwhy at gmail.com
Tue Aug 6 19:54:42 CEST 2013
To Whom it May Concern:
I am attempting to compile the Data Logging Service on Xubuntu 12.04. We
are using the latest Mercurial version of EtherLab and the release-1.0.0
tag for pdserv. We are using the latest Mercurial version of dls.
The compilation fails with the following errors:
make all-recursive
make[1]: Entering directory `/home/drl/etherlab/dls-hg'
Making all in src
make[2]: Entering directory `/home/drl/etherlab/dls-hg/src'
g++ -DHAVE_CONFIG_H -I. -I.. -DREVISION=\"`../revision.sh ..`\"
-I/usr/include/freetype2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Wformat-security -Werror=format-security -D_THREAD_SAFE
-D_REENTRANT -g -O2 -MT dls_ctl-ctl_dialog_main.o -MD -MP -MF
.deps/dls_ctl-ctl_dialog_main.Tpo -c -o dls_ctl-ctl_dialog_main.o `test -f
'ctl_dialog_main.cpp' || echo './'`ctl_dialog_main.cpp
ctl_dialog_main.cpp: In member function ‘void
CTLDialogMain::_check_dls_dir()’:
ctl_dialog_main.cpp:663:60: error: format not a string literal and no
format arguments [-Werror=format-security]
ctl_dialog_main.cpp:698:64: error: format not a string literal and no
format arguments [-Werror=format-security]
ctl_dialog_main.cpp:725:64: error: format not a string literal and no
format arguments [-Werror=format-security]
ctl_dialog_main.cpp:815:60: error: format not a string literal and no
format arguments [-Werror=format-security]
cc1plus: some warnings being treated as errors
make[2]: *** [dls_ctl-ctl_dialog_main.o] Error 1
make[2]: Leaving directory `/home/drl/etherlab/dls-hg/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drl/etherlab/dls-hg'
make: *** [all] Error 2
Here is the line that triggers the first error:
if (fl_choice(str.str().c_str(), "Nein", "Ja", NULL) == 0) return;
I'm not familiar with the "fl_choice" function, and am unable to find
information on it by searching either Google or EtherLab's code base. Could
anyone recommend a solution (and, hopefully, commit it to the repository)?
Thank you for any help,
Johnathan Van Why
Dynamic Robotics Laboratory
Oregon State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20130806/5ed20729/attachment-0002.htm>
More information about the Etherlab-users
mailing list