Hello gcc is getting stricter all the time...
I have not tried it out myself, but adding #include <cstdio> in the top section of com_time.cpp should help - Richard On Monday 29 November 2010 00:38:37 Jayson Ding wrote: > Dear all > I tried to install Data logging service on my ubuntu. But I was stuck in > the following make error. > Can anyone help me out? thank you. > > make all-recursive > make[1]: Entering directory `/usr/local/src/dls-1.1-r160' > Making all in src > make[2]: Entering directory `/usr/local/src/dls-1.1-r160/src' > g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT > libcomdls_a-com_time.o -MD -MP -MF .deps/libcomdls_a-com_time.Tpo -c -o > libcomdls_a-com_time.o `test -f 'com_time.cpp' || echo './'`com_time.cpp > com_time.cpp: In member function ‘std::string COMTime::to_real_time() > const’: > *com_time.cpp:416: error: ‘sprintf’ was not declared in this scope* > make[2]: *** [libcomdls_a-com_time.o] Error 1 > make[2]: Leaving directory `/usr/local/src/dls-1.1-r160/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/dls-1.1-r160' > make: *** [all] Error 2 > > While configuring DLS, I installed fltk, FFTW3 ,and bunch of relevant > libs in order to pass the configuration. > My system environment is: > > linux: 2.6.32.11 > rtai:3.8.1 > etherlab: 1.3-pre > matlab: 7.4.0.336 > realtime workshop: 6.6 > > In addition, both data logging service package's software and doc are in > German. > Does anyone have me some english support? > > Jayson > -- ------------------------------------------------------------------------ Richard Hacker Amtsgericht Essen HRB 11500 Ingenieurgemeinschaft IgH USt-Id.-Nr.: DE 174 626 722 Ges. für Ingenieurleistungen mbH Geschäftsführung: Heinz-Baecker-Str. 34 Dr.-Ing. S. Rotthäuser D-45356 Essen Dr.-Ing. T. Finke Tel.: +49 201 / 36014-16 Dr.-Ing. W. Hagemeister Fax.: +49 201 / 36014-14 Tel.: +49 201 / 360-14-0 [email protected] http://www.igh-essen.com ------------------------------------------------------------------------ _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
