Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 19:30:23 +0200 (CEST)
From:      Barry Bouwsma <freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk>
To:        freebsd-current@freebsd.org
Subject:   Re: Need help: buildworld for CURRENT while under STABLE is not working
Message-ID:  <200408081730.i78HUN320899@Mail.NOSPAM.DynDNS.dK>
References:  <200408071057.06960.ringworm@inbox.lv> <20040808064912.GA27705@les.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
[keep replies to the list and I'll catch up later, thanks]

> > make buildworld -DDESTDIR=/ad1 while booted from STABLE and I keep getting the 
> > following error

> Do you get the same error if you run `make buildworld' without
> -DDESTDIR=/ad1 ?

I get the same error (new, since a successful build or at least
a build way past that point, several days ago).

<stdint.h> is not present in my -stable.  I'm able to work around
this requirement in the newly-updated bsnmp by adding the following
dirty hack:


--- /stand/obj/hacks/FreeBSD-CURRENT-src/source-hacks/tools/build/Makefile-ORIG	Mon Mar  1 18:47:38 2004
+++ /stand/obj/hacks/FreeBSD-CURRENT-src/source-hacks/tools/build/Makefile	Sun Aug  8 18:32:44 2004
@@ -63,6 +63,11 @@
 INCS+=		regex.h
 .endif
 
+### HACK  -stable crossbuilds (at least mine) don't have <stdint.h>
+.if !exists(/usr/include/stdint.h)
+INCS+=		stdint.h
+.endif
+
 .if empty(SRCS)
 SRCS=		dummy.c
 .endif



(shoot me if it's /usr/include/something/stdint.h; I don't have a
successful build for any OS in front of me.  anyway...)

For -stable, the mere presence of this file is enough to make the
build progress past this point.  Attempting to create a useful
stdint.h file in tools/build didn't quite do the job, so I took
the easy way out.

Of course someone who knows what they're doing can properly
unbreak crossbuilds on -stable; I can do little more than a hack.

(whether my build breaks further down the line, time will tell,
my machine is slow and old, like me)


thanks
barry bouwsma



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408081730.i78HUN320899>