[etherlab-users] Make error while installing the data logging service(dls)
Jayson Ding
ding at mekabot.com
Mon Nov 29 19:12:48 CET 2010
Hello Richard
Thank you for the quick reply. I tried to add #include <cstdio> in
com_time.cpp file.
It generates more errors as following:
Any hint about how to fix it. Thank you!
Jayson
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
mv -f .deps/libcomdls_a-com_time.Tpo .deps/libcomdls_a-com_time.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT
libcomdls_a-com_file.o -MD -MP -MF .deps/libcomdls_a-com_file.Tpo -c -o
libcomdls_a-com_file.o `test -f 'com_file.cpp' || echo './'`com_file.cpp
com_file.cpp: In member function ‘void COMFile::open_read(const char*)’:
com_file.cpp:72: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::open_read_write(const
char*)’:
com_file.cpp:110: error: ‘strerror’ was not declared in this scope
com_file.cpp:117: error: ‘strerror’ was not declared in this scope
com_file.cpp:128: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::open_read_append(const
char*)’:
com_file.cpp:168: error: ‘strerror’ was not declared in this scope
com_file.cpp:175: error: ‘strerror’ was not declared in this scope
com_file.cpp:186: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::close()’:
com_file.cpp:212: error: ‘strerror’ was not declared in this scope
com_file.cpp:226: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::write(const char*,
unsigned int)’:
com_file.cpp:293: error: ‘strerror’ was not declared in this scope
com_file.cpp:298: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::append(const char*,
unsigned int)’:
com_file.cpp:373: error: ‘strerror’ was not declared in this scope
com_file.cpp:378: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::seek(unsigned int)’:
com_file.cpp:423: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘void COMFile::read(char*, unsigned
int, unsigned int*)’:
com_file.cpp:460: error: ‘strerror’ was not declared in this scope
com_file.cpp: In member function ‘long long int COMFile::calc_size()’:
com_file.cpp:492: error: ‘strerror’ was not declared in this scope
make[2]: *** [libcomdls_a-com_file.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
> 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
>>
--
------------------------------------------------------
Jayson(Jienan) Ding, Research Engineer
Meka Robotics LLC.
Address:
1240 Pennsylvania Ave,
San Francisco, CA, 94107
Tel: 415-206-0131
Fax: 415.206.0247
Web:
http://www.mekabot.com/
More information about the Etherlab-users
mailing list