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

From: Lars E. D. Jensen (lars_at_dangvard.dk)
Date: Sun 16 Jan 2005 - 14:27:47 GMT


Fredag den 14. januar 2005 18:45 skrev Lars E. D. Jensen:
> Hi list
>
> I've patched kernel 2.4.28 with vserver 1.29, and when compiling
> util-vserver 0.30 I get:
>
> checking for number of syscall 'vserver'... ./configure: kernel: command
> not found
> 273/default
>
> I've used util-vserver on that root server before and apparently didn't
> notice the error/warning/something when compiling...
>
> Tell the newbie what's up with that? :)

Ok, this is my full configure:

---cut---
dcmsh010904:/home/ledj/util-vserver-0.30# ./configure
--prefix=/var/util-vserver --with-vrootdir=/var/vservers
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether the C-compiler accepts -Werror -W... yes
checking whether gcc accepts -std=c99... no
checking whether gcc accepts -Wall... yes
checking whether gcc accepts -pedantic... yes
checking whether gcc accepts -W... yes
checking whether gcc accepts -Wno-unused-parameter... no
checking whether the C++-compiler accepts -Werror -W... yes
checking whether g++ accepts -ansi... yes
checking whether g++ accepts -Wall... yes
checking whether g++ accepts -pedantic... yes
checking whether g++ accepts -W... yes
checking whether g++ accepts -fmessage-length=0... no
checking for linux kernel dir... /lib/modules/2.4.28-vs1.29/build
checking for linux kernel headers... /lib/modules/2.4.28-vs1.29/build/include
checking which vserver-rootdir is to use... /var/vservers
checking for cvs2cl... no
checking for rcs2log... no
checking whether to enable linuxconf modules... no
checking whether to use internal kernel headers... yes
checking for supported APIs... legacy,compat,v11
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for number of syscall 'vserver'... ./configure: kernel: command not
found
273/default
checking for syscall(2) invocation method... auto
checking which syscall(2) invocation works... fast
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ext2fs-headers... e2fsprogs
checking ext2fs/ext2_fs.h usability... yes
checking ext2fs/ext2_fs.h presence... yes
checking for ext2fs/ext2_fs.h... yes
checking for vserver... no
checking whether MS_MOVE is declared... yes
checking for xid_t... no
configure: creating ./config.status
config.status: creating util-vserver.spec
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
---cut---

Something tells me it's not good to ignore the above while I get these
warnings among many others during "make":

---cut---
src/vkill.c:68: warning: ANSI does not permit the keyword `inline'
src/vkill.c:117: warning: ANSI does not permit the keyword `inline'
src/vkill.c: In function `kill_wrapper_legacy':
src/vkill.c:118: warning: unused parameter `ctx'
src/vkill.c:118: warning: unused parameter `sig'
src/vkill.c: In function `main':
src/vkill.c:173: warning: ANSI C forbids specifying structure member to
initialize
src/vkill.c:174: warning: ANSI C forbids specifying structure member to
initialize
gcc -Wall -pedantic -g -O2 -Wall -pedantic -W -o src/vkill
src/src_vkill-vkill.o lib/libvserver.a
source='src/vserver-stat.c' object='src/vserver-stat.o' libtool=no \
depfile='src/.deps/vserver-stat.Po' tmpdepfile='src/.deps/vserver-stat.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I ./lib -D VERSION=\"0.30\" -D
PKGLIBDIR=\"/var/util-vserver/lib/util-vserver\" -D _GNU_SOURCE -Wall
-pedantic -g -O2 -Wall -pedantic -W -c -o src/vserver-stat.o `test -f
'src/vserver-stat.c' || echo './'`src/vserver-stat.c
src/vserver-stat.c: In function `convert_time':
src/vserver-stat.c:333: warning: `.' not followed by `*' or digit in format
src/vserver-stat.c:338: warning: `.' not followed by `*' or digit in format
src/vserver-stat.c:341: warning: `.' not followed by `*' or digit in format
---cut---

Is it my compiler that is the reason?

Thanks.

-- 
Med venlig hilsen / Best regards

Lars E. D. Jensen lars_at_dangvard.dk _______________________________________________ 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 16 Jan 2005 - 14:25:05 GMT by hypermail 2.1.3