Hi I'm trieing to compile the CVS tree under FreeBSD. I'm doing everything
as it is said in the INSTALL file but as I use ./build.3dfx all | tee make.hst
I get the following errors:
"makefile.autoconf", line 471: Missing dependency operator
"makefile.autoconf", line 474: Need an operator
"makefile.autoconf", line 478: Need an operator
"makefile.autoconf", line 492: Missing dependency operator
"makefile.autoconf", line 496: Need an operator
"makefile.autoconf", line 498: Missing dependency operator
"makefile.autoconf", line 503: Need an operator
"makefile.autoconf", line 505: Missing dependency operator
"makefile.autoconf", line 510: Need an operator
make: fatal errors encountered -- cannot continue
do I have to install/configure anything else before that??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok i found the fault by myself. YOu have to use the gmake not the FreeBSD make. But now i get another failure: i started to compile with gmake -f makefile.autoconf all and i get this error message:
....
ath -DBIG_OPT -Wall -I../../../cinit -I../../../h3/glide3/src -I../../../h3/incsrc -I../../../h3/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus/lib -O6 -m486 -Wp,-MD,.deps/fxos.pp -c -fPIC -DPIC ../../../swlibs/fxmisc/fxos.c -o .libs/fxos.lo
../../../swlibs/fxmisc/fxos.c: In function `fxTime':
../../../swlibs/fxmisc/fxos.c:72: `HZ' undeclared (first use in this function)
../../../swlibs/fxmisc/fxos.c:72: (Each undeclared identifier is reported only once
../../../swlibs/fxmisc/fxos.c:72: for each function it appears in.)
../../../swlibs/fxmisc/fxos.c:74: warning: control reaches end of non-void function
../../../swlibs/fxmisc/fxos.c: In function `fxFopenPath':
../../../swlibs/fxmisc/fxos.c:101: warning: suggest parentheses around assignment used as truth value
../../../swlibs/fxmisc/fxos.c:118: warning: suggest parentheses around assignment used as truth value
make[2]: *** [fxos.lo] Fehler 1
make[2]: Leaving directory /root/CVS-GLIDE/Glide3/build/swlibs/fxmisc
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory /root/CVS-GLIDE/Glide3/build/swlibs
make: *** [all-recursive] Fehler 1
any idea about that? Is a tutorial about the compilation process planed?
If not I would like to do it, if i ever get menage it to do by myself. ;-)
Regards Thomas Koper
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are a couple of problems with the build system under FreeBSD. The first is yours. In fxos.c, there is an ifdef the looks for sparc, and if it doesn't find it, compiles in Windows code. Remove everything after the sparc def, and then the def. This will get the file to build. Then there is an issue with DRI, no matter what you use in configure, you get DRI code that doesn't build yet. I've got this figured out and have gotten through the how build and install. I'm now working on getting the tests to build. Missing so references in the libglide3.so, and am tracking this down now. I'll post an update when I get most of the test demos working. I'll probably setup a CVS tree for all the FreeBSD people. Seeing how no one is really supporting the only really true OS. :-)
There can be only one!
I hate the 32 different flavors of linux that we now have.
By the way, I'm just about done porting the linux driver for the VooDoo 3500 over to FreeBSD :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I'm trieing to compile the CVS tree under FreeBSD. I'm doing everything
as it is said in the INSTALL file but as I use ./build.3dfx all | tee make.hst
I get the following errors:
"makefile.autoconf", line 471: Missing dependency operator
"makefile.autoconf", line 474: Need an operator
"makefile.autoconf", line 478: Need an operator
"makefile.autoconf", line 492: Missing dependency operator
"makefile.autoconf", line 496: Need an operator
"makefile.autoconf", line 498: Missing dependency operator
"makefile.autoconf", line 503: Need an operator
"makefile.autoconf", line 505: Missing dependency operator
"makefile.autoconf", line 510: Need an operator
make: fatal errors encountered -- cannot continue
do I have to install/configure anything else before that??
HI,
Ok i found the fault by myself. YOu have to use the gmake not the FreeBSD make. But now i get another failure: i started to compile with gmake -f makefile.autoconf all and i get this error message:
....
ath -DBIG_OPT -Wall -I../../../cinit -I../../../h3/glide3/src -I../../../h3/incsrc -I../../../h3/minihwc -I. -I../../../swlibs/fxmemmap -I../../../swlibs/fxmisc -I../../../swlibs/newpci/pcilib -I../../../swlibs/texus/lib -O6 -m486 -Wp,-MD,.deps/fxos.pp -c -fPIC -DPIC ../../../swlibs/fxmisc/fxos.c -o .libs/fxos.lo
../../../swlibs/fxmisc/fxos.c: In function `fxTime':
../../../swlibs/fxmisc/fxos.c:72: `HZ' undeclared (first use in this function)
../../../swlibs/fxmisc/fxos.c:72: (Each undeclared identifier is reported only once
../../../swlibs/fxmisc/fxos.c:72: for each function it appears in.)
../../../swlibs/fxmisc/fxos.c:74: warning: control reaches end of non-void function
../../../swlibs/fxmisc/fxos.c: In function `fxFopenPath':
../../../swlibs/fxmisc/fxos.c:101: warning: suggest parentheses around assignment used as truth value
../../../swlibs/fxmisc/fxos.c:118: warning: suggest parentheses around assignment used as truth value
make[2]: *** [fxos.lo] Fehler 1
make[2]: Leaving directory /root/CVS-GLIDE/Glide3/build/swlibs/fxmisc
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory /root/CVS-GLIDE/Glide3/build/swlibs
make: *** [all-recursive] Fehler 1
any idea about that? Is a tutorial about the compilation process planed?
If not I would like to do it, if i ever get menage it to do by myself. ;-)
Regards Thomas Koper
There are a couple of problems with the build system under FreeBSD. The first is yours. In fxos.c, there is an ifdef the looks for sparc, and if it doesn't find it, compiles in Windows code. Remove everything after the sparc def, and then the def. This will get the file to build. Then there is an issue with DRI, no matter what you use in configure, you get DRI code that doesn't build yet. I've got this figured out and have gotten through the how build and install. I'm now working on getting the tests to build. Missing so references in the libglide3.so, and am tracking this down now. I'll post an update when I get most of the test demos working. I'll probably setup a CVS tree for all the FreeBSD people. Seeing how no one is really supporting the only really true OS. :-)
There can be only one!
I hate the 32 different flavors of linux that we now have.
By the way, I'm just about done porting the linux driver for the VooDoo 3500 over to FreeBSD :-)