From owner-freebsd-questions Wed Jun 3 07:48:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA22985 for freebsd-questions-outgoing; Wed, 3 Jun 1998 07:48:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.net-link.net (mail.net-link.net [205.217.6.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22976 for ; Wed, 3 Jun 1998 07:48:02 -0700 (PDT) (envelope-from wpub1@net-link.net) Received: from ricecake.fastnet0.net (pmr200-7.bc.net-link.net [207.49.227.47]) by mail.net-link.net (8.9.0/8.9.0) with SMTP id KAA21263; Wed, 3 Jun 1998 10:48:00 -0400 Message-Id: <3.0.3.32.19980603105359.006afdc4@smtp.net-link.net> X-Sender: wpub1@smtp.net-link.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Wed, 03 Jun 1998 10:53:59 -0400 To: Doug White From: Matthew Hagerty Subject: Re: Kernel (2.2.6-R) compilation error Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: <3.0.3.32.19980602103220.00697360@smtp.net-link.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> Greetings, >> >> I have compiled FreeBSD kernels since 2.0.1, but I can't figure this one >> out. This is the error during the make process: >> >> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit >> -Wnested-externs >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- >> -I. -I. >> ./.. -I../../../include -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL >> ../.. >> /i386/isa/if_le.c >> ../../i386/isa/if_le.c: In function `lemac_probe': >> ../../i386/isa/if_le.c:851: warning: assignment from incompatible pointer type >> ../../i386/isa/if_le.c:853: too many arguments to function >> ../../i386/isa/if_le.c: In function `lemac_rxd_intr': >> ../../i386/isa/if_le.c:1107: too many arguments to function >> ../../i386/isa/if_le.c: In function `depca_probe': >> ../../i386/isa/if_le.c:1524: warning: assignment from incompatible pointer >> type > >Try rewriting your le device line. > >Doug White | University of Oregon >Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant >http://gladstone.uoregon.edu/~dwhite | Computer Science Major > > I found my problem. I installed GCC-2.8.1. When I switched back to 2.7.2.1 everything compiled fine. Is there some reason why I should *not* be using 2.8.1 as my compiler (for the kernel or anything else?) Thanks Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message