From owner-freebsd-ports Thu Mar 21 20:24:52 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA12791 for ports-outgoing; Thu, 21 Mar 1996 20:24:52 -0800 (PST) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA12783 for ; Thu, 21 Mar 1996 20:24:46 -0800 (PST) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA27763; Fri, 22 Mar 96 05:26:55 +0100 Date: Fri, 22 Mar 96 05:26:55 +0100 Message-Id: <9603220426.AA27763@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: ec0@s1.ganet.net Cc: freebsd-ports@freebsd.org In-Reply-To: (message from Eric Chet on Thu, 21 Mar 1996 21:22:21 -0500 (EST)) Subject: Re: XFree86 -port fails to build X-Mailer: Emacs Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> 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 =============================================================================