Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: COMPAT_50 (Was: christos-time_t has been merged)



On 1/11/09, Geoff Wing <mason%primenet.com.au@localhost> wrote:
> Geoff Wing <mason%primenet.com.au@localhost> typed:
> : Christos Zoulas <christos%zoulas.com@localhost> typed:
> :: Make sure you read UPDATING before you try to update.
> : Perhaps COMPAT_50 should be added to all the config files.
>
> Also, these two lines in sys/conf/files are suspect:
>
>  defflag opt_compat_netbsd.h     COMPAT_50: COMPAT_40, COMPAT_NETBSD
>  defflag opt_compat_netbsd.h     COMPAT_40: KERN_SA, COMPAT_NETBSD
>
> If they're correct then the first needs to come after the COMPAT_40 line.
> Maybe they're supposed to be:
>
>  defflag opt_compat_netbsd.h     COMPAT_50: COMPAT_NETBSD
>  defflag opt_compat_netbsd.h     COMPAT_40: COMPAT_50, KERN_SA, COMPAT_NETBSD
>
> ?
>
> Regards,
> Geoff
>

*** BUILD ABORTED ***
===> build.sh command: ./build.sh -O ../obj.macppc -T ../tools -j2 -U
-u -N 1 kernel=wg3
===> NetBSD version:   5.99.7
===> MACHINE:          macppc
===> MACHINE_ARCH:     powerpc
===> Updated /n4/usr/src/../tools/bin/nbmake-macppc
===> Building kernel without building new tools
/n4/usr/src/sys/conf/files:122: option `COMPAT_50' dependency
`COMPAT_40' is an unknown option
*** Stop.

After changing the lines to
defflag opt_compat_netbsd.h     COMPAT_50: COMPAT_NETBSD
defflag opt_compat_netbsd.h     COMPAT_40: COMPAT_50,KERN_SA, COMPAT_NETBSD

and adding COMPAT_50 to macppc/conf/GENERIC the cimpilation started OK


Home | Main Index | Thread Index | Old Index