UPDATE: ATA mkIII official patches for releng_5

Damian Gerow dgerow at afflictions.org
Thu Apr 28 10:05:59 PDT 2005


Thus spake Jose M Rodriguez (josemi at freebsd.jazztel.es) [28/04/05 12:32]:
: > I'm positive it's something about my build environment, but I don't
: > know /what/.
: 
: For safety, and only about what I'm using (RELENG_5_4), you:
: - cvs/cvsup fresh sources
: - apply the patchset
: - untar the tarball
: 
: And get what build error?

    # rm -rf /usr/src
    # cvsup -g /etc/stable-supfile > /dev/null
    # cd /usr/src
    # patch -p0 < ~/ata-mk3n.diff-releng5
    <snip>
    # tar -zxf ~/ata-mk3n-releng5.tar.gz
    # make buildkernel KERNCONF=GENERIC
    
    --------------------------------------------------------------
    >>> Kernel build for GENERIC started on Thu Apr 28 13:04:42 EDT 2005
    --------------------------------------------------------------
    ===> GENERIC
    mkdir -p /usr/obj/usr/src/sys

    <snip>

    ===> ata/atapci
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: if-less endif
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: Need an operator
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: if-less endif
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: Need an operator
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 313: Need an operator
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: if-less endif
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 311: Need an operator
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 313: Need an operator
    "/usr/src/sys/modules/ata/atapci/../../../conf/kmod.mk", line 325: Need an operator
    "Makefile", line 9: 1 open conditional:
    "Makefile", line 9:      at line 315 (evaluated to true)
    make: fatal errors encountered -- cannot continue
    *** Error code 1

    Stop in /usr/src/sys/modules/ata.
    *** Error code 1

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

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

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

    Stop in /usr/src.
    #

And yes, if I do a 'make buildworld' beforehand, I get the same error.


More information about the freebsd-stable mailing list