noy38 wrote: > Hi every body > > I'm a newbe on ptxdist. > > I try to build an image with the 2.6.33 kernel with udev-150. > I'm using the latest crosscompil toolchain OSELAS.Toolchain-1.99.3 > > but i can't compile udev-150... > i have the message below
Strange, works here, can you please send the output of: find /opt/OSELAS.Toolchain-1.99.3 -name "signalfd.h" > > -------------------- > target: udev.compile > -------------------- > > make[1]: Entering directory > `/home/.../daniela_ptx/platform-Daniela/build-target/udev-150' > make --no-print-directory all-recursive > Making all in . > CCLD udev/udevadm > CC udev/udevd.o > udev/udevd.c:37:26: error: sys/signalfd.h: No such file or directory > udev/udevd.c: In function 'main': > udev/udevd.c:917: warning: implicit declaration of function 'signalfd' > udev/udevd.c:1055: error: storage size of 'fdsi' isn't known > udev/udevd.c:1058: error: invalid application of 'sizeof' to incomplete type > 'struct signalfd_siginfo' > udev/udevd.c:1059: error: invalid application of 'sizeof' to incomplete type > 'struct signalfd_siginfo' > udev/udevd.c:1055: warning: unused variable 'fdsi' > make[3]: *** [udev/udevd.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > udev/udev-node.o: In function `udev_node_mknod': > udev-node.c:(.text+0x1ba): undefined reference to `utimensat' > udev/udev-node.o: In function `node_symlink': > udev-node.c:(.text+0xb36): undefined reference to `utimensat' > collect2: ld returned 1 exit status > make[3]: *** [udev/udevadm] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/.../daniela_ptx/platform-Daniela/build-target/udev-150' > make: *** > [/home/.../daniela_ptx/platform-Daniela/state/udev.compile] > Error 2 > > I don't understant what is missing to access the sys/signalfd.h header? > > have I forgoten a lib, ... Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | find /opt/OSELAS.Toolchain-1.99.3 -name "signalfd.h" /opt/OSELAS.Toolchain-1.99.3/i586-unknown-linux-gnu /gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized /sysroot-i586-unknown-linux-gnu/usr/include/sys/signalfd.h /opt/OSELAS.Toolchain-1.99.3/i586-unknown-linux-gnu /gcc-4.3.2-glibc-2.8-binutils-2.18-kernel-2.6.27-sanitized /sysroot-i586-unknown-linux-gnu/usr/include/linux/signalfd.h -- ptxdist mailing list [email protected]
