On Wed, Jul 05, 2006 at 03:35:40PM +0200, Massimo Lusetti wrote:
> I just updated from CVS today and cannot do a make build anymore.
> 
> I successfully installed a booted a GENERIC kernel.
> 
> OpenBSD 3.9-current (GENERIC) #3: Wed Jul  5 09:38:20 CEST 2006
>     [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III ("GenuineIntel" 686-class) 602 MHz
> cpu0:
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
> real mem  = 133722112 (130588K)
> avail mem = 115286016 (112584K)
> 
> 
> but cannot build userland:
> 
> cc   -o ntpd ntpd.o buffer.o log.o imsg.o ntp.o ntp_msg.o parse.o
> config.o server.o client.o sensors.o util.o 
> ntpd.o(.text+0x9ec): In function `ntpd_adjfreq':
> : undefined reference to `adjfreq'
> ntpd.o(.text+0xa44): In function `ntpd_adjfreq':
> : undefined reference to `adjfreq'
> ntpd.o(.text+0xc32): In function `readfreq':
> : undefined reference to `adjfreq'
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop in /usr/src/usr.sbin/ntpd (line 93 of /usr/share/mk/bsd.prog.mk).
> *** Error code 1
> 
> Stop in /usr/src/usr.sbin.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src (line 73 of Makefile).
> 
> 
> Any help is really appreciated. Thanks.

Seems like your kernel is older than your userland; adjfreq is a rather
recent addition.

Are you *really* certain that your kernel, both the one in /usr/src/sys
and the one you are currently running, is from the same snapshot as ntp
(and, presumably, the rest of /usr/src)?

                Joachim

Reply via email to