To Whom it May Concern:<br><br>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.<br>
<br>The compilation fails with the following errors:<div><br><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>make all-recursive</div><div>make[1]: Entering directory `/home/drl/etherlab/dls-hg'</div>
<div>Making all in src</div><div>make[2]: Entering directory `/home/drl/etherlab/dls-hg/src'</div><div>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</div>
<div>ctl_dialog_main.cpp: In member function ‘void CTLDialogMain::_check_dls_dir()’:</div><div>ctl_dialog_main.cpp:663:60: error: format not a string literal and no format arguments [-Werror=format-security]</div><div>ctl_dialog_main.cpp:698:64: error: format not a string literal and no format arguments [-Werror=format-security]</div>
<div>ctl_dialog_main.cpp:725:64: error: format not a string literal and no format arguments [-Werror=format-security]</div><div>ctl_dialog_main.cpp:815:60: error: format not a string literal and no format arguments [-Werror=format-security]</div>
<div>cc1plus: some warnings being treated as errors</div><div>make[2]: *** [dls_ctl-ctl_dialog_main.o] Error 1</div><div>make[2]: Leaving directory `/home/drl/etherlab/dls-hg/src'</div><div>make[1]: *** [all-recursive] Error 1</div>
<div>make[1]: Leaving directory `/home/drl/etherlab/dls-hg'</div><div>make: *** [all] Error 2</div></div></blockquote><br></div></div><div>Here is the line that triggers the first error:</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div>if (fl_choice(str.str().c_str(), "Nein", "Ja", NULL) == 0) return;</div></blockquote><br></div><div>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)?</div>
<div><br></div><div>Thank you for any help,</div><div>Johnathan Van Why</div><div>Dynamic Robotics Laboratory</div><div>Oregon State University</div>