diff options
author | Ben LaHaise <bcrl@kvack.org> | 2002-09-12 20:19:36 +0000 |
---|---|---|
committer | Ben LaHaise <bcrl@kvack.org> | 2002-09-12 20:19:36 +0000 |
commit | 35b7bd5dd8a13859a1c32496a0ed77700612af71 (patch) | |
tree | 88790792b875c336ad1be1eba81233f3f73aef7c | |
parent | c7369692ac11bc59b5d94c24452b858e728fcabe (diff) | |
download | libaio-35b7bd5dd8a13859a1c32496a0ed77700612af71.tar.gz |
try to make an rpmlibaio.0-3-91.1
-rw-r--r-- | harness/main.c | 3 | ||||
-rw-r--r-- | libaio.spec | 4 | ||||
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/libaio.h | 1 |
4 files changed, 6 insertions, 4 deletions
diff --git a/harness/main.c b/harness/main.c index 44981f5..37398a4 100644 --- a/harness/main.c +++ b/harness/main.c @@ -13,7 +13,8 @@ #if defined(__i386__) #define KERNEL_RW_POINTER ((void *)0xc0010000) #else -#error Configure for arch. +#warning Not really sure where kernel memory is. Guessing. +#define KERNEL_RW_POINTER ((void *)0xffffffffc0010000) #endif diff --git a/libaio.spec b/libaio.spec index 29d73db..c31937d 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,5 +1,5 @@ Name: libaio -Version: 0.3.90 +Version: 0.3.91 Release: 1 Summary: Linux-native asynchronous I/O access library Copyright: LGPL @@ -7,7 +7,7 @@ Group: System Environment/Libraries Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-root # Fix ExclusiveArch as we implement this functionality on more architectures -ExclusiveArch: i386 +ExclusiveArch: i386 ia64 Requires: initscripts >= 6.47-1 %description diff --git a/src/Makefile b/src/Makefile index f5cfc4b..7969bad 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ prefix=/usr -CFLAGS=-nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 +CFLAGS=-fPIC -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 SO_CFLAGS=-shared $(CFLAGS) L_CFLAGS=$(CFLAGS) LINK_FLAGS= diff --git a/src/libaio.h b/src/libaio.h index aead882..e4f4190 100644 --- a/src/libaio.h +++ b/src/libaio.h @@ -104,6 +104,7 @@ struct io_event { #undef PADDED #undef PADDEDptr +#undef PADDEDul typedef void (*io_callback_t)(io_context_t ctx, struct iocb *iocb, long res, long res2); |