cross compiling for mips using uClibc

asked 2015-01-13 14:44:45 -0700

LHayes gravatar image

updated 2015-01-13 14:45:26 -0700

Anybody attempt to cross compile against uClibc?

I hit the error that sys/eventfd.h is not found.

Not sure if uClibc supports it, google searching now.

Is it safe to force it to use the MECHANISM_PIPE instead?

If so, is it as simple as adding the define to the TARGET_CFLAGS?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-14 13:00:05 -0700

stevek gravatar image

eventfd has been a part of the Linux kernel for several years now. The uCLibc project should be updated to support eventfd. That said, you should be able to use MECHANISM_PIPE, but it probably has not been tested for a while. Note that using MECHANISM_PIPE will nearly double the number of file descriptors used by AllJoyn. It looks like adding it to TARGET_CFLAGS for the "openwrt" platform should work.

edit flag offensive delete publish link more


Thanks, I used the pipe mechanism and the AboutService/AboutClient samples worked.

LHayes ( 2015-01-14 13:06:03 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-13 14:44:45 -0700

Seen: 185 times

Last updated: Jan 14 '15