On Tue, Dec 16, 2008 at 14:11, <mailinglists@xxxxxxxxxxx> wrote: > Zitat von Kay Sievers <kay.sievers@xxxxxxxx>: >> On Mon, Dec 15, 2008 at 17:40, <mailinglists@xxxxxxxxxxx> wrote: >> >>>> When i build connman svn from 15.12.2008 with for an uclibc based >>>> embedded system with installed udev-132 or udev-135 i became follow >>>> error: >>>> >>>> >>>> /home/stephan/OpenElec.new/build.i386.uClibc/toolchain/bin/i686-geexbox-linux-uclibc-gcc >>>> -DHAVE_CONFIG_H -I. -I.. -I../include >>>> -I/home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/include >>>> >>>> -I/home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/include/glib-2.0 >>>> -I/home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/lib/glib-2.0/include >>>> >>>> -I/home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/include/dbus-1.0 >>>> -I/home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/lib/dbus-1.0/include >>>> -I../gdbus -DSTATEDIR=\""/var/run/connman"\" >>>> -DSTORAGEDIR=\""/var/lib/connman\"" >>>> -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -Os -Wall -pipe >>>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mtune=generic -s >>>> -fomit-frame-pointer -MT udev.o -MD -MP -MF .deps/udev.Tpo -c -o udev.o >>>> udev.c >>>> In file included from udev.c:30: >>>> >>>> /home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/include/libudev.h:61: >>>> error: expected declaration specifiers or '...' before >>>> 'dev_t' >>>> >>>> /home/stephan/OpenElec.new/build.i386.uClibc/toolchain/i686-geexbox-linux-uclibc/sysroot/usr/include/libudev.h:77: >>>> error: expected '=', ',', ';', 'asm' or '__attribute__' before >>>> 'udev_device_get_devnum' >> >> Does adding: >> #include <sys/types.h> >> to >> .../sysroot/usr/include/libudev.h >> help? > > yes this help, thank you :-) > > can you add this in the next version? Done. Thanks, Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html