This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

missing header file simplelock.h or __ECOS not defined??


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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]