udev-090 includes stropts.h which is provided only by glibc. On embedded hosts that use the GNU uClibc stropts.h does not exist. Commenting out the #include <stropts.h> on line 29 of udev_devices.c allows it to compile properly with it only bitching about implicit declaration of function `ioctl'. (probably the reason stropts.h was included in the first place) Replacing the stropts with sys/ioctl allows it to compile and link correctly. --- udev_device.c 2006-04-26 11:14:52 +0000 +++ udev_device.c 2006-04-26 11:15:06 +0000 @@ -26,7 +26,7 @@ #include <fcntl.h> #include <errno.h> #include <ctype.h> -#include <stropts.h> +#include <sys/ioctl.h> #include <net/if.h> #include <linux/sockios.h> udev-089-r2 did not suffer from this problem.
Kay, any objections to this change?
No, I will change that for the next release.
*** Bug 135433 has been marked as a duplicate of this bug. ***
stropts is portable code: http://www.opengroup.org/onlinepubs/009695399/basedefs/stropts.h.html uClibc just doesnt have it implemented yet
Fixed in latest version of udev.