[XFree86] [XFree86(TM) Bug Report] XFree 4.3.0 compilation fails

2003-03-04 Thread Petri Hodju
Regarding: XFree 4.3.0 compilation fails
Email: [EMAIL PROTECTED]

XFree86 Version: 4.3.0

OS: Linux pajavasara 2.4.20 #6 Tue Feb 25 09:35:47 EET 2003 i686 unknown unknown 
GNU/Linux

Area: compilation

Server: not server related

Description:

**
* Compilation Log
**

pajavasara:~/system/X/xc# make World

Building XFree86 version 4.3.0 (27 February 2003).

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

Tue Mar  4 12:49:55 EET 2003

cd ./config/imake  make  -f Makefile.ini BOOTSTRAPCFLAGS= CC=gcc clean
make[1]: Entering directory `/root/system/X/xc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/root/system/X/xc/config/imake'
make  Makefile.boot
make[1]: Entering directory `/root/system/X/xc'
cd ./config/imake  make -w -f Makefile.ini BOOTSTRAPCFLAGS= CC=gcc
make[2]: Entering directory `/root/system/X/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR= in
 config/imake
gcc -o ccimake -DCROSSCOMPILEDIR=\\  -O -I../../include -I../../imports/x11/in
clude/X11 ccimake.c
if [ -n  ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h  imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
gcc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
gcc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/root/system/X/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./c   
  onfig/makedepend/Imakefile -DTOPDIR=../.. 
-DCURDIR=./config/makedepend
cd ./config/makedepend  rm -f -r Makefile Makefile.dep makedepend *.o bootstra   
  p
cd ./config/makedepend  make -f Makefile.proto bootstrap
make[2]: Entering directory `/root/system/X/xc/config/makedepend'
make[2]: Nothing to be done for `bootstrap'.
make[2]: Leaving directory `/root/system/X/xc/config/makedepend'
./config/imake/imake -I./config/cf  -s ./config/imake/Makefile.proto -f ./config   
  /imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake -DBootStrap
cd ./config/imake  make -f Makefile.proto bootstrapdepend
make[2]: Entering directory `/root/system/X/xc/config/imake'
make[2]: Nothing to be done for `bootstrapdepend'.
make[2]: Leaving directory `/root/system/X/xc/config/imake'
cd ./config/imake  make -w -f Makefile.ini BOOTSTRAPCFLAGS= CC=gcc bootstrap
make[2]: Entering directory `/root/system/X/xc/config/imake'
+ mkdir bootstrap
mv *.o bootstrap
+ mv imake bootstrap
make[2]: Leaving directory `/root/system/X/xc/config/imake'
cd ./config/imake  make -f Makefile.proto all
make[2]: Entering directory `/root/system/X/xc/config/imake'
gcc DefaultGcc2i386Opt-I../../include -I../../exports/include/X11  -I../.. -   
  I../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_S OURCE -D_XOPEN_SOURCE 
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO= 15 
-DNARROWPROTO -DCPP_PROGRAM=\/usr/bin/cpp\ -DHAS_MERGE_CONSTANTS=`if   
   gcc -fmerge-constants -xc /dev/null -S -o /dev/null 2 /dev/null 1 
/dev/null; then echo 1; else echo 0; fi` -c -o imake.o imake.c
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [imake.o] Error 1
make[2]: Leaving directory `/root/system/X/xc/config/imake'
make[1]: *** [imake.bootstrap] Error 2
make[1]: Leaving directory `/root/system/X/xc'
make: *** [World] Error 2
pajavasara:~/system/X/xc#

**
* Compiler version
**

pajavasara:~/system/X/xc# gcc --version
gcc (GCC) 3.2.3 20030228 (Debian prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Repeat By:



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] [XFree86(TM) Bug Report] XFree 4.3.0 compilation fails

2003-03-04 Thread Marc Aurele La France
On Tue, 4 Mar 2003, Petri Hodju wrote:

 **
 * Compilation Log
 **

 pajavasara:~/system/X/xc# make World

 Building XFree86 version 4.3.0 (27 February 2003).

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

 Tue Mar  4 12:49:55 EET 2003

 cd ./config/imake  make  -f Makefile.ini BOOTSTRAPCFLAGS= CC=gcc clean
 make[1]: Entering directory `/root/system/X/xc/config/imake'
 rm -f ccimake imake.o imake
 rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
 rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
 rm -f imakemdep_cpp.h
 make[1]: Leaving directory `/root/system/X/xc/config/imake'
 make  Makefile.boot
 make[1]: Entering directory `/root/system/X/xc'
 cd ./config/imake  make -w -f Makefile.ini BOOTSTRAPCFLAGS= CC=gcc
 make[2]: Entering directory `/root/system/X/xc/config/imake'
 making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR= in
  config/imake
 gcc -o ccimake -DCROSSCOMPILEDIR=\\  -O -I../../include -I../../imports/x11/in
 clude/X11 ccimake.c
 if [ -n  ] ; then \
 /cc -E `./ccimake` \
 -DCROSSCOMPILE_CPP imakemdep.h  imakemdep_cpp.h; \
 else touch imakemdep_cpp.h; fi
 gcc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
 gcc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
 make[2]: Leaving directory `/root/system/X/xc/config/imake'
 rm -f ./config/makedepend/Makefile.proto
 ./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./c 
 onfig/makedepend/Imakefile -DTOPDIR=../.. 
 -DCURDIR=./config/makedepend
 cd ./config/makedepend  rm -f -r Makefile Makefile.dep makedepend *.o bootstra 
 p
 cd ./config/makedepend  make -f Makefile.proto bootstrap
 make[2]: Entering directory `/root/system/X/xc/config/makedepend'
 make[2]: Nothing to be done for `bootstrap'.
 make[2]: Leaving directory `/root/system/X/xc/config/makedepend'
 ./config/imake/imake -I./config/cf  -s ./config/imake/Makefile.proto -f ./config 
 /imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake 
 -DBootStrap
 cd ./config/imake  make -f Makefile.proto bootstrapdepend
 make[2]: Entering directory `/root/system/X/xc/config/imake'
 make[2]: Nothing to be done for `bootstrapdepend'.
 make[2]: Leaving directory `/root/system/X/xc/config/imake'
 cd ./config/imake  make -w -f Makefile.ini BOOTSTRAPCFLAGS= CC=gcc bootstrap
 make[2]: Entering directory `/root/system/X/xc/config/imake'
 + mkdir bootstrap
 mv *.o bootstrap
 + mv imake bootstrap
 make[2]: Leaving directory `/root/system/X/xc/config/imake'
 cd ./config/imake  make -f Makefile.proto all
 make[2]: Entering directory `/root/system/X/xc/config/imake'
 gcc DefaultGcc2i386Opt-I../../include -I../../exports/include/X11  -I../.. - 
 I../../exports/include   -Dlinux -D__i386__ 
 -D_POSIX_C_SOURCE=199309L -D_POSIX_S OURCE -D_XOPEN_SOURCE 
 -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO= 
 15 -DNARROWPROTO -DCPP_PROGRAM=\/usr/bin/cpp\ -DHAS_MERGE_CONSTANTS=`if  
 gcc -fmerge-constants -xc /dev/null -S -o /dev/null 2 /dev/null 
 1 /dev/null; then echo 1; else echo 0; fi` -c -o imake.o imake.c
 gcc: cannot specify -o with -c or -S and multiple compilations
 make[2]: *** [imake.o] Error 1
 make[2]: Leaving directory `/root/system/X/xc/config/imake'
 make[1]: *** [imake.bootstrap] Error 2
 make[1]: Leaving directory `/root/system/X/xc'
 make: *** [World] Error 2
 pajavasara:~/system/X/xc#

Something is not #define'ing DefaultGcc2i386Opt.  What does
/system/X/xc/config/cf/host.def look like?

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86