Problem compiling udev 146
# make make --no-print-directory all-recursive Making all in . CCLD extras/edd_id/edd_id extras/edd_id/edd_id.o: In function `main': edd_id.c:(.text+0x4ab): undefined reference to `openat' collect2: ld returned 1 exit status make[2]: *** [extras/edd_id/edd_id] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
you need openat functions in your libc, what libc you use?
Stephan
Am 02.11.2009 15:25, schrieb Pierre:
Quoted 17 lines
# make make --no-print-directory all-recursive Making all in . CCLD extras/edd_id/edd_id extras/edd_id/edd_id.o: In function `main': edd_id.c:(.text+0x4ab): undefined reference to `openat' collect2: ld returned 1 exit status make[2]: *** [extras/edd_id/edd_id] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2Signature · 4 lines
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
http://www.openelec.tvQuoted 1 line · Stephan Raue
you need openat functions in your libc, what libc you use?
glibc 2.2.5
seems a bit old yes.
what minimum version is required ?
Best regards,
Signature · 1 line
Pierre.
Am 02.11.2009 17:36, schrieb Pierre:
Quoted 9 lines
Quoted 1 line · Stephan Raue
you need openat functions in your libc, what libc you use?
glibc 2.2.5
seems a bit old yes.
what minimum version is required ?Best regards,
i think 2.8 but i dont know this exactly
good look :-)
Stephan
Signature · 3 lines
### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
http://www.openelec.tvQuoted 4 lines · Stephan Raue
Quoted 3 lines
glibc 2.2.5
seems a bit old yes.
what minimum version is required ?i think 2.8 but i dont know this exactly
At least 2.9 for working signalfd(2) on all kernels.
Signature · 2 lines
ciao, Marco
Quoted 8 lines · Marco d'Itri
Quoted 4 lines · Stephan Raue
Quoted 3 lines
glibc 2.2.5
seems a bit old yes.
what minimum version is required ?i think 2.8 but i dont know this exactly
At least 2.9 for working signalfd(2) on all kernels.
Didn't it choke on openat() not being in any header files? Or did you ("you" == "Pierre") ignore that warning? :-)
If you can't upgrade glibc, you might be able to get away with just upgrading the kernel (to get these syscalls' implementation), and hacking together a bunch of inline functions in your own headers (*at, signalfd4, inotify related stuff, and maybe one or two more) to make the syscall manually.
This is generally a bad idea, and is *not* recommended if you can upgrade glibc, but if it's the only way, it might work...
Quoted 11 lines · Stephan Raue
Am 02.11.2009 17:36, schrieb Pierre:
Quoted 9 lines
Quoted 1 line · Stephan Raue
you need openat functions in your libc, what libc you use?
glibc 2.2.5
seems a bit old yes.
what minimum version is required ?Best regards,
i think 2.8 but i dont know this exactly
Ok I finally managed to upgrade my glibc to version 2.10.
But I now have another problem :
# make make --no-print-directory all-recursive Making all in . CC extras/hid2hci/extras_hid2hci_hid2hci-hid2hci.o In file included from extras/hid2hci/hid2hci.c:31: /usr/include/linux/hiddev.h:40: error: parse error before "__u32" /usr/include/linux/hiddev.h:42: error: parse error before "devnum" /usr/include/linux/hiddev.h:43: error: parse error before "ifnum" /usr/include/linux/hiddev.h:44: error: parse error before "vendor" /usr/include/linux/hiddev.h:45: error: parse error before "product" /usr/include/linux/hiddev.h:46: error: parse error before "version" /usr/include/linux/hiddev.h:47: error: parse error before "num_applications" /usr/include/linux/hiddev.h:51: error: parse error before "__u32" [...]
Signature · 1 line
Pierre.