Thanks for the quick response!

And [Ooopps], you were right - I messed up my host.def. I did a new check out and only 
commented out PPC, Alpha and added '#define
MesaUse3DNow YES' and it compiles [so far].
BTW, how do the lines in host.def have to look for the savage-branch:

#define XF86CardDrivers tdfx i810 mga ati glint vga sis
#define DriDrivers r200 tdfx mga i810 r128 radeon gamma i830 ffb sis

Do I simply add 'savage' to the DriDrivers and XF86CardDrivers?

Thanks again

Mario


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von Mario
> Premke
> Gesendet: Mittwoch, 17. Dezember 2003 10:48
> An: Felix Kühling
> Cc: dri-devel
> Betreff: AW: [Dri-devel] Compilation Error
>
>
> OK, my host.def follows with all comments teared off [the GccWarningOptions look 
> good IMHO]:
>
> #define XFree86CustomVersion "DRI trunk"
> #define DefaultGcc2i386Opt -O2
> #define BuildXFree86ConfigTools No
> #Define XF86CardDrivers tdfx i810 mga ati glint vga sis
> #define DriDrivers r200 tdfx mga i810 r128 radeon gamma i830 ffb sis
> #define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
>                           -Wmissing-prototypes -Wmissing-declarations \
>                           -Wredundant-decls -Wnested-externs -Wundef \
>                         NoSystemWarn
> #define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe -g
> #define NormalLibGlx NO
> #define BuildXF86DRI YES
> #define MesaUse3DNow YES
> #ifdef GlxSoProf
> #  undef DefaultCCOptions
> #  define DefaultCCOptions -ansi -pedantic GccWarningOptions -pipe -g -p
> #endif
> #define DoLoadableServer YES
> #define XF86AFB NO
> #define XnestServer NO
> #define XVirtualFramebufferServer NO
> #define HasExpat YES
> #define BuildServersOnly YES
> #define BuildXvLibrary YES
> #define BuildXvMCLibrary YES
> #define BuildLibrariesForXServers NO
> #define BuildLibrariesForConfigTools NO
> #define BuildGLXLibrary YES
> #define BuildXDriInfo YES
> #define BuildXdmcpLib YES
> #define BuildXInputLib NO
> #define BuildXIE NO
> #define BuildPexExt NO
> #define XprtServer NO
> #define SharedLibFont NO
> #define XInputDrivers mouse
> #if DoLoadableServer
> #undef XF1Bpp
> #undef XF4Bpp
> #define XF1Bpp NO
> #define XF4Bpp NO
> #endif
>
>
> and again the 'make World' output [I tried to switch off truncating, but 'Outlook' 
> only lets me set the row length to the
> maximum of
> 132 chars]:
>
>
> 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/include/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 
> -Wmissing-prototypes -Wmissing-declarations
> -Wredundant-decls
>  -Wnested-externs -Wundef
> NoSystemWarn -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 -DN
> ARROWPROTO     -DCPP_PROGRAM="\"cpp\"" -DHAS_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
>
>
> Thanks
> Mario
>
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag von Felix
> > Kühling
> > Gesendet: Mittwoch, 17. Dezember 2003 09:21
> > An: Mario Premke
> > Cc: dri-devel
> > Betreff: Re: [Dri-devel] Compilation Error
> >
> >
> > 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
> >
>
>
>
> -------------------------------------------------------
> 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_id78&alloc_id371&opÌk
> --
> _______________________________________________
> Dri-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dri-devel
>



-------------------------------------------------------
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_id78&alloc_id371&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to