lkml.org 
[lkml]   [2001]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] devfsd, compiling on glibc22x
David Ford wrote:
>
> This patch is simple, defines RTLD_NEXT if not previously defined.
>
> --- devfsd.c.orig Sat Jan 27 18:14:19 2001
> +++ devfsd.c Sat Jan 27 18:15:46 2001
> @@ -165,6 +165,7 @@
> Last updated by Richard Gooch 3-JUL-2000: Added "-C
> /etc/modules.devfs"
> when calling modprobe(8). Fail if a configuration line has EXECUTE
> modprobe.
>
> + Updated by David Ford 27-JAN-2001: Added RTLD_NEXT define
>
> */
> #include <unistd.h>
> @@ -221,6 +222,10 @@
> #define AC_MKNEWCOMPAT 8
> #define AC_RMOLDCOMPAT 9
> #define AC_RMNEWCOMPAT 10
> +
> +#ifndef RTLD_NEXT
> +# define RTLD_NEXT ((void *) -1l)
> +#endif
>
> struct permissions_type
> {


for me :
make CFLAGS='-O2 -I. -D_GNU_SOURCE'
compiles without any patch. is it correct ?

--
------------------------------------------------
Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.072 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site