Hello,
On So, Mär 22, 2009 at 10:17:41 +0900, Junichi Uekawa wrote:
> > I think the qemubuilder should build with this marcos
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 (getconf LFS_CFLAGS).
>
> Can you verify and send me a patch ?
diff -ru cowdancer-0.50.orig/Makefile cowdancer-0.50/Makefile
--- cowdancer-0.50.orig/Makefile 2009-02-21 06:05:56.000000000 +0100
+++ cowdancer-0.50/Makefile 2009-03-22 14:31:48.000000000 +0100
@@ -50,7 +50,7 @@
$(CC) -D_REENTRANT -fPIC $< -o $@ -c -Wall -O2 -g
%.o: %.c parameter.h
- $(CC) $< -o $@ -c -Wall -O2 -g -fno-strict-aliasing -D
LIBDIR="\"${LIBDIR}\""
+ $(CC) $< -o $@ -c -Wall -O2 -g -fno-strict-aliasing `getconf
LFS_CFLAGS` -D LIBDIR="\"${LIBDIR}\""
clean:
-rm -f *~ *.o *.lo $(BINARY)
With this patch the
$ sudo qemubuilder --create
works and creates the base.qemu.
$ objdump -d cowdancer-0.50.orig/qemubuilder |grep '<*...@plt>'
$ objdump -d cowdancer-0.50/qemubuilder |grep '<*...@plt>'
08048e2c <crea...@plt>:
08048e4c <ope...@plt>:
08048eec <fope...@plt>:
080491cc <lsee...@plt>:
80494ba: e8 2d fa ff ff call 8048eec <fope...@plt>
804a14e: e8 99 ed ff ff call 8048eec <fope...@plt>
804c269: e8 be cb ff ff call 8048e2c <crea...@plt>
804c294: e8 33 cf ff ff call 80491cc <lsee...@plt>
804c2e5: e8 e2 ce ff ff call 80491cc <lsee...@plt>
804c32a: e8 9d ce ff ff call 80491cc <lsee...@plt>
804c41e: e8 29 ca ff ff call 8048e4c <ope...@plt>
804c43c: e8 eb c9 ff ff call 8048e2c <crea...@plt>
greets
Michael
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]