error compiling

Sami Halabi sodynet1 at gmail.com
Wed Jun 20 10:06:41 UTC 2012


Hi,
i just cvsup standard 8.2, that pulled me 8.2-p4 into the source tree.

when i made:
make buildkernel KERNCONF=SAMI

i got this:
cc -c -x assembler-with-cpp -DLOCORE -O2 -frename-registers -pipe
-fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -Werror /usr/src/sys/amd64/acpica/acpi_switch.S
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel
-mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -Werror  /usr/src/sys/amd64/acpica/acpi_wakeup.c
/usr/src/sys/amd64/acpica/acpi_wakeup.c: In function 'acpi_wakeup_ap':
/usr/src/sys/amd64/acpica/acpi_wakeup.c:107: error: 'wakeup_pcb' undeclared
(first use in this function)
/usr/src/sys/amd64/acpica/acpi_wakeup.c:107: error: (Each undeclared
identifier is reported only once
/usr/src/sys/amd64/acpica/acpi_wakeup.c:107: error: for each function it
appears in.)
/usr/src/sys/amd64/acpica/acpi_wakeup.c: In function 'acpi_sleep_machdep':
/usr/src/sys/amd64/acpica/acpi_wakeup.c:258: error: 'wakeup_pcb' undeclared
(first use in this function)
*** Error code 1

Stop in /usr/obj/usr/src/sys/SAMI.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
#

I Have the conf file with these options:
###################
#SAMI ADDITIONS
###################
device          lagg
options         IPFIREWALL
options         IPFIREWALL_FORWARD
options         IPFIREWALL_VERBOSE
options         DUMMYNET
options         HZ=1000
options         TCP_SIGNATURE
device          crypto          # core crypto support
device          cryptodev       # /dev/crypto for access to h/w
options         IPSEC
options         DEVICE_POLLING
device if_bridge
options         VIMAGE
#options SCTP
options          IPDIVERT
###################

any ideas?


-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
FreeBSD SysAdmin Expert


More information about the freebsd-stable mailing list