This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cross compilation error

Note: This was originally posted on 13th January 2013 at http://forums.arm.com

Hi,

I am trying to compile a simple program for testing serial communication. The error received during compilaton is:


/usr/bin/arm-linux-gnueabi-g++-4.7 -c -I/usr/arm-linux-gnueabi/include BaseCommClient.cpp
BaseCommClient.cpp: In member function "˜void Communication::BaseCommClient::ReadThread()':
BaseCommClient.cpp:41:5: error: "˜__arr' was not declared in this scope

It is received during the setup of the 'select' system call:


// set up select call
    fd_set fd_set;
    struct timeval timeout;

FD_ZERO(&fd_set);

Thanks,
David.
0