Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: compile libukfs/ukfs.ln fails on amd64
Antti Kantee writes:
> On Tue Jul 29 2008 at 23:05:51 +0200, Kurt Schreiner wrote:
> > Hi,
> >
> > just got this build.sh'ing ... distribution on amd64 (source
> > cvs update'd at Jul 29 22:26 MEST)
> >
> > Kurt
> >
> > dependall ===> lib/libukfs
> > create libukfs/ukfs.d
> > create libukfs/.depend
> > compile libukfs/ukfs.ln
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): (enum) tag redec
> lared [46]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VNON [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VREG [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VDIR [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VBLK [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VCHR [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VLNK [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VSOCK [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VFIFO [27]
> > /u/NetBSD/arch/amd64/dest/usr/include/rump/rumpdefs.h(73): redeclaration of
> VBAD [27]
>
> That should not happen. Can you include dest/usr/include/rump/rumpdefs.h?
>
> > /u/NetBSD/src/lib/libukfs/ukfs.c(384): warning: conversion from 'long' to '
> int' may lose accuracy [132]
>
> That one I can believe but it's fixed now (wow the things that can happen
> when copypasting code and more wow the ways they are caught).
I think we have a race in here...
--- rumpvnode_if.h ---
sed -n '/#define O_[A-Z]* *0x/s/O_/RUMP_O_/gp' < /u1/builds/bu
ild238/src/lib/librump/../../sys/rump/../sys/fcntl.h >> rumpdefs.h
printf "#ifndef __VTYPE_DEFINED\n#define __VTYPE_DEFINED\n" >> rumpdefs.h
--- rumpdefs.h ---
sed -n '/#define NAMEI_/s/NAMEI_/RUMP_NAMEI_/gp' < /u1/builds/bu
ild238/src/lib/librump/../../sys/rump/../sys/namei.h > rumpdefs.h
--- rumpvnode_if.h ---
sed -n '/enum vtype.*{/p' < /u1/builds/bu
ild238/src/lib/librump/../../sys/rump/../sys/vnode.h >> rumpdefs.h
Unless those rumpdefs.h are different, things are gonna be
scrambled...
I've now done one i386 and one amd64 build where it built fine, and
one each where I got "weirdness" in rumpdefs.h.... (both -j 16
builds..)
Later...
Greg Oster
Home |
Main Index |
Thread Index |
Old Index