Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 22:26:48 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        freebsd-ports@freebsd.org, cy@FreeBSD.org
Subject:   Re: net/vnc r327755 does not build in /head
Message-ID:  <20131029212647.GA1211@tiny-r255948>
In-Reply-To: <201310291452.r9TEqEoc008141@slippy.cwsent.com>
References:  <guru@unixarea.de> <20131029084836.GA19333@sh4-5.1blu.de> <201310291452.r9TEqEoc008141@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, October 29, 2013 a las 07:52:14AM -0700, Cy Schubert escribió:

> In message <20131029084836.GA19333@sh4-5.1blu.de>, Matthias Apitz writes:
> > 
> > Hello,
> > 
> > The vnc client only build in /head (anyway if with clang or gcc46) if
> > one adds an 
> > 
> > #include <stdlib.h> to the following three files:
> > 
> > ./work/vnc-4_1_3-unixsrc/common/network/TcpSocket.cxx
> > ./work/vnc-4_1_3-unixsrc/unix/tx/TXImage.cxx
> > ./work/vnc-4_1_3-unixsrc/unix/x0vncserver/Image.cxx
> > 
> > The server part stops building in:
> > 
> > ...
> > cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
> > cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
> > rm -f ./config/makedepend/Makefile.proto
> > ./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f 
> > ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
> > objformat: not found
> > In file included from Imakefile.c:16:
> > In file included from ./config/cf/Imake.tmpl:104:
> > ./config/cf/FreeBSD.cf:477:35: error: '#' is not followed by a macro paramete
> > r
> 
> I haven't looked at it completely but it appears vnc needs a few patches to 
> add includes for stdlib.h. It's on my plate of things to do.

The missing includes for stdlib.h is an easy one, but the imake problem is
more complex; see also our exchange in June:

  Date: Fri, 7 Jun 2013 10:57:30 +0200
  To: Niclas Zeising <zeising@freebsd.org>, freebsd-ports@freebsd.org, cy@freebsd.org
  Subject: Re: ports && 10-CURRENT
  Message-ID: <20130607085730.GA8414@sh4-5.1blu.de>
  References: <20130525185649.GA932@tiny.Sisis.de> <51A11350.8050700@freebsd.org> <20130526155022.GA2665@sh4-5.1blu.de>

HIH

	matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz, <guru@unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



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