About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 10 Apr 2005 - 23:35:47 BST


On Mon, Apr 11, 2005 at 12:05:48AM +0200, Georges Toth wrote:
> kernel: 2.6.11.6
> patch: 1.9.5
> util-vserver: 0.30.205
> using: dietlibc-0.28
>
>
> Any idea ?

yup .. get a new dietlibc, the right compiler and
fixed tools, it should work then ;)

http://vserver.13thfloor.at/Stuff/X86_64/
(those are for fc3 but should work fine with other)

> compile-output:
>
> In file included from ./ensc_wrappers/wrappers.h:55,
> from src/save_ctxinfo.c:41:
> ./ensc_wrappers/wrappers-unistd.hc: In function `Etruncate':
> ./ensc_wrappers/wrappers-unistd.hc:213: warning: implicit declaration of
> function `truncate64'
> ./ensc_wrappers/wrappers-unistd.hc: In function `Eftruncate':
> ./ensc_wrappers/wrappers-unistd.hc:219: warning: implicit declaration of
> function `ftruncate64'
> /bin/sh ./libtool --tag=CC --mode=link diet gcc -g -O2 -std=c99 -Wall
> -pedantic -W -o src/save_ctxinfo -static src/save_ctxinfo.o
> lib/libvserver.a
> diet gcc -g -O2 -std=c99 -Wall -pedantic -W -o src/save_ctxinfo
> src/save_ctxinfo.o lib/libvserver.a
> depbase=`echo src/secure-mount.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
> if diet gcc -DHAVE_CONFIG_H -I. -I. -I. -I ./lib -I ./ensc_wrappers
> -D_GNU_SOURCE -D_REENTRANT -g -O2 -std=c99 -Wall -pedantic -W -MT
> src/secure-mount.o -MD -MP -MF "$depbase.Tpo" -c -o src/secure-mount.o
> src/secure-mount.c; \
> then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
> In file included from /usr/include/asm/pda.h:3,
> from /usr/include/asm/../asm-x86_64/current.h:7,
> from /usr/include/asm/current.h:7,
> from /usr/include/asm/../asm-x86_64/processor.h:18,
> from /usr/include/asm/processor.h:7,
> from /usr/include/linux/prefetch.h:15,
> from /usr/include/linux/list.h:5,
> from /usr/include/linux/wait.h:12,
> from /usr/include/linux/fs.h:12,
> from src/secure-mount.c:49:
> /usr/include/asm/../asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT'
> undeclared here (not in a function)
> /usr/include/asm/../asm-x86_64/pda.h:26: error: requested alignment is not a
> constant
> In file included from /usr/include/asm/processor.h:7,
> from /usr/include/linux/prefetch.h:15,
> from /usr/include/linux/list.h:5,
> from /usr/include/linux/wait.h:12,
> from /usr/include/linux/fs.h:12,
> from src/secure-mount.c:49:
> /usr/include/asm/../asm-x86_64/processor.h:65: error: requested alignment is
> not a constant
> /usr/include/asm/../asm-x86_64/processor.h:228: error: requested alignment is
> not a constant
> In file included from ./ensc_wrappers/wrappers.h:55,
> from src/secure-mount.c:58:
> ./ensc_wrappers/wrappers-unistd.hc: In function `Etruncate':
> ./ensc_wrappers/wrappers-unistd.hc:213: warning: implicit declaration of
> function `truncate64'
> ./ensc_wrappers/wrappers-unistd.hc: In function `Eftruncate':
> ./ensc_wrappers/wrappers-unistd.hc:219: warning: implicit declaration of
> function `ftruncate64'
> make[2]: *** [src/secure-mount.o] Error 1
> make[2]: Leaving directory `/work/downloads/util-vserver-0.30.205'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/work/downloads/util-vserver-0.30.205'
> make: *** [all] Error 2

btw, looks like broken glibc/kernel headers to me ...

HTH,
Herbert

> --
>
> regards,
> Georges Toth
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 10 Apr 2005 - 23:36:06 BST by hypermail 2.1.3