Latest 2001/09/21 -current breaks buildkernel at /usr/src/sys/compat/svr4/svr4_resource.c

2001-09-21 Thread Aloha Guy
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/compat/svr4/svr4_resource.c/usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit':/usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_FILE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c:143: (Each undeclared identifier is reported only once/usr/src/sys/compat/svr4/svr4_resource.c:143: for each function it appears in.)/usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_LINE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit':/usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_FILE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_LINE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit64':/usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_FILE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_LINE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit64':/usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_FILE' undeclared (first use in this function)/usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_LINE' undeclared (first use in this function)*** Error code 1
Stop in /usr/obj/usr/src/sys/VECTOR.*** Error code 1
Stop in /usr/src.*** Error code 1
Stop in /usr/src.
Regards,
JoeDo You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.

RE: Latest 2001/09/21 -current breaks buildkernel at /usr/src/sys/compat/svr4/svr4_resource.c

2001-09-21 Thread Aloha Guy
John Baldwin [EMAIL PROTECTED] wrote: 
On 21-Sep-01 Aloha Guy wrote: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ip filter -I/usr/src/sys/../include -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2 /usr/src/sys/compat/svr4/svr4_resource.c /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit': /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_FILE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c:143: (Each undeclared identifier is reported only once /usr/src/sys/compat/svr4/svr4_resource.c:143: for each function it appears in.) /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_LINE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit': /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_FILE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_LINE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit64': /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_FILE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_LINE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit64': /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_FILE' undeclared (first use in this function) /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_LINE' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/VECTOR. *** Error code 1 Stop in /usr/src. *** Error code 1  Stop in /usr/src.  Regards,  JoeHmm, can you build the svr4 module by itself from /sys/modules/svr4?
Yes, I can.
cd /sys/modules/svr4/
make cleanrm -f svr4_assym.h svr4_genassym.o setdef0.c setdef1.c setdefs.h setdef0.o setdef1.o svr4.ko svr4.ko svr4.kld svr4_locore.o svr4_sysent.o svr4_sysvec.o imgact_svr4.o svr4_signal.o svr4_fcntl.o svr4_misc.o svr4_ioctl.o svr4_stat.o svr4_filio.o svr4_ttold.o svr4_termios.o svr4_stream.o svr4_socket.o svr4_sockio.o svr4_machdep.o svr4_resource.o svr4_ipc.o @ machine symb.tmp tmp.o opt_compat.h opt_svr4.h opt_vmpage.h vnode_if.h
make depend@ - /usr/src/sysmachine - /usr/src/sys/i386/includeecho "#define COMPAT_43 1"  opt_compat.htouch opt_svr4.htouch opt_vmpage.hperl @/kern/vnode_if.pl -h @/kern/vnode_if.srcrm -f .dependmkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include -I/usr/include /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sysent.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sysvec.c /usr/src/sys/modules/svr4/../../compat/svr4/imgact_svr4.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_signal.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_fcntl.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_misc.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ioctl.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_filio.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ttold.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_termios.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stream.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_socket.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sockio.c /usr/src/sys/modules/svr4/../../i386/svr4/svr4_machdep.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_resource.c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ipc.c
make
Warning: Object directory not changed from original /usr/src/sys/modules/svr4cc -c -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi /usr/src/sys/modules/svr4/../../i386/svr4/svr4_genassym.csh @/kern/genassym.sh svr4_genassym.o  svr4_assym.hcc -c -x assembler-with-cpp -DLOCORE -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/dev -I@/../include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi /usr/src/sys/modules/svr4/../../i386/svr4/svr4_locore.s -o svr4_locore.occ -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE

Problem with 20010716 -current

2001-07-18 Thread Aloha Guy

Greetings all:

I was originally running 20010618 -CURRENT and all
worked well.  So I went and cvsup to the latest 
-CURRENT on 20010716 and I did a make buildworld,
this process died with something about include.h so I
continued with just make in /usr/src and it finished 
so I went to make buildkernel and then make
installkernel and then I did the make installworld.
Everything was still working and then after rebooting,
this is what happens...

telnetd, sshd would core dump... only
/usr/local/sbin/sshd would work and everything else as
well... But after a hour or so, the system
wouldn't allow any new processes at all.  All inetd
processes would open and close immediately while on
the shell, anything I type would return:
no more processes

Does anyone know what I did wrong and how I can fix
this?  Would cvsup to a newer tree and doing a make
buildworld again fix things or should I do the
buildworld, buildkernel, installkernel, installworld
all in single user mode?  Thanks.

AlohaGuy

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message