Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 96 05:26:55 +0100
From:      Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
To:        ec0@s1.ganet.net
Cc:        freebsd-ports@freebsd.org
Subject:   Re: XFree86 -port fails to build
Message-ID:  <9603220426.AA27763@cabri.obs-besancon.fr>
In-Reply-To: <Pine.SOL.3.91.960321205918.10822A-100000@s1> (message from Eric Chet on Thu, 21 Mar 1996 21:22:21 -0500 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Eric Chet writes:

 > Hello
 > 	-current as of 3-20-96, the /ports/x11/XFree86 port fails to build.

 > Building Release 6 of the X Window System.

 > I hope you checked the configuration parameters in ./config/cf
 > to see if you need to pass BOOTSTRAPCFLAGS.

 > Thu Mar 21 21:04:47  1996

 > cd ./config/imake; make   -f Makefile.ini BOOTSTRAPCFLAGS="" clean; 
 > make   -f Makefile.ini BOOTSTRAPCFLAGS=""
 > rm -f ccimake imake.o imake
 > rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS make.log \#*
 > making imake with BOOTSTRAPCFLAGS=
 > cc -o ccimake  -O -I../../include ccimake.c
 > cc -c  -O -I../../include `./ccimake` imake.c
 > imake.c: In function `LogFatal':
 > imake.c:515: conflicting types for `sys_errlist'
 > /usr/include/stdio.h:244: previous declaration of `sys_errlist'
 > *** Error code 1

I don't get any error:
Building Release 6 of the X Window System.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Fri Mar 22 05:02:37 MET 1996

cd ./config/imake; make   -f Makefile.ini BOOTSTRAPCFLAGS="" clean;
make   -f Makefile.ini BOOTSTRAPCFLAGS=""
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS
make.log \#*
making imake with BOOTSTRAPCFLAGS=
cc -o ccimake  -O -I../../include ccimake.c
cc -c  -O -I../../include `./ccimake` imake.c
cc -o imake  -O -I../../include imake.o
rm -f Makefile.bak; mv Makefile Makefile.bak
./config/imake/imake -I./config/cf  -DTOPDIR=. -DCURDIR=.
make   VerifyOS

Building on FreeBSD 2.2-CURRENT.

make   Makefiles
making Makefiles in config...
making Makefiles in config/cf...

etc.


 > Stop.

 > stdio.h:244
 > -------
 > extern __const char *__const sys_errlist[];

This is correct

 > imake.c:515
 > -----------
 > void
 > LogFatal(x0,x1) 
 >         char *x0, *x1;
 > {
 > #ifndef WIN32
 >         extern char     *sys_errlist[];
 > #endif

You have a wrong version of the X11 sources:
   524  void
   525  LogFatal(x0,x1)
   526          char *x0, *x1;
   527  {
   528  #if !defined(WIN32) && !defined(USE_STRERROR)
   529          extern char     *sys_errlist[];
   530  #endif

 > ---------

 >      If I change it to "extern const char* const sys_errlist[];" I then get
 > these results with a follow up build.

 > Thu Mar 21 21:13:46  1996

 > cd ./config/imake; make   -f Makefile.ini BOOTSTRAPCFLAGS="" clean; 
 > make   -f Makefile.ini BOOTSTRAPCFLAGS=""
 > rm -f ccimake imake.o imake
 > rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS 
 > make.log \#*
 > making imake with BOOTSTRAPCFLAGS=
 > cc -o ccimake  -O -I../../include ccimake.c
 > cc -c  -O -I../../include `./ccimake` imake.c
 > cc -o imake imake.o
 > rm -f Makefile.bak; mv Makefile Makefile.bak
 > ./config/imake/imake -I./config/cf  -DTOPDIR=. -DCURDIR=.
 > make   VerifyOS

 > Building on FreeBSD 1.1 .
 >                    ^^^^^
 > THE FREEBSD.CF IS SET UP FOR FREEBSD 1.1?

Are you sure to have the latest version of the port? Check the
makefile: the rcs id should be 
# $Id: Makefile,v 1.17 1996/02/15 00:53:15 jmz Exp $

Jean-Marc
 _____________________________________________________________________________
 Jean-Marc Zucconi       Observatoire de Besancon       F 25010 Besancon cedex
                   PGP Key: finger jmz@cabri.obs-besancon.fr
 =============================================================================



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