tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Daniel Clar <Daniel.Clar () supelec ! fr>
To: tru64-unix-managers
Subject: Summary: Applying 5.1 patches
Date: Thu, 04 Jan 2001 14:24:45 +0000	[thread overview]
Message-ID: <97861826222750.tru64-unix-managers.marc@archive.invalid> (raw)

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@portal.gmu.edu>
and "Dr. Thomas.Blinn@Compaq.com" <tpb@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

                 reply	other threads:[~2001-01-04 14:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox