Subject: acpi_apm.o: undefined references to sysmon*_envsys
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2007.salmi.ch>
List: current-users
Date: 08/22/2007 18:21:21
Hi,

linking a kernel based on GENERIC with several devices removed and
some added fails with

#      link  MORAY.ACPI/netbsd
ld -Map netbsd.map --cref -T /usr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
acpi_apm.o: In function `acpiapm_get_powstat':
acpi_apm.c:(.text+0x4b5): undefined reference to `sysmonopen_envsys'
acpi_apm.c:(.text+0x527): undefined reference to `sysmonioctl_envsys'
acpi_apm.c:(.text+0x55c): undefined reference to `sysmonioctl_envsys'
acpi_apm.c:(.text+0x5b7): undefined reference to `sysmonclose_envsys'
*** Error code 1


Any hint what's missing?

TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~