This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
missing header file simplelock.h or __ECOS not defined??
- From: Warren Jasper <warrenj at bops dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 14 Jan 2002 11:36:02 -0500
- Subject: [ECOS] missing header file simplelock.h or __ECOS not defined??
- Organization: BOPS Inc.
- Reply-to: warrenj at bops dot com
I built a target with network installed. In the file
param.h , there is the line:
#include <sys/types.h>
#ifndef __ECOS
#include <sys/simplelock.h>
#endif
However, I can not find where __ECOS is defined. By the way, in the
install/include directory:
grep -r __ECOS *
cyg/hal/generic-stub.h:#ifndef __ECOS__
cyg/hal/generic-stub.h:#endif // __ECOS__
cyg/hal/generic-stub.h:#ifndef __ECOS__
cyg/hal/generic-stub.h:#endif // __ECOS__
cyg/hal/hal_stub.h:#ifndef __ECOS__
cyg/hal/hal_stub.h:#define __ECOS__ // use to
mark eCos hacks
Is this something I have to manually put into my application code? The
application is trying to open
a network socket.