Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 18:38:18 +0100 (BST)
From:      Niall Kirby <niley@boru.proxus.net>
To:        freebsd-questions@freebsd.org
Subject:   make buildworld fails at kdump & truss
Message-ID:  <1019842698.3cc9908a9aff5@webmail.proxus.net>

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

Hi, having cvsup\'ed src-all, I proceeded to run make buildworld, all went well 
until it came to kdump, at which point it incountered duplicate declarations in 
header files and stopped. After an exhaustive search attempting to find a 
solution to the problem, I removed kdump from src/usr.bin/Makefile, hoping to 
resolve the problem at a later stage. the build then continued until it 
reached \"truss\" with similar errors as from kdump. It\'s at this point I\'m 
asking for help as I\'ve no idea how to resolve these problems. I have tried 
removing the entire src tree and starting from scratch from a different cvsup 
server. If anyone knows how to resolve these problems please help.

sincerely, 
Niall

*********************************

uname output :
4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002     
murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386

*********************************

kdump compile error ( I typed make in the kdump directory to replicate the 
error) :
<root@toca>  [/usr/src/usr.bin/kdump] # make
cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -
I/usr/src/usr.bin/kdump/../..    -c ioctl.c
In file included from ioctl.c:106:
/usr/include/sys/memrange.h:19: warning: `MDF_ACTIVE\' redefined
/usr/include/pccard/cardinfo.h:115: warning: this is the location of the 
previous definition
In file included from ioctl.c:118:
/usr/include/sys/wormio.h:102: warning: `CDRIOCBLANK\' redefined
/usr/include/sys/cdrio.h:88: warning: this is the location of the previous 
definition
In file included from ioctl.c:107:
/usr/include/sys/mouse.h:52: redefinition of `struct mousestatus\'
/usr/include/sys/mouse.h:59: redefinition of `mousestatus_t\'
/usr/include/machine/mouse.h:59: `mousestatus_t\' previously declared here
/usr/include/sys/mouse.h:81: redefinition of `struct mousehw\'
/usr/include/sys/mouse.h:89: redefinition of `mousehw_t\'
/usr/include/machine/mouse.h:89: `mousehw_t\' previously declared here
/usr/include/sys/mouse.h:123: redefinition of `struct mousemode\'
/usr/include/sys/mouse.h:131: redefinition of `mousemode_t\'
/usr/include/machine/mouse.h:131: `mousemode_t\' previously declared here
/usr/include/sys/mouse.h:170: redefinition of `struct mousedata\'
/usr/include/sys/mouse.h:173: redefinition of `mousedata_t\'
/usr/include/machine/mouse.h:172: `mousedata_t\' previously declared here
/usr/include/sys/mouse.h:177: redefinition of `struct mousevar\'
/usr/include/sys/mouse.h:179: redefinition of `mousevar_t\'
/usr/include/machine/mouse.h:178: `mousevar_t\' previously declared here
*** Error code 1

Stop in /usr/src/usr.bin/kdump.

*************************************************

truss compile error:

===> usr.bin/truss
cc -O -pipe  -I/usr/src/usr.bin/truss -I.    -c ioctl.c
In file included from ioctl.c:106:
/usr/include/sys/memrange.h:19: warning: `MDF_ACTIVE\' redefined
/usr/include/pccard/cardinfo.h:115: warning: this is the location of the 
previous definition
In file included from ioctl.c:118:
/usr/include/sys/wormio.h:102: warning: `CDRIOCBLANK\' redefined
/usr/include/sys/cdrio.h:88: warning: this is the location of the previous 
definition
In file included from ioctl.c:107:
/usr/include/sys/mouse.h:52: redefinition of `struct mousestatus\'
/usr/include/sys/mouse.h:59: redefinition of `mousestatus_t\'
/usr/include/machine/mouse.h:59: `mousestatus_t\' previously declared here
/usr/include/sys/mouse.h:81: redefinition of `struct mousehw\'
/usr/include/sys/mouse.h:89: redefinition of `mousehw_t\'
/usr/include/machine/mouse.h:89: `mousehw_t\' previously declared here
/usr/include/sys/mouse.h:123: redefinition of `struct mousemode\'
/usr/include/sys/mouse.h:131: redefinition of `mousemode_t\'
/usr/include/machine/mouse.h:131: `mousemode_t\' previously declared here
/usr/include/sys/mouse.h:170: redefinition of `struct mousedata\'
/usr/include/sys/mouse.h:173: redefinition of `mousedata_t\'
/usr/include/machine/mouse.h:172: `mousedata_t\' previously declared here
/usr/include/sys/mouse.h:177: redefinition of `struct mousevar\'
/usr/include/sys/mouse.h:179: redefinition of `mousevar_t\'
/usr/include/machine/mouse.h:178: `mousevar_t\' previously declared here
*** Error code 1

Stop in /usr/src/usr.bin/truss.

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?1019842698.3cc9908a9aff5>