On Wed, 17 Dec 2003 09:06:52 +0100
"Mario Premke" <[EMAIL PROTECTED]> wrote:

> Hello list,
> I made a CVS checkout and edited the host.def like it is described in the
> Compilation Guide. Now I get a compilation error - apparently because of
> combining the '-c' and '-o' compiler flags, what seems reasonable to me ...
> shouldn't it possibly compile in two steps [first with '-c' and then '-o']?

It says "with multiple compilations". So for some reason it thinks that
it's given more than one source file on the command line. As you mailer
truncated lines it's hard to reconstruct why that happened. At first
glance the line that starts with "oSystemWarn" is wrong. You probably
messed up this line in your host.def:

#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
                          -Wmissing-prototypes -Wmissing-declarations \
                          -Wredundant-decls -Wnested-externs -Wundef \
                          NoSystemWarn

Regards,
  Felix

> 
> <---SNIP--->
> 
> Building XFree86 version 4.3.99.12 (10 September 2003).
> 
> I hope you checked the configuration parameters in ./config/cf
> to see if you need to pass BOOTSTRAPCFLAGS.
> 
> Wed Dec 17 08:44:01 CET 2003
> 
> cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc" clean
> make[1]: Entering directory `/home/mapr/DRI-CVS/xc/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 `/home/mapr/DRI-CVS/xc/xc/config/imake'
> make  Makefile.boot
> make[1]: Entering directory `/home/mapr/DRI-CVS/xc/xc'
> cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc"
> make[2]: Entering directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
> making imake with BOOTSTRAPCFLAGS= and
> CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
> gcc -o
> ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include -I../../imports/x11/inclu
> de/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 `/home/mapr/DRI-CVS/xc/xc/config/imake'
> 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
> cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o
> bootstrap
> cd ./config/makedepend && make -f Makefile.proto bootstrap
> make[2]: Entering directory `/home/mapr/DRI-CVS/xc/xc/config/makedepend'
> make[2]: Nothing to be done for `bootstrap'.
> make[2]: Leaving directory `/home/mapr/DRI-CVS/xc/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 `/home/mapr/DRI-CVS/xc/xc/config/imake'
> make[2]: Nothing to be done for `bootstrapdepend'.
> make[2]: Leaving directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
> cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="gcc"
> bootstrap
> make[2]: Entering directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
> + mkdir bootstrap
> mv *.o bootstrap
> + mv imake bootstrap
> make[2]: Leaving directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
> cd ./config/imake && make -f Makefile.proto all
> make[2]: Entering directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
> gcc -m32 -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmis
> sing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -W
> undef
> oSystemWarn -pipe -g   -I../../include -I../../exports/include/X11  -I../.. 
> -I../../exports/include -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_C_
> SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE 
>  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO     -DCPP_PROGRAM="\"cpp\"" -D
> HAS_MERGE_CONSTANTS=`if gcc -m32 -fmerge-constants -xc /dev/null /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 `/home/mapr/DRI-CVS/xc/xc/config/imake'
> make[1]: *** [imake.bootstrap] Error 2
> make[1]: Leaving directory `/home/mapr/DRI-CVS/xc/xc'
> make: *** [World] Error 2
> 
> <---SNIP--->
> 
> gcc is 3.2.2 / Linux Distribution is Gentoo
> 
> Thanks
> Mario
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> --
> _______________________________________________
> Dri-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dri-devel
> 


------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to