From owner-freebsd-questions Tue Mar 13 3:24:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from endor.cormay.pl (endor.cormay.pl [212.244.5.2]) by hub.freebsd.org (Postfix) with ESMTP id 4FEA837B728 for ; Tue, 13 Mar 2001 03:24:18 -0800 (PST) (envelope-from adamg@cormay.pl) Received: from stacja22.cormay.pl ([212.244.5.91] helo=10.213.2.2) by endor.cormay.pl with esmtp (Exim 3.12 #1 (Debian)) id 14cp5m-0001LH-00 for ; Tue, 13 Mar 2001 14:44:02 +0100 Date: Tue, 13 Mar 2001 12:23:40 +0100 From: Adam Golebiowski X-Mailer: The Bat! (v1.49) Business Reply-To: Adam Golebiowski X-Priority: 3 (Normal) Message-ID: <1191061310.20010313122340@cormay.pl> To: questions@freebsd.org Subject: freebsd 4.2 and kernel compilation Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, As I am a newbie to freebsd, I tried to compile kernel, so I could use isdn. But after I do make I got several errors: ../../net/if_spppsubr.c: In function `sppp_output': ../../net/if_spppsubr.c:755: warning: label `nosupport' defined but not used (...) ../../kern/init_sysent.c:26: warning: cast discards qualifiers from pointer target type (...) ../../kern/vfs_aio.c: In function `aio_process': ../../kern/vfs_aio.c:576: warning: cast discards qualifiers from pointer target type ../../kern/vfs_aio.c: In function `aio_qphysio': ../../kern/vfs_aio.c:1006: warning: cast discards qualifiers from pointer target type ../../kern/vfs_aio.c: In function `aio_read': ../../kern/vfs_aio.c:1895: warning: cast discards qualifiers from pointer target type ../../kern/vfs_aio.c: In function `aio_write': ../../kern/vfs_aio.c:1958: warning: cast discards qualifiers from pointer target type (...) ../../netinet/in_proto.c:163: warning: initialization from incompatible pointer type (...) ../../pci/amd.c:880: warning: `amd_timeout' defined but not used ../../pci/amd.c:838: warning: `amd_reset' defined but not used (...) ../../i386/i386/vm86.c: In function `vm86_sysarch': ../../i386/i386/vm86.c:707: warning: suggest parentheses around assignment used as truth value ../../i386/i386/vm86.c:709: warning: suggest parentheses around assignment used as truth value ../../i386/i386/vm86.c:711: warning: suggest parentheses around assignment used as truth value and so on... but after it starts 'linking kernel', it reports lots of errors... full information is available at: http://www.g4.pl/~adamg/freebsd/ my question is simple - why? I have used /usr/src/sys/i386/conf/LINT as base to my config file - what was my mistake? -- / G_ADam@IRCnet adamg@irc.pl www.zielonka.prv.pl gg:169207 \ | GU d-s-:-a16C++>+++$UL++>+++P+>+++L++>++++$E---W++(-)N+o? | \___K?w!O!M!VPS@PE@Y?PGP+t+5X++Rtv+>--b+DI+D+Ge->+++h!>++r-y-____/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message