Jolfulorc
November 4th, 2009, 02:12 AM
Hi,
I'm designing a software which gets data from a USB port. I need to install the LibSerial library. When I launch make, I get an error. After further investigations, it turns out that something seems to be missing from stdio.h. A simple code like this :
#include <stdio.h>
using namespace std;
int main(){
bzero( stuff );
}
gives at compilation :
g++ -o essai essai.cc
essai.cc: In function ‘int main()’:
essai.cc:6: error: ‘bzero’ was not declared in this scope
I'm on Ubuntu 9.10 (which is great by the way ;))... Anyone knows how to solve this ?
Cheers,
Jol
I'm designing a software which gets data from a USB port. I need to install the LibSerial library. When I launch make, I get an error. After further investigations, it turns out that something seems to be missing from stdio.h. A simple code like this :
#include <stdio.h>
using namespace std;
int main(){
bzero( stuff );
}
gives at compilation :
g++ -o essai essai.cc
essai.cc: In function ‘int main()’:
essai.cc:6: error: ‘bzero’ was not declared in this scope
I'm on Ubuntu 9.10 (which is great by the way ;))... Anyone knows how to solve this ?
Cheers,
Jol