Re: world (still) having trouble (after gdb.291/gdb/defs.h)
On Fri, 20 Apr 2001, Warner Losh wrote: > In message <[EMAIL PROTECTED]> David Wolfskill writes: > : The notion of the same program (kdump, in this case) actually using both > : include files would seem to be a cause for some concern. > > Don't worry about it. The person who imported the memcontrol stuff > didn't check the system closely enough for conflicts. The pccard > define has been around since 1996 while the memcontrol one was added > in 1999 and still hasn't been fixed :-) Building with "mkioctls -s" also shows many conflicting numeric ioctl values (probably many more than in 1996). This is mostly another non- problem, since the conflicting values mostly go to different drivers, but it prevents utilities like kdump from interpreting ioctl numbers unambiguously. Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: world (still) having trouble (after gdb.291/gdb/defs.h)
In message <[EMAIL PROTECTED]> David Wolfskill writes: : That said, while I was trying to figure out what had gone wrong, I ended : up chasing something that was "merely" a warning, but loks to me as if : it has some unpleasant potential: the dual (conflicting) definitions of : MDF_ACTIVE, thus: : : sys/pccard/cardinfo.h:81:#define MDF_ACTIVE 0x40/* Context active :(read-only) */ : : and : : sys/sys/memrange.h:18:#define MDF_ACTIVE (1<<27) /* currently active */ : : : The notion of the same program (kdump, in this case) actually using both : include files would seem to be a cause for some concern. Don't worry about it. The person who imported the memcontrol stuff didn't check the system closely enough for conflicts. The pccard define has been around since 1996 while the memcontrol one was added in 1999 and still hasn't been fixed :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: world (still) having trouble (after gdb.291/gdb/defs.h)
>Date: Thu, 12 Apr 2001 04:40:03 +0700 (ALMST) >From: Boris Popov <[EMAIL PROTECTED]> >> In "stage 4: building everything...", it got well past that point, but >> blew up in usr.bin/kdump: > Sorry, delta was committed to smb_dev.h. It should be ok now. Yup -- built; I'm running: FreeBSD m133.whistle.com 5.0-CURRENT FreeBSD 5.0-CURRENT #26: Wed Apr 11 09:36:48 PDT 2001 root@:/common/C/obj/usr/src/sys/LAPTOP_30W i386 (in multi-user mode) right now. Thanks! That said, while I was trying to figure out what had gone wrong, I ended up chasing something that was "merely" a warning, but loks to me as if it has some unpleasant potential: the dual (conflicting) definitions of MDF_ACTIVE, thus: sys/pccard/cardinfo.h:81:#define MDF_ACTIVE 0x40/* Context active (read-only) */ and sys/sys/memrange.h:18:#define MDF_ACTIVE (1<<27) /* currently active */ The notion of the same program (kdump, in this case) actually using both include files would seem to be a cause for some concern. Cheers, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: world (still) having trouble (after gdb.291/gdb/defs.h)
On Wed, 11 Apr 2001, David Wolfskill wrote: > In "stage 4: building everything...", it got well past that point, but > blew up in usr.bin/kdump: Sorry, delta was committed to smb_dev.h. It should be ok now. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
world (still) having trouble (after gdb.291/gdb/defs.h)
OK; I ran into the earlier problem with tilde_expand, saw the commit, hand-patched my copy, & started the build again. In "stage 4: building everything...", it got well past that point, but blew up in usr.bin/kdump: ===> usr.bin/jot cc -O -pipe -Wall -W -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/jot/jot.c cc -O -pipe -Wall -W -I/usr/obj/usr/src/i386/usr/include -o jot jot.o gzip -cn /usr/src/usr.bin/jot/jot.1 > jot.1.gz ===> 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 /usr/src/usr.bin/kdump/kdump.c 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:99: /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:78: /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:65: `SMB_MAXSRVNAMELEN' undeclared here (not in a function) /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:65: size of array `ioc_srvname' has non-integer type /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:70: `SMB_MAXUSERNAMELEN' undeclared here (not in a function) /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:70: size of array `ioc_user' has non-integer type /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:71: `SMB_MAXUSERNAMELEN' undeclared here (not in a function) /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:71: size of array `ioc_workgroup' has non-integer type /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:72: `SMB_MAXPASSWORDLEN' undeclared here (not in a function) /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:72: size of array `ioc_password' has non-integer type /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:82: `SMB_MAXSHARENAMELEN' undeclared here (not in a function) /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:82: size of array `ioc_share' has non-integer type /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:83: `SMB_MAXPASSWORDLEN' undeclared here (not in a function) /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:83: size of array `ioc_password' has non-integer type /usr/obj/usr/src/i386/usr/include/netsmb/smb_dev.h:133: syntax error before `smbfh' *** 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. # Script done on Wed Apr 11 04:16:16 2001 Heads up; clues welcome. Thanks, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message