From: LAHAYE O. <oli...@ce...> - 2013-02-18 08:41:49
|
Hi, Unfortunately, under centos-6.3 it still fails with the following error: CC udev/udev-builtin-input_id.o udev/udev-builtin-input_id.c: In function ‘test_key’: udev/udev-builtin-input_id.c:165: erreur: ‘BTN_TRIGGER_HAPPY’ undeclared (first use in this function) udev/udev-builtin-input_id.c:165: erreur: (Each undeclared identifier is reported only once udev/udev-builtin-input_id.c:165: erreur: for each function it appears in.) The problem is that the file /usr/include/linux/input.h is too old (kernel-headers-2.6.32-279.19.1.el6.x86_64). there is no include for <uapi/linux/input.h> which contains the definition. How Can I force the compiler to find src/linux-3.7.5/include/linux/input.h before /usr/include/linux.h ??? -I seems not sufficient. Am I wrong? Olivier. -- Olivier LAHAYE CEA DRT/LIST/DCSI/DIR ________________________________________ De : Carl Richell [ca...@sy...] Date d'envoi : dimanche 17 février 2013 17:51 À : sis...@li... Objet : Re: [sisuite-users] udev Compile Fails - GitHub Master Branch I was able to solve this problem by backing udev to version 175 (the version in Ubuntu 12.04) modify src/initrd_source/make.d/udev.rul change "UDEV_VERSION = 182" to "UDEV_VERSION = 175" Cheers, Carl On 02/16/2013 04:23 PM, Carl Richell wrote: > Hi, and thanks in advance for any help you can provide. > > I'm attempting to compile SystemImager from the github master branch > (https://github.com/finley/SystemImager). Compilation fails at udev > with this error: > > /usr/bin/ld: cannot find > SystemImager-master/initrd_source/build_dir/lib: File format not > recognized > collect2: ld returned 1 exit status > make[3]: *** [udevadm] Error 1 > make[3]: *** Waiting for unfinished jobs.... > > "SystemImager-master" is the root folder. I'm compiling on Ubuntu > 12.04 Server. Any ideas? > > Thanks! > > > Carl ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ sisuite-users mailing list sis...@li... https://lists.sourceforge.net/lists/listinfo/sisuite-users |