Date: Tue, 16 Jan 2007 09:23:45 +0100 From: Frank Bonnet <f.bonnet@esiee.fr> To: freebsd-amd64@freebsd.org Subject: Cannot recompile kernel at 6.2-RELEASE on IBM X3650 Message-ID: <45AC8B91.2050006@esiee.fr>
next in thread | raw e-mail | index | archive | help
Hello I just installed 6.2-R on an X3650 from IBM (two processors) trying to recompile the SMP kernel then "make depend" failed. See errors below. Thanks for any help. ---------------------------------------------------------------------------------------- mail2# make depend cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding ../../../amd64/amd64/genassym.c In file included from ../../../sys/systm.h:42, from ../../../amd64/amd64/genassym.c:42: ./machine/cpufunc.h: In function `invlpg': ./machine/cpufunc.h:448: warning: cast to pointer from integer of different size In file included from ../../../sys/proc.h:53, from ../../../sys/buf.h:253, from ../../../amd64/amd64/genassym.c:45: ../../../sys/signal.h: At top level: ../../../sys/signal.h:304: error: redefinition of `struct osigcontext' In file included from ../../../amd64/amd64/genassym.c:45: ../../../sys/buf.h: In function `BUF_LOCK': ../../../sys/buf.h:272: warning: cast from pointer to integer of different size ../../../sys/buf.h: In function `BUF_TIMELOCK': ../../../sys/buf.h:292: warning: cast from pointer to integer of different size In file included from ../../../amd64/amd64/genassym.c:69: ./machine/sigframe.h: At top level: ./machine/sigframe.h:66: error: syntax error before "__osiginfohandler_t" ./machine/sigframe.h:71: error: syntax error before "osiginfo_t" ./machine/sigframe.h:86: error: field `sf_uc' has incomplete type ../../../amd64/amd64/genassym.c:93: error: `addr_PTmap' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:94: error: `addr_PDmap' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:95: error: `addr_PDPmap' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:96: error: `addr_PML4map' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:97: error: `addr_PML4pml4e' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:104: error: `PDPSHIFT' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:105: error: `PML4SHIFT' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:106: error: `KPDPI' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:107: error: `KPML4I' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:108: error: `PML4PML4I' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:112: error: `DMAP_MIN_ADDRESS' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:113: error: `DMAP_MAX_ADDRESS' undeclared here (not in a function) ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:116: error: structure has no member named `pcb_r15' ../../../amd64/amd64/genassym.c:117: error: structure has no member named `pcb_r14' ../../../amd64/amd64/genassym.c:117: error: structure has no member named `pcb_r14' -- Regards Frank
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AC8B91.2050006>