Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 12:23:40 +0100
From:      Adam Golebiowski <adamg@cormay.pl>
To:        questions@freebsd.org
Subject:   freebsd 4.2 and kernel compilation
Message-ID:  <1191061310.20010313122340@cormay.pl>

next in thread | raw e-mail | index | archive | help
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




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