Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2007 16:05:28 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Attilio Rao <attilio@freebsd.org>
Cc:        Tom McLaughlin <tmclaugh@sdf.lonestar.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: sysutils/xsi not building on -CURRENT with new gcc
Message-ID:  <1183838728.82695.14.camel@shumai.marcuscom.com>
In-Reply-To: <3bbf2fe10707071255p23822ebcy551ec90e2798437c@mail.gmail.com>
References:  <1183833146.1978.12.camel@localhost> <1183836202.82695.12.camel@shumai.marcuscom.com> <3bbf2fe10707071255p23822ebcy551ec90e2798437c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-UWqmV3bd6WRLtoHBSS2g
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2007-07-07 at 21:55 +0200, Attilio Rao wrote:
> 2007/7/7, Joe Marcus Clarke <marcus@marcuscom.com>:
> > On Sat, 2007-07-07 at 14:32 -0400, Tom McLaughlin wrote:
> > > Hi all,
> > >
> > > I updated sysutils/xsi to a new version and I just found it will not
> > > build on -CURRENT (July 2nd) in my tinderbox.  I'm getting the follow=
ing
> > > fail:
> > >
> > >
> > > if c++ -DHAVE_CONFIG_H -I. -I. -I. -I../lib -I/usr/local/include/libx=
ml2
> > > -I/usr/local/include -O1 -pipe -MT freebsd.o -MD -MP -MF
> > > ".deps/freebsd.Tpo" -c -o freebsd.o freebsd.cpp;  then mv -f
> > > ".deps/freebsd.Tpo" ".deps/freebsd.Po"; else rm -f ".deps/freebsd.Tpo=
";
> > > exit 1; fi
> > > In file included from /usr/include/sys/sx.h:37,
> > >                  from /usr/include/sys/filedesc.h:40,
> > >                  from /usr/include/sys/proc.h:44,
> > >                  from /usr/include/sys/user.h:47,
> > >                  from freebsd.cpp:35:
> > > /usr/include/sys/lock_profile.h:156: error: expected ',' or '...' bef=
ore 'class'
> >
> > Seems like a bug in lock_profile.h to me.  We should not be using
> > reserved words like "class".  kmacy added this function to
> > lock_profile.h in rev 1.6.  You might want to ping him about it.
>=20
> Could you please try this:
> http://users.gufi.org/~rookie/works/patches/lock_profile.diff

Yep, that approach works, too.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-UWqmV3bd6WRLtoHBSS2g
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGj/IHb2iPiv4Uz4cRAhzLAJ9OrQw1r40UDZXSoRvgSY7k0H0n0gCcCyct
ydx4ONsBQQOwlW3Qx4QguwA=
=nmRy
-----END PGP SIGNATURE-----

--=-UWqmV3bd6WRLtoHBSS2g--




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