From owner-freebsd-questions Tue Mar 13 3:45: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from level3.dynacom.net (level3.dynacom.net [206.107.213.213]) by hub.freebsd.org (Postfix) with SMTP id D04BD37B71D for ; Tue, 13 Mar 2001 03:45:03 -0800 (PST) (envelope-from kstewart@urx.com) Received: (qmail 21201 invoked by uid 0); 13 Mar 2001 11:45:02 -0000 Received: from unknown (HELO urx.com) (206.159.132.160) by mail.urx.com with SMTP; 13 Mar 2001 11:45:02 -0000 Message-ID: <3AAE083D.70285B5@urx.com> Date: Tue, 13 Mar 2001 03:45:01 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Adam Golebiowski Cc: questions@freebsd.org Subject: Re: freebsd 4.2 and kernel compilation References: <1191061310.20010313122340@cormay.pl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Adam Golebiowski wrote: > > 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: I didn't see these but I did see many scsi bus errors from your scsi declaration. You have devices but no peripherals such scbus and da. Your definition file is also hard to decipher. It would have been much easier if you had commented out devices instead of only including what you thought you needed. You might consider saving ADAM and then cp'ing GENERIC to ADAM. This would put the commands in areas that people expect to see them. You also defined a number of things such as semaphores that may not be needed. I don't have any idea on that. TCPDEBUG is known to cause problems right now. Comment it out. Kent > > ../../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 -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message