Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootparam_prot.h: No such file or diretory



On 15/01/2008, Kimi <kimimeister%gmail.com@localhost> wrote:
> On 15/01/2008, Kimi <kimimeister%gmail.com@localhost> wrote:
> > On 15/01/2008, Iain Hibbert <plunky%rya-online.net@localhost> wrote:
> > > On Tue, 15 Jan 2008, Kimi wrote:
> > >
> > > > On 14/01/2008, Kimi <kimimeister%gmail.com@localhost> wrote:
> > > > > Hi,
> > > > >
> > > > > Well, I have now got further I think, but now stuck at:
> > > > > ...
> > > > > dependall ===> lib/librpcsvc
> > > > > bootparam_prot_xdr.c:6:28: error: bootparam_prot.h: No such file or 
> > > > > diretory
> > > > > nbmkdep:compile failed.
> > >
> > > there doesn't seem to be any recent changes to the librpcsvc directory
> > > that could cause that problem
> >
> > why I am at a lose as to why :(
> >
> > >
> > > > > with a:
> > > > > # ./build.sh -O /usr/obj build
> > > > > no /etc/mk.conf and a /usr/src from an hour ago
> > > >
> > > > I get the same on netbsd-4, also noticed bin/26006: netbsd-2-0 doesn't
> > > > build for alpha, missing bootparam_prot.h same thing, different arch.
> > > > for I tried both AMD64 & i386.
> > > >
> > > > I thoughtd maybe a "make includes" in /usr/src might help but no dice
> > >
> > > AFAIK that should make no difference, the build.sh method is designed to
> > > be self contained.
> > >
> > > I've never used the 'build' target but that should be included in the
> > > 'distribution' anyway.
> > >
> >
> > I read build.sh & distribution implies "build", although I don't see
> > this being used very much in documentation, it is usually
> > "distribution" or "release"
> >
> > > what machine/OS are you building on?  do you have a separate tooldir? do
> > > you have any errant environment variables?
> > >
> >
> > building it on NetBSD/AMD64-4.99.48 userland & 4.99.49 kernel. well
> > accoring to the output the tooldir is seperate:
> >
> > ===> build.sh command: ./build.sh -u -O /usr/obj params
> > ===> build.sh started: Sat Jan 12 00:03:01 GMT 2008
> > ===> NetBSD version:   4.99.49
> > ===> MACHINE:          amd64
> > ===> MACHINE_ARCH:     x86_64
> > ===> Build platform:   NetBSD 4.99.48 amd64
> > ===> HOST_SH:          /bin/sh
> > ===> TOOLDIR path:     /usr/obj/tooldir.NetBSD-4.99.48-x86_64
> > ===> DESTDIR path:     /usr/obj/destdir.amd64
> > ===> RELEASEDIR path:  /usr/obj/releasedir
> > ===> makewrapper:      
> > /usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/nbmake-amd64
> > ===> Updated /usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/nbmake-amd64
> > params ===> etc
> >            BSDOBJDIR = '/usr/obj'
> >            BSDSRCDIR = '/usr/src'
> >              BUILDID = (undefined)
> >              DESTDIR = '/usr/obj/destdir.amd64'
> >   EXTERNAL_TOOLCHAIN = (undefined)
> >             HAVE_GCC = '4'
> >             HAVE_GDB = '6'
> >      INSTALLWORLDDIR = (undefined)
> >          KERNARCHDIR = 'arch/amd64'
> >          KERNCONFDIR = '/usr/src/sys/arch/amd64/conf'
> >           KERNOBJDIR = '/usr/obj/sys/arch/amd64/compile'
> >           KERNSRCDIR = '/usr/src/sys'
> >              MACHINE = 'amd64'
> >         MACHINE_ARCH = 'x86_64'
> >                 MAKE = '/usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/nbmake'
> >             MAKECONF = '/etc/mk.conf'
> >            MAKEFLAGS = ' -d e -m /usr/src/share/mk
> > HOST_OSTYPE=NetBSD-4.99.48-x86_64 MKOBJDIRS=yes USETOOLS=yes
> > _SRC_TOP_=/usr/src _SRC_TOP_OBJ_=/usr/obj _THISDIR_=etc/'
> >           MAKEOBJDIR = '/usr/obj/etc'
> >     MAKEOBJDIRPREFIX = (undefined)
> >          MAKEVERBOSE = '0'
> >                MKBFD = 'yes'
> >           MKCATPAGES = 'yes'
> >             MKCRYPTO = 'yes'
> >        MKCRYPTO_IDEA = 'no'
> >        MKCRYPTO_MDC2 = 'no'
> >         MKCRYPTO_RC5 = 'no'
> >                MKCVS = 'yes'
> >              MKDEBUG = 'no'
> >           MKDEBUGLIB = 'no'
> >                MKDOC = 'yes'
> >        MKDYNAMICROOT = 'yes'
> >                MKGCC = 'yes'
> >            MKGCCCMDS = 'yes'
> >                MKGDB = 'yes'
> >             MKHESIOD = 'yes'
> >            MKHOSTOBJ = (undefined)
> >               MKHTML = 'yes'
> >             MKIEEEFP = 'yes'
> >              MKINET6 = 'yes'
> >               MKINFO = 'yes'
> >           MKIPFILTER = 'yes'
> >           MKKERBEROS = 'yes'
> >            MKLINKLIB = 'yes'
> >               MKLINT = 'yes'
> >                MKMAN = 'yes'
> >               MKMANZ = 'no'
> >                MKNLS = 'yes'
> >                MKOBJ = 'yes'
> >            MKOBJDIRS = 'yes'
> >                MKPAM = 'yes'
> >                 MKPF = 'yes'
> >                MKPIC = 'yes'
> >         MKPICINSTALL = 'yes'
> >             MKPICLIB = 'yes'
> >            MKPOSTFIX = 'yes'
> >            MKPROFILE = 'yes'
> >              MKSHARE = 'yes'
> >               MKSKEY = 'yes'
> >          MKSOFTFLOAT = 'no'
> >          MKSTATICLIB = 'yes'
> >           MKUNPRIVED = 'no'
> >             MKUPDATE = 'yes'
> >                MKX11 = 'no'
> >                 MKYP = 'yes'
> >           NBUILDJOBS = (undefined)
> >         NETBSDSRCDIR = '/usr/src'
> >           NOCLEANDIR = (undefined)
> >        NODISTRIBDIRS = (undefined)
> >           NOINCLUDES = (undefined)
> >           OBJMACHINE = (undefined)
> >           RELEASEDIR = '/usr/obj/releasedir'
> >    TOOLCHAIN_MISSING = 'no'
> >              TOOLDIR = '/usr/obj/tooldir.NetBSD-4.99.48-x86_64'
> >             USETOOLS = 'yes'
> >       USR_OBJMACHINE = (undefined)
> >            X11SRCDIR = '/usr/xsrc'
> > ===> Successful make params
> > ===> build.sh ended:   Sat Jan 12 00:03:16 GMT 2008
> > ===> Summary of results:
> >          build.sh command: ./build.sh -u -O /usr/obj params
> >          build.sh started: Sat Jan 12 00:03:01 GMT 2008
> >          NetBSD version:   4.99.49
> >          MACHINE:          amd64
> >          MACHINE_ARCH:     x86_64
> >          Build platform:   NetBSD 4.99.48 amd64
> >          HOST_SH:          /bin/sh
> >          TOOLDIR path:     /usr/obj/tooldir.NetBSD-4.99.48-x86_64
> >          DESTDIR path:     /usr/obj/destdir.amd64
> >          RELEASEDIR path:  /usr/obj/releasedir
> >          makewrapper:
> > /usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/nbmake-amd64
> >          Updated /usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/nbmake-amd64
> >          Successful make params
> >          build.sh ended:   Sat Jan 12 00:03:16 GMT 2008
> > ===> .
> >
> > my script called builder.sh in the same dir as build.sh contains:
> > #! /bin/sh
> >
> > exec ./build.sh -u -O /usr/obj "$@"
> >
> > nothing special really, with exception of /usr/src and /usr/obj being
> > nfs mounted, /usr/src being read-only
> >
> > > I seem to have
> > >
> > > RELEASEDIR=/var/pub/NetBSD
> > > TOOLDIR=/usr/tools
> > >
> > > which keeps the tools out of my /var/obj
> > >
> > > iain
> > >
>
> make.conf:
> WRKOBJDIR = /tmp/pkgsrc
> X11_TYPE = modular
> #eof
>
>
> --
> Regards,
>  Kimi
>

strange, now I have updated sources and now get a differnts one:

dependall ===> lib/librpcsvc
klm_prot_xdr.c:6:22: error: klm_prot.h: No such file or directory
nbmkdep: compile failed

*** Failed target:  klm_prot_xdr.d
*** Failed command:
CC=/usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/x86_64--netbsd-gcc
/usr/obj/tooldir.NetBSD-4.99.48-x86_64/bin/nbmkdep -f klm_prot_xdr.d
-- -D_FORTIFY_SOURCE=2 -nostdinc -isystem
/usr/obj/destdir.amd64/usr/include klm_prot_xdr.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/librpcsvc

*** Failed target:  dependall-librpcsvc
...

add nusiaem



-- 
Regards,
 Kimi



Home | Main Index | Thread Index | Old Index