Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 09:56:31 -0400
From:      "Michael T. Stolarchuk" <mts@off.to>
To:        freebsd-alpha@freebsd.org
Cc:        mts@off.to
Subject:   kernel build problem.
Message-ID:  <200007211356.JAA09501@off.to>

next in thread | raw e-mail | index | archive | help

4.0-RELEASE #0: Mon Mar 20 21:55:10 GMT 2000

i'm having some trouble building kernels... it seems like i've left
some step out.  a newly installed system can't do a `make depend' after
a config.  The config succeeds, but when i try the made depend in the
target directory, i get a boatload of errors.

Its as if /usr/include/machine isn't correct.  i've tried some simple
fixes, but it still seems wrong.  this must be a known problem, but
i haven't been able to locate any details about it... and don't
see a straightforward fix to deal with it...

What's the right thing to do?  Get current?  or is there some
configuration step i've missed?


mts.


alpha3# make depend
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include opt_global.h -elf  -mno-fp-regs -Wa,-mev56 ../../alpha/alpha/genassym.c
In file included from ../../sys/systm.h:46,
                 from ../../alpha/alpha/genassym.c:43:
machine/cpufunc.h: In function `invlpg':
machine/cpufunc.h:270: warning: cast to pointer from integer of different size
machine/cpufunc.h: In function `outsb':
machine/cpufunc.h:339: warning: asm operand 0 probably doesn't match constraints
machine/cpufunc.h: In function `outsw':
machine/cpufunc.h:347: warning: asm operand 0 probably doesn't match constraints
machine/cpufunc.h: In function `outsl':
machine/cpufunc.h:355: warning: asm operand 0 probably doesn't match constraints
In file included from ../../alpha/alpha/genassym.c:43:
../../sys/systm.h: At top level:
../../sys/systm.h:136: warning: conflicting types for built-in function `memcpy'
In file included from ../../sys/systm.h:172,
                 from ../../alpha/alpha/genassym.c:43:
../../sys/libkern.h:84: warning: conflicting types for built-in function `strlen'
In file included from ../../alpha/alpha/genassym.c:46:
../../sys/buf.h: In function `BUF_LOCK':
../../sys/buf.h:269: warning: implicit declaration of function `splbio'
../../sys/buf.h:276: warning: implicit declaration of function `splx'
In file included from ../../vm/pmap.h:87,
                 from ../../alpha/alpha/genassym.c:58:
machine/pmap.h: In function `pmap_kextract':
machine/pmap.h:168: warning: cast from pointer to integer of different size
../../alpha/alpha/genassym.c: At top level:
../../alpha/alpha/genassym.c:69: structure has no member named `md_flags'
../../alpha/alpha/genassym.c:70: structure has no member named `md_pcbpaddr'
../../alpha/alpha/genassym.c:71: structure has no member named `md_hae'
../../alpha/alpha/genassym.c:72: `MDP_HAEUSED' undeclared here (not in a function)
../../alpha/alpha/genassym.c:77: `PTLEV1I' undeclared here (not in a function)
../../alpha/alpha/genassym.c:81: structure has no member named `pcb_hw'
../../alpha/alpha/genassym.c:82: structure has no member named `pcb_context'
../../alpha/alpha/genassym.c:84: structure has no member named `pcb_hw'
../../alpha/alpha/genassym.c:86: dereferencing pointer to incomplete type
../../alpha/alpha/genassym.c:87: dereferencing pointer to incomplete type
../../alpha/alpha/genassym.c:93: `FRAME_V0' undeclared here (not in a function)
../../alpha/alpha/genassym.c:94: `FRAME_T0' undeclared here (not in a function)
../../alpha/alpha/genassym.c:95: `FRAME_T1' undeclared here (not in a function)
../../alpha/alpha/genassym.c:96: `FRAME_T2' undeclared here (not in a function)
../../alpha/alpha/genassym.c:97: `FRAME_T3' undeclared here (not in a function)
../../alpha/alpha/genassym.c:98: `FRAME_T4' undeclared here (not in a function)
../../alpha/alpha/genassym.c:99: `FRAME_T5' undeclared here (not in a function)
../../alpha/alpha/genassym.c:100: `FRAME_T6' undeclared here (not in a function)
../../alpha/alpha/genassym.c:101: `FRAME_T7' undeclared here (not in a function)
../../alpha/alpha/genassym.c:102: `FRAME_S0' undeclared here (not in a function)
../../alpha/alpha/genassym.c:103: `FRAME_S1' undeclared here (not in a function)
../../alpha/alpha/genassym.c:104: `FRAME_S2' undeclared here (not in a function)
../../alpha/alpha/genassym.c:105: `FRAME_S3' undeclared here (not in a function)
../../alpha/alpha/genassym.c:106: `FRAME_S4' undeclared here (not in a function)
../../alpha/alpha/genassym.c:107: `FRAME_S5' undeclared here (not in a function)
../../alpha/alpha/genassym.c:108: `FRAME_S6' undeclared here (not in a function)
../../alpha/alpha/genassym.c:109: `FRAME_A3' undeclared here (not in a function)
../../alpha/alpha/genassym.c:110: `FRAME_A4' undeclared here (not in a function)
../../alpha/alpha/genassym.c:111: `FRAME_A5' undeclared here (not in a function)
../../alpha/alpha/genassym.c:112: `FRAME_T8' undeclared here (not in a function)
../../alpha/alpha/genassym.c:113: `FRAME_T9' undeclared here (not in a function)
../../alpha/alpha/genassym.c:114: `FRAME_T10' undeclared here (not in a function)
../../alpha/alpha/genassym.c:115: `FRAME_T11' undeclared here (not in a function)
../../alpha/alpha/genassym.c:116: `FRAME_RA' undeclared here (not in a function)
../../alpha/alpha/genassym.c:117: `FRAME_T12' undeclared here (not in a function)
../../alpha/alpha/genassym.c:118: `FRAME_AT' undeclared here (not in a function)
../../alpha/alpha/genassym.c:119: `FRAME_SP' undeclared here (not in a function)
../../alpha/alpha/genassym.c:121: `FRAME_SW_SIZE' undeclared here (not in a function)
../../alpha/alpha/genassym.c:123: `FRAME_PS' undeclared here (not in a function)
../../alpha/alpha/genassym.c:124: `FRAME_PC' undeclared here (not in a function)
../../alpha/alpha/genassym.c:125: `FRAME_GP' undeclared here (not in a function)
../../alpha/alpha/genassym.c:126: `FRAME_A0' undeclared here (not in a function)
../../alpha/alpha/genassym.c:127: `FRAME_A1' undeclared here (not in a function)
../../alpha/alpha/genassym.c:128: `FRAME_A2' undeclared here (not in a function)
../../alpha/alpha/genassym.c:130: `FRAME_SIZE' undeclared here (not in a function)
../../alpha/alpha/genassym.c:133: `ALPHA_PSL_USERMODE' undeclared here (not in a function)
../../alpha/alpha/genassym.c:134: `ALPHA_PSL_IPL_MASK' undeclared here (not in a function)
../../alpha/alpha/genassym.c:135: `ALPHA_PSL_IPL_0' undeclared here (not in a function)
../../alpha/alpha/genassym.c:136: `ALPHA_PSL_IPL_SOFT' undeclared here (not in a function)
../../alpha/alpha/genassym.c:137: `ALPHA_PSL_IPL_HIGH' undeclared here (not in a function)
../../alpha/alpha/genassym.c:140: `ALPHA_L1SHIFT' undeclared here (not in a function)
../../alpha/alpha/genassym.c:141: `ALPHA_L2SHIFT' undeclared here (not in a function)
../../alpha/alpha/genassym.c:142: `ALPHA_L3SHIFT' undeclared here (not in a function)
../../alpha/alpha/genassym.c:143: `ALPHA_K1SEG_BASE' undeclared here (not in a function)
../../alpha/alpha/genassym.c:144: `ALPHA_PTE_VALID' undeclared here (not in a function)
../../alpha/alpha/genassym.c:145: `ALPHA_PTE_ASM' undeclared here (not in a function)
../../alpha/alpha/genassym.c:146: `ALPHA_PTE_KR' undeclared here (not in a function)
../../alpha/alpha/genassym.c:147: `ALPHA_PTE_KW' undeclared here (not in a function)
../../alpha/alpha/genassym.c:150: `ALPHA_KENTRY_ARITH' undeclared here (not in a function)
../../alpha/alpha/genassym.c:151: `ALPHA_KENTRY_MM' undeclared here (not in a function)
../../alpha/alpha/genassym.c:153: `ALPHA_KENTRY_IF' undeclared here (not in a function)
../../alpha/alpha/genassym.c:154: `ALPHA_KENTRY_UNA' undeclared here (not in a function)
../../alpha/alpha/genassym.c:156: `VPTBASE' undeclared here (not in a function)
*** Error code 1



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007211356.JAA09501>