Thread: Request - Boron
View Single Post
Posts: 6 | Thanked: 4 times | Joined on Oct 2010 @ Melbourne, Australia
#5
When attempting to build 0.1.8 the only errors are:

- sys/eventfd.h not found.
- EFD_CLOEXEC is undeclared.

A little bit of googling leads me to believe that libc6-dev might be in the wrong place or out of date.

Both errors are in port_thread.c so EFD_CLOEXEC is probably declared in the missing header.

I also had a problem with "no rule to make link.txt" in boron-lib.dir but I (think I) resolved that by copying the link.txt from my normal (i.e. not scratchbox) build directory and changing the complier settings to match the link.txt in boron-bin.dir.

[edit] copypasta of console output:

/arm_linux/boron-0.1.8/port_thread.c:25:25: sys/eventfd.h: No such file or directory
/arm_linux/boron-0.1.8/port_thread.c: In function `_initThreadQueue':
/arm_linux/boron-0.1.8/port_thread.c:99: warning: implicit declaration of function `eventfd'
/arm_linux/boron-0.1.8/port_thread.c:99: error: `EFD_CLOEXEC' undeclared (first use in this function)
/arm_linux/boron-0.1.8/port_thread.c:99: error: (Each undeclared identifier is reported only once
/arm_linux/boron-0.1.8/port_thread.c:99: error: for each function it appears in.)
make[2]: *** [CMakeFiles/boron-lib.dir/port_thread.c.o] Error 1
make[1]: *** [CMakeFiles/boron-lib.dir/all] Error 2
make: *** [all] Error 2

Last edited by PhillipJ; 2010-10-21 at 02:01.