All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem compiling udev 146
@ 2009-11-02 14:25 Pierre
  2009-11-02 14:40 ` Stephan Raue
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Pierre @ 2009-11-02 14:25 UTC (permalink / raw)
  To: linux-hotplug

# 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem compiling udev 146
  2009-11-02 14:25 Problem compiling udev 146 Pierre
@ 2009-11-02 14:40 ` Stephan Raue
  2009-11-02 16:36 ` Pierre
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stephan Raue @ 2009-11-02 14:40 UTC (permalink / raw)
  To: linux-hotplug

you need openat functions in your libc, what libc you use?

Stephan

Am 02.11.2009 15:25, schrieb Pierre:
> # 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
>
> -- 
> To unsubscribe from this list: send the line "unsubscribe 
> linux-hotplug" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem compiling udev 146
  2009-11-02 14:25 Problem compiling udev 146 Pierre
  2009-11-02 14:40 ` Stephan Raue
@ 2009-11-02 16:36 ` Pierre
  2009-11-02 16:43 ` Stephan Raue
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Pierre @ 2009-11-02 16:36 UTC (permalink / raw)
  To: linux-hotplug

Stephan Raue wrote:
> 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,

-- 
Pierre.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem compiling udev 146
  2009-11-02 14:25 Problem compiling udev 146 Pierre
  2009-11-02 14:40 ` Stephan Raue
  2009-11-02 16:36 ` Pierre
@ 2009-11-02 16:43 ` Stephan Raue
  2009-11-02 16:57 ` Marco d'Itri
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stephan Raue @ 2009-11-02 16:43 UTC (permalink / raw)
  To: linux-hotplug

Am 02.11.2009 17:36, schrieb Pierre:
> Stephan Raue wrote:
>> 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

-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem compiling udev 146
  2009-11-02 14:25 Problem compiling udev 146 Pierre
                   ` (2 preceding siblings ...)
  2009-11-02 16:43 ` Stephan Raue
@ 2009-11-02 16:57 ` Marco d'Itri
  2009-11-02 17:34 ` Bryan Kadzban
  2009-11-03 13:30 ` Pierre
  5 siblings, 0 replies; 7+ messages in thread
From: Marco d'Itri @ 2009-11-02 16:57 UTC (permalink / raw)
  To: linux-hotplug

On Nov 02, Stephan Raue <mailinglists@openelec.tv> wrote:

>> 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.

-- 
ciao,
Marco

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem compiling udev 146
  2009-11-02 14:25 Problem compiling udev 146 Pierre
                   ` (3 preceding siblings ...)
  2009-11-02 16:57 ` Marco d'Itri
@ 2009-11-02 17:34 ` Bryan Kadzban
  2009-11-03 13:30 ` Pierre
  5 siblings, 0 replies; 7+ messages in thread
From: Bryan Kadzban @ 2009-11-02 17:34 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]

Marco d'Itri wrote:
> On Nov 02, Stephan Raue <mailinglists@openelec.tv> wrote:
> 
>>> 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...


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Problem compiling udev 146
  2009-11-02 14:25 Problem compiling udev 146 Pierre
                   ` (4 preceding siblings ...)
  2009-11-02 17:34 ` Bryan Kadzban
@ 2009-11-03 13:30 ` Pierre
  5 siblings, 0 replies; 7+ messages in thread
From: Pierre @ 2009-11-03 13:30 UTC (permalink / raw)
  To: linux-hotplug

Stephan Raue wrote:
> Am 02.11.2009 17:36, schrieb Pierre:
>> Stephan Raue wrote:
>>> 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"
[...]


-- 
Pierre.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-03 13:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-02 14:25 Problem compiling udev 146 Pierre
2009-11-02 14:40 ` Stephan Raue
2009-11-02 16:36 ` Pierre
2009-11-02 16:43 ` Stephan Raue
2009-11-02 16:57 ` Marco d'Itri
2009-11-02 17:34 ` Bryan Kadzban
2009-11-03 13:30 ` Pierre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.