Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 1996 16:52:58 -0700 (PDT)
From:      Matt Bartley <mbartley@lear35.cytex.com>
To:        current@freebsd.org
Subject:   kernel compile fails at if_ethersubr.c
Message-ID:  <199608042352.QAA02052@lear35.cytex.com>

next in thread | raw e-mail | index | archive | help

I'm running -current, CTM level src-cur 2059.  This happened at CTM
level 2058 as well.

Here is what happens when I try to compile the kernel.  This example is
an attempt to compile GENERIC:

# time make depend all
[etc, etc]
cc -c -O1 -m486 -pipe -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
 -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline -Wunused
 -nostdinc -I. -I../.. -I../../sys -I../../../include -DI386_CPU -DI486_CPU
 -DI586_CPU -DI686_CPU -DAPM_BROKEN_STATCLOCK -DATAPI_STATIC -DATAPI
 -DFAILSAFE -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL
 ../../net/if.c
cc -c -O1 -m486 -pipe -W -Wreturn-type -Wcomment -Wredundant-decls
 -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
 -Winline -Wunused  -nostdinc -I. -I../.. -I../../sys -I../../../include
 -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DAPM_BROKEN_STATCLOCK
 -DATAPI_STATIC -DATAPI -DFAILSAFE -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS
 -DINET -DKERNEL  ../../net/if_ethersubr.c
../../net/if_ethersubr.c: In function `ether_ioctl':
../../net/if_ethersubr.c:869: `ETHER_ADDR_LEN' undeclared (first use this
 function)
../../net/if_ethersubr.c:869: (Each undeclared identifier is reported only once
../../net/if_ethersubr.c:869: for each function it appears in.)
*** Error code 1

Stop.
      364.81 real       256.29 user        34.20 sys
#

My custom kernel, which is essentially GENERIC with unused drivers
removed, also does this.  If it matters, I use a wd8003 ethernet card.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608042352.QAA02052>