Date: Wed, 03 Jun 1998 10:53:59 -0400 From: Matthew Hagerty <wpub1@net-link.net> To: Doug White <dwhite@resnet.uoregon.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Kernel (2.2.6-R) compilation error Message-ID: <3.0.3.32.19980603105359.006afdc4@smtp.net-link.net> In-Reply-To: <Pine.BSF.3.96.980603003029.22038w-100000@gdi.uoregon.edu> References: <3.0.3.32.19980602103220.00697360@smtp.net-link.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19980603105359.006afdc4>