Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 13:13:33 -0700 (PDT)
From:      Bhishan Hemrajani <bhishan@fusion.unixfreak.org>
To:        freebsd-questions@freebsd.org
Subject:   kernel compile w/new patch
Message-ID:  <200005272013.e4RKDXp27843@fusion.unixfreak.org>

next in thread | raw e-mail | index | archive | help
I just patched my system (3.4-RELEASE) using the instructions in the
email. This patch was for the DoS attack which allowed users to not
let any processes to exit.

What I did was cvsup'ed my system to 3.4-STABLE (I didn't have the source
yet) and the patch gave me the error that everything was already patched.
So, I went to the next step and built ipcs.

So, this is what I basically did.

# cd /usr
# cvsup stable-supfile
# cd src/usr.bin/ipcs
# make all install
# cd /sys/i386/conf/
# /usr/sbin/config -R MYKERNEL
# cd ../../compile/MYKERNEL
# make depend
# make

When I do make, this is the error I get:
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -DVM_STACK -include opt_global.h -elf  ../../kern/init_sysent.c
In file included from ../../kern/init_sysent.c:12:
../../sys/sysent.h:72: warning: `struct vnode' declared inside parameter list
../../sys/sysent.h:72: warning: its scope is only this definition or declaration,
../../sys/sysent.h:72: warning: which is probably not what you want.
../../kern/init_sysent.c:246: `semconfig' undeclared here (not in a function)
../../kern/init_sysent.c:246: initializer element for `sysent[223].sy_call' is not constant
*** Error code 1

Stop.


I get the exact same error when I try to compile GENERIC, so I know that
it's not the way I configured the kernel.

Before doing this, the kernel compiled without an error.

Please help.

	--bhishan

--
Bhishan Hemrajani / bhishan@fusion.unixfreak.org / PGP: 0xFAC75561
Finger bhishan@fusion.unixfreak.org for more information.

This is a free country. You have a right to send me email, and I have
a right not to read them!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005272013.e4RKDXp27843>