Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2002 23:50:56 -0600
From:      Chris Pressey <cpressey@catseye.mb.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: make buildworld fails
Message-ID:  <20021109235056.7a2c2aee.cpressey@catseye.mb.ca>
In-Reply-To: <20021107120943.2877200d.cpressey@catseye.mb.ca>
References:  <20021029033143.7c01a0b7.cpressey@catseye.mb.ca> <20021029112907.GB4480@happy-idiot-talk.infracaninophi> <20021029064730.2637b4e2.cpressey@catseye.mb.ca> <20021029142839.GF4480@happy-idiot-talk.infracaninophi> <20021029192615.69e3bb31.cpressey@catseye.mb.ca> <20021030081134.GA49354@happy-idiot-talk.infracaninophi> <20021107120943.2877200d.cpressey@catseye.mb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Nov 2002 12:09:43 -0600
Chris Pressey <cpressey@catseye.mb.ca> wrote:

> On Wed, 30 Oct 2002 08:11:34 +0000
> Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote:
> 
> > I think it's worth trying NO_OPENSSH=true in /etc/make.conf together
> > with your C_INCLUDE_PATH thing to see if you can get to the end of the
> > buildworld process.  If you can get the rest of the system up to
> > 4.7-STABLE, you should have no trouble compiling normally.  Means two
> > buildworld cycles to get everything up to date, I'm afraid.
> > 
> > 	Cheers,
> > 
> > 	Matthew
> 
> Good news - I finally got make buildworld to build.
> 
> I had to add /usr/src/include:/usr/src/sys to the beginning of my
> C_INCLUDE_PATH.  I also had to remove several libraries from /usr/lib/*,
> and replace them with copies from /usr/src/*, so that symbols could
> resolve.  Apparently it was trying to build using my existing include
> files and library files, when they are clearly insufficient, older
> versions.  I have no idea why it was trying to do this, but hopefully
> after the second build cycle it will revert to the old correct
> behaviour. I'm about to try building and installing the kernel, and I'll
> post a second followup after the dust has cleared.
> 
> Thanks once again to everyone for their help.
> -Chris
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

Well, good news and bad news.  I updated to 4.7-RELEASE p1 (RELENG_4_7)
and can make buildworld with it no problems.  But if I try following
4.7-STABLE (RELENG_4), my make buildworld fails:

===> usr.bin/kdump
cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace
-I/usr/src/usr.bin/kdump/../..    -c /usr/src/usr.bin/kdump/kdump.c
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:92:
/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:104:
/usr/include/sys/wormio.h:102: warning: `CDRIOCBLANK' redefined
/usr/include/sys/cdrio.h:88: warning: this is the location of the previous
definition
ioctl.c: In function `ioctlname':
ioctl.c:1335: `USB_GET_REPORT_ID' undeclared (first use in this function)
ioctl.c:1335: (Each undeclared identifier is reported only once
ioctl.c:1335: for each function it appears in.)
*** 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.

Mysteriously, 'grep -r ioctlname /usr/src' finds only:

/usr/src/usr.bin/kdump/kdump.c:	char *ioctlname();
/usr/src/usr.bin/kdump/kdump.c:	if ((cp = ioctlname(*ip)) != NULL)
/usr/src/usr.bin/kdump/mkioctls: print "ioctlname(register_t val)"
/usr/src/usr.bin/truss/extern.h: extern const char *ioctlname(register_t
val);
/usr/src/usr.bin/truss/syscalls.c: const char *temp =
ioctlname(args[sc->offset]);

No sign of a file called ioctl.c, that I can see.

I think I'll stick with 4.7-RELEASE for a while...

-Chris

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?20021109235056.7a2c2aee.cpressey>