[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make files fail, asking for c++



Hello,

I'm trying to compile XFree86-4.3.99.15 using make World >& world.log, however 
it fails, as seen from the world.log file. The Imakefiles generates a 
spurious reference to a c++ compiler, however, gcc should probably be used.

I'm running a VIA Nehemiah M10000 Debian Sarge system with 512 MB RAM. The 
VESA driver does not work.

I also had to modify the Imake file for xc/lib/lbxutil/lbx_zlib by adding 
-I../../../extras/zlib. zlib seems to be moved from -I../../zlib. Here is the 
new Imakefile:
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:46:41 cpqbld Exp $

#include <Library.tmpl>

SRCS = lbx_zlib.c lbx_zlib_io.c reqstats.c

OBJS = lbx_zlib.o lbx_zlib_io.o reqstats.o

INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC) -I$(SERVERSRC)/include \
           -I../../../include/extensions -I../../zlib -I../../../extras/zlib

SubdirLibraryRule($(OBJS))
NormalLibraryObjectRule()
NormalLintTarget($(SRCS))

DependTarget()

And this is the last 40 lines of world.log:
normal.c:54: warning: `Normalize' defined but not used
rm -f priorityq.o unshared/priorityq.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 			  
-Wmissing-prototypes -Wmissing-declarations 			  -Wredundant-decls 
-Wnested-externs -Wundef  -I../include 	-I../../../include 	-I../../../
include/GL  -I../../.. -I../../../exports/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   -DNDEBUG  	-O2 -fno-strength-reduce -fno-strict-aliasing   
priorityq.c -o unshared/priorityq.o
rm -f priorityq.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic 
-Wall -Wpointer-arith -Wstrict-prototypes 			  -Wmissing-prototypes 
-Wmissing-declarations 			  -Wredundant-decls -Wnested-externs -Wundef  -I../
include 	-I../../../include 	-I../../../include/GL  -I../../.. -I../../../
exports/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   -DNDEBUG     -fPIC 
priorityq.c
rm -f render.o unshared/render.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 			  
-Wmissing-prototypes -Wmissing-declarations 			  -Wredundant-decls 
-Wnested-externs -Wundef  -I../include 	-I../../../include 	-I../../../
include/GL  -I../../.. -I../../../exports/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   -DNDEBUG  	-O2 -fno-strength-reduce -fno-strict-aliasing   
render.c -o unshared/render.o
rm -f render.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic 
-Wall -Wpointer-arith -Wstrict-prototypes 			  -Wmissing-prototypes 
-Wmissing-declarations 			  -Wredundant-decls -Wnested-externs -Wundef  -I../
include 	-I../../../include 	-I../../../include/GL  -I../../.. -I../../../
exports/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   -DNDEBUG     -fPIC 
render.c
rm -f sweep.o unshared/sweep.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 			  
-Wmissing-prototypes -Wmissing-declarations 			  -Wredundant-decls 
-Wnested-externs -Wundef  -I../include 	-I../../../include 	-I../../../
include/GL  -I../../.. -I../../../exports/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   -DNDEBUG  	-O2 -fno-strength-reduce -fno-strict-aliasing   
sweep.c -o unshared/sweep.o
rm -f sweep.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic 
-Wall -Wpointer-arith -Wstrict-prototypes 			  -Wmissing-prototypes 
-Wmissing-declarations 			  -Wredundant-decls -Wnested-externs -Wundef  -I../
include 	-I../../../include 	-I../../../include/GL  -I../../.. -I../../../
exports/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   -DNDEBUG     -fPIC sweep.c
rm -f tess.o unshared/tess.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 			  
-Wmissing-prototypes -Wmissing-declarations 			  -Wredundant-decls 
-Wnested-externs -Wundef  -I../include 	-I../../../include 	-I../../../
include/GL  -I../../.. -I../../../exports/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   -DNDEBUG  	-O2 -fno-strength-reduce -fno-strict-aliasing   
tess.c -o unshared/tess.o
rm -f tess.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic 
-Wall -Wpointer-arith -Wstrict-prototypes 			  -Wmissing-prototypes 
-Wmissing-declarations 			  -Wredundant-decls -Wnested-externs -Wundef  -I../
include 	-I../../../include 	-I../../../include/GL  -I../../.. -I../../../
exports/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   -DNDEBUG     -fPIC tess.c
rm -f tessmono.o unshared/tessmono.o
gcc -m32 -c -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes 			  
-Wmissing-prototypes -Wmissing-declarations 			  -Wredundant-decls 
-Wnested-externs -Wundef  -I../include 	-I../../../include 	-I../../../
include/GL  -I../../.. -I../../../exports/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   -DNDEBUG  	-O2 -fno-strength-reduce -fno-strict-aliasing   
tessmono.c -o unshared/tessmono.o
rm -f tessmono.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic 
-Wall -Wpointer-arith -Wstrict-prototypes 			  -Wmissing-prototypes 
-Wmissing-declarations 			  -Wredundant-decls -Wnested-externs -Wundef  -I../
include 	-I../../../include 	-I../../../include/GL  -I../../.. -I../../../
exports/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   -DNDEBUG     -fPIC 
tessmono.c
rm -f DONE
touch DONE
make[5]: Leaving directory `/root/xc/lib/GLU/libtess'
making all in lib/GLU/libnurbs/internals...
make[5]: Entering directory `/root/xc/lib/GLU/libnurbs/internals'
rm -f arc.o unshared/arc.o
c++ -m32 -c   -I../nurbtess 	-I../../libutil 	-I../../include 	-I../../../../
include 	-I../../../../include/GL -I../../../.. -I../../../../exports/include  
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE 
-D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE 				 -D_GNU_SOURCE 				   
-D_EXTENSIONS_ -DLIBRARYBUILD -DNDEBUG  	-O2 -fno-strength-reduce 
-fno-strict-aliasing   arc.cc -o unshared/arc.o
/bin/sh: line 1: c++: command not found
make[5]: *** [arc.o] Error 127
make[5]: Leaving directory `/root/xc/lib/GLU/libnurbs/internals'
make[4]: *** [libnurbs/internals] Error 2
make[4]: Leaving directory `/root/xc/lib/GLU'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/root/xc'
make: *** [World] Error 2

Best regards from Einar Joergensen



_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[X Forum]     [Xorg]     [XFree86]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Kernel]

Powered by Linux