search for: 40ab299

Displaying 1 result from an estimated 1 matches for "40ab299".

Did you mean: 40299
2006 Feb 19
0
[patch] openat build with older !openat linux tree
.../arch/i386/openat.S:19: undefined reference to `__NR_openat' make[3]: *** [klibc/libc.so] Error 1 belows allows to build against a tree based on 2.6.15 Signed-off-by: maximilian attems <maks@sternwelten.at> diff --git a/klibc/arch/i386/openat.S b/klibc/arch/i386/openat.S index 3955eae..40ab299 100644 --- a/klibc/arch/i386/openat.S +++ b/klibc/arch/i386/openat.S @@ -6,6 +6,7 @@ * and the need for O_LARGEFILE. */ +#ifdef __NR_openat #include <asm/unistd.h> /* <asm/fcntl.h>, despite the name, isn't assembly-safe */ @@ -20,3 +21,4 @@ openat: jmp __syscall_varadic...