Subject: Re: linux compat kernel version (was: CVS commit: syssrc/sys/compat/linux)
To: None <tech-kern@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-kern
Date: 02/16/2002 20:19:33
--cmJC7u66zC7hs+87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 16, 2002 at 09:49:13AM -0500, Christos Zoulas wrote:
>=20
> Post the error output and I'll fix it.
>=20
sorry, forgot to show it:

/usr/local/src/src/../ta/bin/m68k--netbsdelf-gcc -O2 -ffreestanding  -Wall =
-Wstr
ict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized  -We=
rror=20
 -Demul_find=3Dlinux_emul_find                             -Dstackgap_init=
=3Dlinux_s
tackgap_init                     -Demul_flags_translate=3Dlinux_emul_flags_=
transla
te       -Dstackgap_alloc=3Dlinux_stackgap_alloc                   -Dcompat=
_offset
err=3Dlinux_compat_offseterr -DNWSDISPLAY=3D1 -DSYSVSEM -DSYSVMSG -DSYSVSHM=
 -DCOMPAT
_LINUX -nostdinc -DKTRACE -DNSEQUENCER=3D1 -DINET6 -nostdinc -I. -I/usr/loc=
al/src/
src/sys/lkm/compat/linux -isystem /usr/local/src/src/sys -isystem /usr/loca=
l/src
/src/sys/arch -D_KERNEL -D_LKM  -c /usr/local/src/src/sys/compat/linux/comm=
on/li
nux_misc.c
cc1: warnings being treated as errors
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1488: warning: func=
tion=20
declaration isn't a prototype
/usr/local/src/src/sys/compat/linux/common/linux_misc.c: In function `linux=
_sys_
getrlimit':
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1502: dereferencing=
 poin
ter to incomplete type
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1511: dereferencing=
 poin
ter to incomplete type
/usr/local/src/src/sys/compat/linux/common/linux_misc.c: At top level:
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1516: warning: func=
tion=20
declaration isn't a prototype
/usr/local/src/src/sys/compat/linux/common/linux_misc.c: In function `linux=
_sys_
setrlimit':
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1530: dereferencing=
 poin
ter to incomplete type
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1534: dereferencing=
 poin
ter to incomplete type
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1537: dereferencing=
 poin
ter to incomplete type
/usr/local/src/src/sys/compat/linux/common/linux_misc.c: At top level:
/usr/local/src/src/sys/compat/linux/common/linux_misc.c:1544: warning: func=
tion=20
declaration isn't a prototype
*** Error code 1

Stop.
nbmake: stopped in /usr/local/src/src/sys/lkm/compat/linux
*** Error code 1



that is:

/*      $NetBSD: linux_misc.c,v 1.97 2002/02/15 16:48:02 christos Exp $ */

1487 is linux_sys_getrlimit(p, v, retval)=20
1488 is		struct proc *p;

1515 is linux_sys_setrlimit(p, v, retval)=20
1516 is         struct proc *p;

1543 is linux_sys_ugetrlimit(p, v, retval)
1544 is         struct proc *p;

Regards,
	Ignatios



--cmJC7u66zC7hs+87
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8brDFPCRcZ/VMtk4RAmXkAJ9n86LT40EagbnPd7WHnJDRxb/PcACfQONV
fCm9lw6P148WpV3q8UgHLxU=
=sWXZ
-----END PGP SIGNATURE-----

--cmJC7u66zC7hs+87--