Kernel compile errors

2003-08-14 Thread Stefan Malte Schumacher

Hi

I hope I am using the correct mailinglist. I am using 
FreeBSD avalon.fantasy.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun  5
02:55:
42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
and I am having problems with make lint as well as with building a new kernel.
I have just updated /usr/src/sys with cvsup using tag=RELENG_5_1. Make
lint exits with the following messages - note that I also did not work
before the update :
putchar used( sysdep.c(61) ), but not defined
putchar value declared inconsistently   dict.c?(60)  ::  fileaccess.c?(5)
__mb_cur_max declared( fileaccess.c?(4) ), but never used or defined
=== boot/i386
=== boot/i386/mbr
lint -cghapbx
usage: lint [-abceghprvwxzHF] [-s|-t] [-i|-nu] [-Dname[=def]] [-Uname] [-X
id[
,id]...
[-Idirectory] [-Ldirectory] [-llibrary] [-ooutputfile] file...
   lint [-abceghprvwzHF] [-s|-t] -Clibrary [-Dname[=def]]
[-X id[,id]...
[-Idirectory] [-Uname] [-Bpath] file ...
*** Error code 1

Stop in /usr/src/sys/boot/i386/mbr.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.


Building the kernel exits with the following error message.

umass.o(.text+0x1818): undefined reference to cam_sim_alloc'
umass.o(.text+0x1827): undefined reference to cam_simq_free'
umass.o(.text+0x1847): undefined reference to xpt_bus_register'
umass.o: In function umass_cam_rescan_callback':
umass.o(.text+0x1883): undefined reference to xpt_free_path'
umass.o: In function umass_cam_rescan':
umass.o(.text+0x18f5): undefined reference to xpt_periph'
umass.o(.text+0x1904): undefined reference to xpt_create_path'
umass.o(.text+0x1920): undefined reference to xpt_setup_ccb'
umass.o(.text+0x193d): undefined reference to xpt_action'
umass.o: In function umass_cam_detach_sim':
umass.o(.text+0x1a2c): undefined reference to xpt_bus_deregister'
umass.o(.text+0x1a48): undefined reference to cam_sim_free'
umass.o: In function umass_cam_action':
umass.o(.text+0x1ebd): undefined reference to xpt_done'
umass.o: In function umass_cam_cb':
umass.o(.text+0x202b): undefined reference to xpt_done'
umass.o: In function umass_cam_sense_cb':
umass.o(.text+0x2191): undefined reference to xpt_done'
umass.o: In function umass_cam_quirk_cb':
umass.o(.text+0x21bb): undefined reference to xpt_done'
*** Error code 1

What is the cause of these problems and how do I fix it ?

Bye
Stefan






___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel compile errors

2003-08-14 Thread Kris Kennaway
On Thu, Aug 14, 2003 at 11:11:35PM +0200, Stefan Malte Schumacher wrote:

 42 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 and I am having problems with make lint as well as with building a new kernel.
 I have just updated /usr/src/sys with cvsup using tag=RELENG_5_1. Make
 lint exits with the following messages - note that I also did not work
 before the update :

Don't do that then :)

 Building the kernel exits with the following error message.

You haven't paid close enough attention to the comments in your kernel
config file, and have removed a required option for umass support.

Kris


pgp0.pgp
Description: PGP signature


Re: kernel compile errors 5.0-DP1

2002-07-23 Thread Simon 'corecode' Schubert

On Mon, 22 Jul 2002 18:44:16 -0700 Karl Agee wrote:

 Yes, it's DP-1...that is what I started with.  I've updated the source 
 tree...I'll read up on it.
 pci now needs a count, as config states. read GENERIC for details.

as i see in today's commits this issue should be resolved and pci should
no longer need a count ;)


-- 
/\   http://corecode.ath.cx/#donate
\ /
 \ ASCII Ribbon Campaign
/ \  Against HTML Mail and News



msg41281/pgp0.pgp
Description: PGP signature


kernel compile errors 5.0-DP1

2002-07-22 Thread Karl Agee

here's the errors:

=== NEWKERNEL
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 

config -d /usr/obj/usr/src/sys/NEWKERNEL
/usr/src/sys/i386/conf/NEWKERNEL
config: Device pci requires a count
FYI: static unit limits for ppp are set: NPPP=1
config: Device card requires a count
FYI: static unit limits for atkbdc are set: NATKBDC=1
FYI: static unit limits for sc are set: NSC=1
config: 2 errors
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.


--karl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: kernel compile errors 5.0-DP1

2002-07-22 Thread Simon 'corecode' Schubert

On Mon, 22 Jul 2002 15:51:14 -0700 Karl Agee wrote:

 config -d /usr/obj/usr/src/sys/NEWKERNEL
 /usr/src/sys/i386/conf/NEWKERNEL
 config: Device pci requires a count
 FYI: static unit limits for ppp are set: NPPP=1
 config: Device card requires a count
 FYI: static unit limits for atkbdc are set: NATKBDC=1
 FYI: static unit limits for sc are set: NSC=1
 config: 2 errors
 *** Error code 1
 Stop in /usr/src.
 *** Error code 1

are you sure that's DP1? i suspect that's a new source tree and so you
need to follow changes of the essential build system.

pci now needs a count, as config states. read GENERIC for details.


-- 
/\   http://corecode.ath.cx/#donate
\ /
 \ ASCII Ribbon Campaign
/ \  Against HTML Mail and News



msg41266/pgp0.pgp
Description: PGP signature


Re: kernel compile errors 5.0-DP1

2002-07-22 Thread Karl Agee

At 02:04 AM 7/23/2002 +0200, Simon 'corecode' Schubert wrote:
On Mon, 22 Jul 2002 15:51:14 -0700 Karl Agee wrote:

  config -d /usr/obj/usr/src/sys/NEWKERNEL
  /usr/src/sys/i386/conf/NEWKERNEL
  config: Device pci requires a count
  FYI: static unit limits for ppp are set: NPPP=1
  config: Device card requires a count
  FYI: static unit limits for atkbdc are set: NATKBDC=1
  FYI: static unit limits for sc are set: NSC=1
  config: 2 errors
  *** Error code 1
  Stop in /usr/src.
  *** Error code 1

are you sure that's DP1? i suspect that's a new source tree and so you
need to follow changes of the essential build system.


Yes, it's DP-1...that is what I started with.  I've updated the source 
tree...I'll read up on it.


pci now needs a count, as config states. read GENERIC for details.


Thanks for the help

--karl




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



kernel compile errors

2001-04-23 Thread Hidden Agenda

I just received this error in the kernel compile in
/usr/home/src/sys/modules/linux.

My CVS tree was updated immediately before kernel compile (approx. 2:45pm
CST).

cc -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-
-I. -I@ -I@/dev -I@/../include  -mpreferred-stack-boundary=2 -c
/usr/home/src/sys/modules/linux/../../compat/linux/linux_file.c
In file included from
/usr/home/src/sys/modules/linux/../../compat/linux/linux_file.c:43:
@/sys/mount.h:385: field `netc_rnodes' has incomplete type
@/sys/mount.h:395: `AF_MAX' undeclared here (not in a function)
@/sys/mount.h:395: size of array `ne_rtable' has non-integer type
/usr/home/src/sys/modules/linux/../../compat/linux/linux_file.c: In
function `linux_mount':
/usr/home/src/sys/modules/linux/../../compat/linux/linux_file.c:963: warning: passing
arg 2 of `vfs_mount' discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/home/src/sys/modules/linux.
*** Error code 1

Stop in /usr/home/src/sys/modules.
*** Error code 1


---

/**/
/* Hidden Agenda  */
/*[EMAIL PROTECTED]*/
/*   DoK, Intl.   */
/*  Ignotum per Ignotius  */
/**/


 PGP signature