Here are the last 30 lines of the my make.hst file. I read before that GCINC just needs to have /usr/X11R6/include added to it, but I must have made an error somewhere:
make.hst: /bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -c ../../../h5/minihwc/hwcio.c mkdir .libs gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/hwcio.pp -c -fPIC -DPIC ../../../h5/minihwc/hwcio.c -o .libs/hwcio.lo gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/hwcio.pp -c ../../../h5/minihwc/hwcio.c -o hwcio.o >/dev/null 2>&1 mv -f .libs/hwcio.lo hwcio.lo /bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -c ../../../h5/minihwc/gdebug.c rm -f .libs/gdebug.lo gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/gdebug.pp -c -fPIC -DPIC ../../../h5/minihwc/gdebug.c -o .libs/gdebug.lo gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/gdebug.pp -c ../../../h5/minihwc/gdebug.c -o gdebug.o >/dev/null 2>&1 mv -f .libs/gdebug.lo gdebug.lo /bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -c ../../../h5/minihwc/linhwc.c rm -f .libs/linhwc.lo gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/linhwc.pp -c -fPIC -DPIC ../../../h5/minihwc/linhwc.c -o .libs/linhwc.lo ../../../h5/minihwc/linhwc.c:63: X11/Xlib.h: No such file or directory ../../../h5/minihwc/linhwc.c:64: X11/extensions/xf86dga.h: No such file or directory ../../../h5/minihwc/linhwc.c:65: X11/extensions/xf86vmode.h: No such file or directory make[2]: *** [linhwc.lo] Error 1 make[2]: Leaving directory `/usr/local/src/glide_cvs/glide3x/build/h5/minihwc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/glide_cvs/glide3x/build/h5' make: *** [all-recursive] Error 1 grep: unrecognized option `--invert-match' Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. Filesystem 1k-blocks Used Available Use% Mounted on /dev/hde5 1523192 1111548 332928 77% /usr Time Elapsed: 0 Years, 0 Days, 0 Hours, 1 Minutes, 35 Seconds ./build.3dfx: [: -: integer expression expected Disk usage: 0.0 Mb
--end make.hst
3dfx.mak:
ifeq "$(OS)" "Linux" DEBUGDEFS = -DGDBG_INFO_ON -DGLIDE_DEBUG GCDEFS = -DENDB -DX11 GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I/usr/X11R6/include GCOPTS = -Wall ifeq "$(FX_GLIDE_PIC)" "1" GCOPTS := $(GCOPTS) -fPIC -DPIC endif
--end 3dfx.mak
any suggestions are appreciated.
-tim
You need to install your X11 headers. e.g. XFree86-devel package
- Raul Dias
Log in to post a comment.
Here are the last 30 lines of the my make.hst file. I read before that GCINC just needs to have /usr/X11R6/include added to it, but I must have made an error somewhere:
make.hst:
/bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -c ../../../h5/minihwc/hwcio.c
mkdir .libs
gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/hwcio.pp -c -fPIC -DPIC ../../../h5/minihwc/hwcio.c -o .libs/hwcio.lo
gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/hwcio.pp -c ../../../h5/minihwc/hwcio.c -o hwcio.o >/dev/null 2>&1
mv -f .libs/hwcio.lo hwcio.lo
/bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -c ../../../h5/minihwc/gdebug.c
rm -f .libs/gdebug.lo
gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/gdebug.pp -c -fPIC -DPIC ../../../h5/minihwc/gdebug.c -o .libs/gdebug.lo
gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/gdebug.pp -c ../../../h5/minihwc/gdebug.c -o gdebug.o >/dev/null 2>&1
mv -f .libs/gdebug.lo gdebug.lo
/bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -c ../../../h5/minihwc/linhwc.c
rm -f .libs/linhwc.lo
gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../../h5/glide3/src -I../../h5/incsrc -I../../../h5/incsrc -I../../../h5/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/linhwc.pp -c -fPIC -DPIC ../../../h5/minihwc/linhwc.c -o .libs/linhwc.lo
../../../h5/minihwc/linhwc.c:63: X11/Xlib.h: No such file or directory
../../../h5/minihwc/linhwc.c:64: X11/extensions/xf86dga.h: No such file or directory
../../../h5/minihwc/linhwc.c:65: X11/extensions/xf86vmode.h: No such file or directory
make[2]: *** [linhwc.lo] Error 1
make[2]: Leaving directory `/usr/local/src/glide_cvs/glide3x/build/h5/minihwc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/glide_cvs/glide3x/build/h5'
make: *** [all-recursive] Error 1
grep: unrecognized option `--invert-match'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hde5 1523192 1111548 332928 77% /usr
Time Elapsed: 0 Years, 0 Days, 0 Hours, 1 Minutes, 35 Seconds
./build.3dfx: [: -: integer expression expected
Disk usage: 0.0 Mb
--end make.hst
3dfx.mak:
ifeq "$(OS)" "Linux"
DEBUGDEFS = -DGDBG_INFO_ON -DGLIDE_DEBUG
GCDEFS = -DENDB -DX11
GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I/usr/X11R6/include
GCOPTS = -Wall
ifeq "$(FX_GLIDE_PIC)" "1"
GCOPTS := $(GCOPTS) -fPIC -DPIC
endif
--end 3dfx.mak
any suggestions are appreciated.
-tim
You need to install your X11 headers.
e.g. XFree86-devel package
- Raul Dias