Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 15:16:26 -0700 (PDT)
From:      Aloha Guy <alohaguy123@yahoo.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        julian@FreeBSD.org, current@FreeBSD.org
Subject:   RE: Latest 2001/09/21 -current breaks buildkernel at /usr/src/sys/compat/svr4/svr4_resource.c
Message-ID:  <20010921221626.40857.qmail@web14701.mail.yahoo.com>
In-Reply-To: <XFMail.010921145400.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0-1687683348-1001110586=:37872
Content-Type: text/plain; charset=us-ascii


John Baldwin <jhb@FreeBSD.org> 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,
>> 
>> Joe

Hmm, can you build the svr4 module by itself from /sys/modules/svr4?

Yes, I can.

cd /sys/modules/svr4/


make clean
rm -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/sys
machine -> /usr/src/sys/i386/include
echo "#define COMPAT_43 1" > opt_compat.h
touch opt_svr4.h
touch opt_vmpage.h
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
rm -f .depend
mkdep -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/svr4
cc -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.c
sh @/kern/genassym.sh svr4_genassym.o > svr4_assym.h
cc -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.o
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sysent.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sysvec.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/imgact_svr4.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_signal.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_fcntl.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_misc.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ioctl.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_filio.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ttold.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_termios.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stream.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_socket.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sockio.c
cc -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 -c /usr/src/sys/modules/svr4/../../i386/svr4/svr4_machdep.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_resource.c
cc -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 -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ipc.c
ld  -r -o 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
ld -Bshareable  -o svr4.ko svr4.kld

> cd /sys/modules/svr4/
> make svr4_resource.o
> @ -> /usr/src/sys
> machine -> /usr/src/sys/i386/include
> echo "#define COMPAT_43 1" > opt_compat.h
> touch opt_svr4.h
> touch opt_vmpage.h
> perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
> cc -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 -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_resource.c

> Do you have COMPAT_SVR4 in your kernel?


Yes, I do.  The buildkernel worked fine until sometime last weekend when a lot of kernel commits were done.  This is what I have.

options         COMPAT_SVR4
options         DEBUG_SVR4
device          streams         # STREAMS network driver (required for svr4).

Thanks,

Joe



---------------------------------
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
--0-1687683348-1001110586=:37872
Content-Type: text/html; charset=us-ascii

<P><B><I>John Baldwin &lt;jhb@FreeBSD.org&gt;</I></B> wrote: </P>
<P>On 21-Sep-01 Aloha Guy wrote:<BR><BR>&gt;&gt; cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes <BR>&gt;&gt; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual <BR>&gt;&gt; -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys<BR>&gt;&gt; -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ip<BR>&gt;&gt; filter -I/usr/src/sys/../include -D_KERNEL -include opt_global.h -elf <BR>&gt;&gt; -mpreferred-stack-boundary=2 /usr/src/sys/compat/svr4/svr4_resource.c<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit':<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_FILE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:143: (Each undeclared identifier is<BR>&gt;&gt; reported only once<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:143: for each function it appears<BR>&gt;&gt; in.)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:143: `LOCK_LINE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit':<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_FILE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:191: `LOCK_LINE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_getrlimit64':<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_FILE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:241: `LOCK_LINE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c: In function `svr4_sys_setrlimit64':<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_FILE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; /usr/src/sys/compat/svr4/svr4_resource.c:289: `LOCK_LINE' undeclared (first<BR>&gt;&gt; use in this function)<BR>&gt;&gt; *** Error code 1<BR>&gt;&gt; <BR>&gt;&gt;Stop in /usr/obj/usr/src/sys/VECTOR.<BR>&gt;&gt; *** Error code 1<BR>&gt;&gt;<BR>&gt;&gt; Stop in /usr/src.<BR>&gt;&gt; *** Error code 1<BR>&gt;&gt; <BR>&gt;&gt; Stop in /usr/src.<BR>&gt;&gt; <BR>&gt;&gt; Regards,<BR>&gt;&gt; <BR>&gt;&gt; Joe<BR><BR>Hmm, can you build the svr4 module by itself from /sys/modules/svr4?</P>
<P>Yes, I can.</P>
<P>cd /sys/modules/svr4/<BR></P>
<P>make clean<BR>rm -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<BR></P>
<P>make depend<BR>@ -&gt; /usr/src/sys<BR>machine -&gt; /usr/src/sys/i386/include<BR>echo "#define COMPAT_43 1" &gt; opt_compat.h<BR>touch opt_svr4.h<BR>touch opt_vmpage.h<BR>perl @/kern/vnode_if.pl -h @/kern/vnode_if.src<BR>rm -f .depend<BR>mkdep -f .depend -a&nbsp;&nbsp; -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A> -I/usr/include&nbsp; /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<BR></P>
<P>make</P>
<P>Warning: Object directory not changed from original /usr/src/sys/modules/svr4<BR>cc -c -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi /usr/src/sys/modules/svr4/../../i386/svr4/svr4_genassym.c<BR>sh @/kern/genassym.sh svr4_genassym.o &gt; svr4_assym.h<BR>cc -c -x assembler-with-cpp -DLOCORE -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi&nbsp; /usr/src/sys/modules/svr4/../../i386/svr4/svr4_locore.s -o svr4_locore.o<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sysent.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sysvec.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/imgact_svr4.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_signal.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_fcntl.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_misc.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ioctl.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_filio.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ttold.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_termios.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stream.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_socket.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_sockio.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../i386/svr4/svr4_machdep.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_resource.c<BR>cc -O -pipe&nbsp;&nbsp; -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-&nbsp;&nbsp; -I. -I@ <A>-I@/dev</A> <A>-I@/../include</A>&nbsp; -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes&nbsp; -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual&nbsp; -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_ipc.c<BR>ld&nbsp; -r -o 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<BR>ld -Bshareable&nbsp; -o svr4.ko svr4.kld</P>
<P>&gt; cd /sys/modules/svr4/<BR>&gt; make svr4_resource.o<BR>&gt; @ -&gt; /usr/src/sys<BR>&gt; machine -&gt; /usr/src/sys/i386/include<BR>&gt; echo "#define COMPAT_43 1" &gt; opt_compat.h<BR>&gt; touch opt_svr4.h<BR>&gt; touch opt_vmpage.h<BR>&gt; perl @/kern/vnode_if.pl -h @/kern/vnode_if.src<BR>&gt; cc -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@ <A>-I@/dev</A> &nbsp;<A>-I@/../include</A> -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/svr4/../../compat/svr4/svr4_resource.c<BR><BR>&gt; Do you have COMPAT_SVR4 in your kernel?<BR></P>
<P>Yes, I do.&nbsp; The buildkernel worked fine until sometime last weekend when a lot of kernel commits were done.&nbsp; This is what I have.</P>
<P>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMPAT_SVR4<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEBUG_SVR4<BR>device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; streams&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # STREAMS network driver (required for svr4).</P>
<P>Thanks,</P>
<P>Joe</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
Get email alerts & NEW webcam video instant messaging with <a
href="http://rd.yahoo.com/mail_us/tag/?http://im.yahoo.com/">Yahoo! Messenger</a>.
--0-1687683348-1001110586=:37872--

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




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