|
From: Mario P. <pr...@es...> - 2003-12-17 09:48:12
|
OK, my host.def follows with all comments teared off [the GccWarningOptio=
ns 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=3D"" CC=3D"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=3D"" CC=3D"g=
cc"
make[2]: Entering directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
making imake with BOOTSTRAPCFLAGS=3D and CROSSCOMPILEFLAGS=3D-DCROSSCOMPI=
LEDIR=3D"" in config/imake
gcc -o ccimake -DCROSSCOMPILEDIR=3D\"\" -O -I../../include -I../../impor=
ts/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` im=
ake.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=3D../.. -DCURDIR=3D./config/makede=
pend
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o b=
ootstrap
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=3D../.. -DCURDIR=3D./config/imake -DBoo=
tStrap
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=3D"" CC=3D"g=
cc" 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 -W=
missing-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=3D199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_=
BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=3D15 -DN
ARROWPROTO -DCPP_PROGRAM=3D"\"cpp\"" -DHAS_MERGE_CONSTANTS=3D`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=FCngliche Nachricht-----
> Von: dri...@li...
> [mailto:dri...@li...]Im Auftrag von Felix
> K=FChling
> 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" <pr...@es...> 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=3D"" CC=3D=
"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.l=
og \#*
> > 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=3D"" CC=3D=
"gcc"
> > make[2]: Entering directory `/home/mapr/DRI-CVS/xc/xc/config/imake'
> > making imake with BOOTSTRAPCFLAGS=3D and
> > CROSSCOMPILEFLAGS=3D-DCROSSCOMPILEDIR=3D"" in config/imake
> > gcc -o
> > ccimake -DCROSSCOMPILEDIR=3D\"\" -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 imak=
e.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.p=
roto -f
> > ./config/makedepend/Imakefile -DTOPDIR=3D../.. -DCURDIR=3D./config/ma=
kedepend
> > 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/makedepe=
nd'
> > make[2]: Nothing to be done for `bootstrap'.
> > make[2]: Leaving directory `/home/mapr/DRI-CVS/xc/xc/config/makedepen=
d'
> > ./config/imake/imake -I./config/cf -s ./config/imake/Makefile.proto =
-f
> > ./config/imake/Imakefile -DTOPDIR=3D../.. -DCURDIR=3D./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=3D"" CC=3D=
"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-prototype=
s -Wmis
> > sing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-ext=
erns -W
> > undef
> > oSystemWarn -pipe -g -I../../include -I../../exports/include/X11 -=
I../..
> > -I../../exports/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_P=
OSIX_C_
> > SOURCE=3D199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVI=
D_SOURCE
> > -D_GNU_SOURCE -DFUNCPROTO=3D15 -DNARROWPROTO -DCPP_PROGRAM=3D"=
\"cpp\"" -D
> > HAS_MERGE_CONSTANTS=3D`if gcc -m32 -fmerge-constants -xc /dev/null /d=
ev/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 I=
BM's
> > Free Linux Tutorials. Learn everything from the bash shell to sys ad=
min.
> > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dcli=
ck
> > --
> > _______________________________________________
> > Dri-devel mailing list
> > Dri...@li...
> > https://lists.sourceforge.net/lists/listinfo/dri-devel
> >
>
>
> ------------ __\|/__ ___ ___ -------------------------
> Felix ___\_e -_/___/ __\___/ __\_____ You can do anything,
> K=FChling (_____\=C4/____/ /_____/ /________) just not everything
> fx...@gm... \___/ \___/ 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 admi=
n.
> Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick
> --
> _______________________________________________
> Dri-devel mailing list
> Dri...@li...
> https://lists.sourceforge.net/lists/listinfo/dri-devel
>
|