Date: Sat, 04 Sep 1999 18:52:01 -0700 From: Ben Speirs <igiveup@ix.netcom.com> To: Doug Rabson <dfr@nlsystems.com> Cc: multimedia <multimedia@FreeBSD.ORG> Subject: Re: New 3D software available Message-ID: <37D1CCC1.C61BAD16@ix.netcom.com> References: <Pine.BSF.4.10.9909050022170.2081-100000@salmon.nlsystems.com>
index | next in thread | previous in thread | raw e-mail
Doug Rabson wrote:
>
> I forgot to mention, you need to use egcs to build it on 3.2. Install the
> egcs port and possibly change make/unix_gcc.mk to reflect exactly where
> egcs was installed (I know this is ugly - I'm going to improve it soon).
> You must make sure that you build the egcs port with 'make
> WANT_SHAREDLIBS=t'. This is a lot easier on -current which uses egcs as
> the system compiler.
>
> --
> Doug Rabson Mail: dfr@nlsystems.com
> Nonlinear Systems Ltd. Phone: +44 181 442 9037
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
Hey I must be smarter than I look! I actually tried installing the egcs port
on one of my earlier attempts but it had no noticeable effect. With your
suggestion I am getting closer but I am still not there. Here is what I did.
Deinstalled egcs. Re-built and reinstalled using WANT_SHAREDLIBS=t. Modified
the make/unix_gcc.mk as follows.
diff make/unix_gcc.mk make/unix_gcc.mk.bak
38,39c38,39
< GCCTARGET= i386-portbld-freebsd3.2
< GCCVER= 2.95.1
---
> GCCTARGET= i386-unknown-freebsd3.0
> GCCVER= egcs-2.91.62
41c41
< GCC= i386-portbld-freebsd3.2-gcc
---
> GCC= egcc
Now when I try the make I get this.
gmake
gmake[1]: Entering directory `/usr/home/bspeirs/QDraw-0.5/maths'
gmake[2]: Entering directory `/usr/home/bspeirs/QDraw-0.5/maths/sdk'
i386-portbld-freebsd3.2-gcc -x c++ -ansi -Wall -g -D_THREAD_SAFE -O2
-I../../drivers -I../../include -I../../maths/sdk -I../../draw/sdk -I../../qi
-I../../app -I../../client/sdk -I../../kernel/api -I../../kernel -Dq_unix
-I/usr/X11R6/include
-I/usr/local/lib/gcc-lib/i386-portbld-freebsd3.2/2.95.1/include/g++
-I/usr/local/include -c -o../../obj/release/maths/sdk/matrix3.o matrix3.cpp
In file included from maths.h:219,
from matrix3.cpp:28:
vec3.h: In instantiation of `Maths::Vec3<float>':
vec3.h:345: instantiated from here
vec3.h:125: invalid use of undefined type `struct Maths::Vec3<float>'
vec3.h:151: forward declaration of `struct Maths::Vec3<float>'
vec3.h:124: invalid use of undefined type `struct Maths::Vec3<float>'
vec3.h:151: forward declaration of `struct Maths::Vec3<float>'
vec3.h: In instantiation of `Maths::Vec3<double>':
vec3.h:373: instantiated from here
vec3.h:125: invalid use of undefined type `struct Maths::Vec3<double>'
vec3.h:151: forward declaration of `struct Maths::Vec3<double>'
vec3.h:124: invalid use of undefined type `struct Maths::Vec3<double>'
vec3.h:151: forward declaration of `struct Maths::Vec3<double>'
In file included from maths.h:220,
from matrix3.cpp:28:
vec4.h: In instantiation of `Maths::Vec4<double>':
vec4.h:220: instantiated from here
vec4.h:89: invalid use of undefined type `struct Maths::Vec4<double>'
vec2.h:32: forward declaration of `struct Maths::Vec4<double>'
vec4.h:89: confused by earlier errors, bailing out
gmake[2]: *** [../../obj/release/maths/sdk/matrix3.o] Error 1
gmake[2]: Leaving directory `/usr/home/bspeirs/QDraw-0.5/maths/sdk'
gmake[1]: *** [subdirs] Error 99
gmake[1]: Leaving directory `/usr/home/bspeirs/QDraw-0.5/maths'
gmake: *** [subdirs] Error 99
Am I getting any closer or am I just wandering aimlessly in the woods? At
this point my non-programmer brain is feeling a bit overheated. I'm off to
throw a couple pints of beer on it. I will be back!
Oh, FWIW I'm using a 3.2 stable system, Sept/1/99 build.
Thanks for the help.
--
-Ben Speirs
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37D1CCC1.C61BAD16>
