* Kernel build problems
@ 2001-09-24 16:51 Lee_Brewer
0 siblings, 0 replies; 3+ messages in thread
From: Lee_Brewer @ 2001-09-24 16:51 UTC (permalink / raw)
To: tru64-unix-managers
Admins,
During a current upgrade from 4.0f -> 4.0g -> 5.1 we had a problem booting from
the 4.0g genvmunix kernel. Actually we could not boot from 4.0g CDROM. In
order to move on with the upgrade compaq suggested using my old 4.0f kernel to
boot the upgraded system. This worked, so we began the upgrade path to 5.1. We
were able to install all of the subsets and the system rebooted, but It is
unable to create a kernel. This probably stems from the upgrade failure to
build a 4.0g kernel. When I issue a donconfig or doconfig -c <NAME> I get the
following errors
cc: Error: ../conf/param.c, line 221: In the initializer for sys_v_mode,
"SYS_V_MODE" is not declared. (undeclared)
int sys_v_mode = SYS_V_MODE;
-------------------^
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
I ran allverify2 , but nothing really pops up....
Any ideas short of installing Tru64 5.1 fresh?
Lee Brewer
^ permalink raw reply [flat|nested] 3+ messages in thread* Kernel build problems
@ 1998-12-30 5:01 Dan Maher
0 siblings, 0 replies; 3+ messages in thread
From: Dan Maher @ 1998-12-30 5:01 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I'm having some problems building the kernel on a Digital Unix 4.0D box
after installing patch kit 2. The dupatch to install patch_kit 2 went
quite well and I installed all the patches in the kit. However, when I
run doconfig I get linker errors stating that tsd_table_lockinfo,
tsd_init, and task_rq_wait_time are undefined.
I've read the man pages and tried building with only mandatory kernel
options, with all options, with the existing config file, etc... I've
also tried blowing away the /sys/<HOSTNAME> directory and letting
doconfig rebuild it. I also tried this after booting with the genvmunix
kernel.
I'm rather a newbie to Digital Unix and obviously I don't know why these
symbols are undefined or how to fix this... Any suggestions or pointers
to relevant documentation appreciated! I talked to the only person I
know at DEC and he suggested this list, so please help!
Full error output below.
Thanks,
...dan
--
Dan Maher
Inktomi Technical Support
*** WARNING ***
An error has occurred during system configuration. A partial listing
of the error log file (./errs) follows:
cc -c -O0 -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I.. -I../include
-DIDENT=DEC3 -DDEC1000A_5 -DSWAPTYPE=1 -DUERF -DOSF -DCOMPAT_43 -DMACH
-DUFS -DRT_SEM -DKERNEL -D_KERNEL -D_BSD -signed -Wg,-w2 -compress -MD
-no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Olimit 3000 -D__alpha
-Umips -UMIPS ../data/ace_data.c
cc -c -O2 -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I.. -I../include
-DIDENT=DEC3 -DDEC1000A_5 -DSWAPTYPE=1 -DUERF -DOSF -DCOMPAT_43 -DMACH
-DUFS -DRT_SEM -DKERNEL -D_KERNEL -D_BSD -signed -Wg,-w2 -compress -MD
-no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Olimit 3000 -D__alpha
-Umips -UMIPS ../data/trn_sr_data.c
cc -c -O2 -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I.. -I../include
-DIDENT=DEC3 -DDEC1000A_5 -DSWAPTYPE=1 -DUERF -DOSF -DCOMPAT_43 -DMACH
-DUFS -DRT_SEM -DKERNEL -D_KERNEL -D_BSD -signed -Wg,-w2 -compress -MD
-no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Olimit 3000 -D__alpha
-Umips -UMIPS ../data/xcr_data.c
rm -f DEC3.mod
ld -dc -r -o DEC3.mod vm_init.o init_main.o ipc_globals.o lockinfo.o
alpha_init.o pmap_init.o startup.o steal_mem.o scb.o bootio_subrs.o
bootio_net.o io.o sys.o sys_advfs.o sys_cdfs.o param.o ioconf.o conf.o
vmunix.swap ufs_quota_stubs.o audit_data.o cm_data.o dcedfs_data.o
gw_screen_data.o sec_data.o time_data.o netaf_config.o str_config.o
vfs_conf.o tty_conf.o cpuconf.o cam_config.o cam_debug.o sim_config.o
cam_data.o cam_special_data.o if_tu_data.o if_fta_data.o pcxal_data.o
pcxas_data.o ws_data.o autoconf_data.o cons_sw_data.o
pci_option_data.o eisa_option_data.o binlog_data.o pmap_data.o
presto_data.o ace_data.o trn_sr_data.o xcr_data.o
/usr/lib/cmplrs/cc/objZ DEC3.mod
sh ../conf/newvers.sh ../conf/copyright `cat ../conf/version.type
../conf/version.major ../conf/version.minor ../conf/version.variant
../conf/version.build ../conf/version.patch` "`cat
../conf/version.banner`"
cc -c -O2 -DLANGUAGE_C -std0 -g3 -G 4 -I -I. -I.. -I../include
-DIDENT=DEC3 -DDEC1000A_5 -DSWAPTYPE=1 -DUERF -DOSF -DCOMPAT_43 -DMACH
-DUFS -DRT_SEM -DKERNEL -D_KERNEL -D_BSD -signed -Wg,-w2 -compress -MD
-no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Olimit 3000 -D__alpha
-Umips -UMIPS -c vers.c
rm -f vmunix vmunix.sys
loading vmunix.sys
ld:
Error: Undefined:
tsd_table_lockinfo
tsd_init
task_rq_wait_time
*** Exit 1 (ignored)
chmod 755 a.out
chmod: a.out: No such file or directory
*** Exit 4
Stop.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Kernel build problems
@ 1997-04-14 9:20 san
0 siblings, 0 replies; 3+ messages in thread
From: san @ 1997-04-14 9:20 UTC (permalink / raw)
To: tru64-unix-managers
Hi osf-managers,
I have a problem with building the kernel when I do this for the first
time.
Errors are:
ld:
Error: Undefined:
ace_cons_init
ace_tty
aceopen
aceclose
aceread
acewrite
aceselect
.........
**** Exit 1 (ignored)
chmod 755 a.out
chmod: a.out: No such file or directory
*** Exit 4
Stop.
How can I resolve this problem ?
Many thanks in advance
Khramov Alexander, JSC NONOLET
Novosibirsk, RUSSIA
+7 3832 397485, 397486
e-mail:San@nonolet.nsk.su
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-24 16:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-24 16:51 Kernel build problems Lee_Brewer
-- strict thread matches above, loose matches on Subject: below --
1998-12-30 5:01 Dan Maher
1997-04-14 9:20 san
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox