From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97861826222750.tru64-unix-managers.marc@archive.invalid> From: Daniel Clar Date: Thu, 04 Jan 2001 14:24:45 +0000 To: tru64-unix-managers Subject: Summary: Applying 5.1 patches X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97861826222750 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 and "Dr. Thomas.Blinn@Compaq.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