usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Eckhard Kantz

What could be the reason for the following problem?

=== usr.bin/kdump
cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
In file included from ioctl.c:96:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
location of the previous definition
In file included from ioctl.c:52:
/usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
undeclared here (not in a function)
*** Error code 1

Stop in /usr/src/usr.bin/kdump.
*** Error code 1

Stop in /usr/src/usr.bin.
*** Error code 1

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

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

Stop in /usr/src.


Thanks for any advice.

Eckhard



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



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
 What could be the reason for the following problem?
 
 === usr.bin/kdump
 cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
 ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
 In file included from ioctl.c:96:
 /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
 redefined
 /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
 location of the previous definition
 In file included from ioctl.c:52:
 /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
 undeclared here (not in a function)
 *** Error code 1
 
 Stop in /usr/src/usr.bin/kdump.
 *** Error code 1

I reported about this problem more then 3 months ago.
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current)

I think this problem may resolve with following steps:
1) rm -rf /usr/src
2) re-sup
3) try to make buildworld
But i haven't -current @ fast channel for this...

Also, you may do following:
1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11
2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32
3) try to make buildworld

I recommend first way.
It looks like mkioctls do something wrong at ${DESTDIR} at
buildworld time.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

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



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Ruslan Ermilov

On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote:
 On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
  What could be the reason for the following problem?
  
  === usr.bin/kdump
  cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
  ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
  In file included from ioctl.c:96:
  /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
  redefined
  /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
  location of the previous definition
  In file included from ioctl.c:52:
  /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
  undeclared here (not in a function)
  *** Error code 1
  
  Stop in /usr/src/usr.bin/kdump.
  *** Error code 1
 
 I reported about this problem more then 3 months ago.
 
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current)
 
 I think this problem may resolve with following steps:
 1) rm -rf /usr/src
 2) re-sup
 3) try to make buildworld
 But i haven't -current @ fast channel for this...
 
 Also, you may do following:
 1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11
 2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32
 3) try to make buildworld
 
 I recommend first way.
 It looks like mkioctls do something wrong at ${DESTDIR} at
 buildworld time.
 
Should be fixed in usr.bin/kdump/mkioctls,v 1.20.


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

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



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 07:17:48PM +0300, Ruslan Ermilov wrote:
 On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote:
  On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
   What could be the reason for the following problem?
   
   === usr.bin/kdump
   cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
   ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
   In file included from ioctl.c:96:
   /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
   redefined
   /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
   location of the previous definition
   In file included from ioctl.c:52:
   /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
   undeclared here (not in a function)
   *** Error code 1
   
   Stop in /usr/src/usr.bin/kdump.
   *** Error code 1
  
 Should be fixed in usr.bin/kdump/mkioctls,v 1.20.

OK. I try buildworld now.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

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