Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 03:45:01 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        Adam Golebiowski <adamg@cormay.pl>
Cc:        questions@freebsd.org
Subject:   Re: freebsd 4.2 and kernel compilation
Message-ID:  <3AAE083D.70285B5@urx.com>
References:  <1191061310.20010313122340@cormay.pl>

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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AAE083D.70285B5>