Summary: Applying 5.1 patches

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Thu, 04 Jan 2001 15:24:45 +0100

The original posting was :

> Hello Managers,
>
> After applying the 5.1 patches, the kernel rebuild failed :
>
> *** WARNING ***
> An error has occurred during system configuration. A partial listing
> of the error log file (/sys/SUPELEC/errs) follows:
>
> cc: Error: ../conf/param.c, line 396: In the initializer for vm_tune.
> vt_vm_ffl,"MAXWIRE" is not declared. (undeclared)
> MAXWIRE, /* Maximum wired memory */
> ----------------^
> cc: Error: ../conf/param.c, line 397: In the initializer for vm_tune.
> vt_vm_syncswapbuffers, "HEAPPERCENT" is not declared. (undeclared)
> HEAPPERCENT, /* Percent of memory for heap */
> ----------------^
> cc: Error: ../conf/param.c, line 398: In the initializer for vm_tune.
> vt_vm_asyncswapbuffers, "ANONKLSHIFT" is not declared. (undeclared)
> ANONKLSHIFT, /* 128K anon page shift */
> ----------------^
> cc: Error: ../conf/param.c, line 399: In the initializer for vm_tune.
> vt_vm_csubmapsize, "ANONKLPAGES" is not declared. (undeclared)
> ANONKLPAGES, /* Use system default anon_klpages
> */
> ----------------^
> cc: Error: ../conf/param.c, line 412: In the initializer for vm_tune.
> vt_vm_free_target, "ZONE_SIZE" is not declared. (undeclared)
> ZONE_SIZE, /* zone_map size */
> ----------------^
> cc: Error: ../conf/param.c, line 413: In the initializer for vm_tune.
> vt_vm_free_optimal, "KENTRY_ZONE_SIZE" is not declared. (undeclared)
> KENTRY_ZONE_SIZE, /* kentry_map size */
> ----------------^
> *** Exit 1
> Stop.
>
> I've tried to restart from the genvmunix kernel to generate a new config
> file but it's still impossible to rebuild the kernel.
> As I read in the documentation it could be some layered product but which
> one ?
>
> Thank you
>
> Daniel

Thank you to Richard Jackson <rjackson_at_portal.gmu.edu>
and "Dr. Thomas.Blinn_at_Compaq.com" <tpb_at_doctor.zk3.dec.com>

The error is happening in the compilation of the file /sys/conf/param.c
(which is really in /usr/sys/conf/param.c). Either that file is left
over from an old install, or there is a bad header file.

Completely remove the target kernel build directory; for example, if
your system is named SUPELEC , then

        # rm -rf /usr/sys/SUPELEC

and then retry the kernel build. It will probably work.

---------------------------
I've replaced param.c by the .new..param.c and removed the directory.

Now it's working.

Thanks

Daneil
Received on Thu Jan 04 2001 - 14:25:03 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT