Re: NDIS build from latest cvsup - error with "make load"

From: Drew Broadley (drew_at_corrupt.co.nz)
Date: 05/25/04

  • Next message: Jon Noack: "anoncvs.FreeBSD.org gone?"
    Date: Tue, 25 May 2004 18:05:56 +1200
    To: Max Laier <max@love2party.net>
    
    

    Max Laier wrote:

    >On Tuesday 25 May 2004 06:26, Drew Broadley wrote:
    >
    >
    >>$ kldload ndis.ko
    >>kldload: can't load ndis.ko: No such file or directory
    >>
    >>
    >
    >Check $dmesg -a for more information. ENOENT == "No such file or directory" is
    >(miss-)used by kldload to indicate that there are missing symbols (in the
    >kernel). More information is print to the console.
    >
    >
    No problems there, also I am finding issues with building the kernel
    with NDIS built in with the latest build:

    >>>>>>>>>>>>>>>>>>>
    /usr/obj/usr/src/make.i386/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES
    -V GEN_M_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep
    -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
    -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
    -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys
    -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter
    -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
    -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
    -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000
    -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
    /usr/src/sys/dev/if_ndis/if_ndis.c:83:30: ndis_driver_data.h: No such
    file or directory
    /usr/src/sys/dev/if_ndis/if_ndis_pccard.c:65:30: ndis_driver_data.h: No
    such file or directory
    /usr/src/sys/dev/if_ndis/if_ndis_pci.c:64:30: ndis_driver_data.h: No
    such file or directory
    mkdep: compile failed
    *** Error code 1

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

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

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

    Stop in /usr/src.
    <<<<<<<<<<<<<<<<<<<<<

    I then updated my locate database, and did a locate on
    "ndis_driver_data.h" and found it where it should be:

    >>>>>>>>>>>>>>>>>>>>>
    $ locate ndis_driver_data.h
    /usr/src/sys/modules/if_ndis/ndis_driver_data.h
    <<<<<<<<<<<<<<<<<<<<<

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Jon Noack: "anoncvs.FreeBSD.org gone?"

    Relevant Pages

    • freebsd4.7 compile kernel error
      ... *** Error code 1 ... the kernel config file: ... pseudo-device splash ... # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver ...
      (comp.unix.bsd.freebsd.misc)
    • Unassociated shell command when building kernel
      ... kernel build, I get what appear to be make errors with the error ... echo ln gzip gunzip>>rescue.conf ... *** Error code 1 ...
      (freebsd-questions)
    • Error in kernel source, possibly GCC related
      ... I am at this moment compiling the kernel, and I get this error when make ... *** Error code 1 ... # Floating point support - do not disable. ... # PCI Ethernet NICs that use the common MII bus controller code. ...
      (freebsd-stable)
    • Re: New DTrace source snapshot
      ... A number of things were missing from the dtrace kernel ... This is a snapshot of current which contains lock order ... This snapshot extends the basic OpenSolaris DTrace functionality ... *** Error code 1 ...
      (freebsd-current)
    • Re: New DTrace source snapshot
      ... A number of things were missing from the dtrace kernel ... This is a snapshot of current which contains lock order ... will fail to build when hosted on RELENG_6. ... *** Error code 1 ...
      (freebsd-current)