Re: [Openthreads-info] OpenThreads on IRIX problem...
Brought to you by:
sspicer
From: Sean S. <ss...@ma...> - 2003-10-08 03:06:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =0D Hi Tammie,=0D =0D For MipsPro v7.41 you have to add the -LANG:libc_in_namespace_std=3DOFF = =0D flag to the DEF line in Make/makedefs=0D =0D cheers,=0D =0D sean=0D =0D On Tuesday, October 7, 2003, at 04:02 PM, Panar, Tammie wrote:=0D =0D > OS: IRIX 6.5=0D > Compiler: MIPS Pro v.7.41=0D >=0D > When I run gmake I get the following:=0D > [snip completed stuff]=0D > CC -n32 -O2 -DOPENTHREADS_VERSION=3D\"1.2.1\" =0D > -DOPENTHREADS_VERSION_REVISION=3D"" -DGLX_GLXEXT_PROTOTYPES -LANG:std = =0D > -LIB:std -OPT:Olimit=3D0 -DEBUG:woff=3D1682 -DEBUG:woff=3D3303 = -MDupdate =0D > Makedepend ARCH=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D 32 = -I../.././include=A0 =0D > -I../.././include=A0 -I../.././include -I. -c ../PThreadCondition.c++=0D= >=0D > cc-1132 CC: ERROR File =3D /usr/include/sys/types.h, Line =3D 535=0D > =A0 The namespace "std" has no member "time_t".=0D >=0D > =A0 __SGI_LIBC_USING_FROM_STD(time_t)=0D > =A0 ^=0D >=0D > cc-1132 CC: ERROR File =3D /usr/include/sys/types.h, Line =3D 536=0D > =A0 The namespace "std" has no member "clock_t".=0D >=0D > [snip rest of cc-1132 errors]=0D >=0D > = ----------------------------------------------------------------------- =0D= > ------------------------=0D > I have hacked a mod to Make/makedefs to get it to compile with gcc 3.3 = =0D > instead (gmake COMPILER=3Dgnu), but I am not positive if I got all the = =0D > flags right. Could anyone either help me out with the error (which I =0D= > believe is really a compiler problem; info came from OpenSceneGraph on = =0D > the same issue) or take a quick look at the changes I made to makedefs = =0D > and point out any big problems? I don't know how to make a diff file =0D= > either, but here are the old and new sections:=0D >=0D > Regards,=0D > -Tammie=0D >=0D > ----------------------------------- OLD =0D > ------------------------------------=0D > #### IRIX Specific definitions=0D > ifeq ($(OS),IRIX)=0D >=0D > =A0 CXX=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D CC=0D > =A0 DEPARG=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -M=0D > =A0 INC=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 +=3D=A0 = -I${TOPDIR}/include=0D > =A0 DEF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 +=3D=A0 -LANG:std = -LIB:std -OPT:Olimit=3D0 \=0D > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -DEBUG:woff=3D1682 =0D > -DEBUG:woff=3D3303\=0D > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -MDupdate $(MAKEDEPEND)\=0D= > =A0 OPTF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -O2=0D > =A0 DBGF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -g=0D > =A0 SHARED=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -shared=0D > =A0 ARCH=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D 32=0D > ifeq ($(ARCH),64)=0D > =A0=A0=A0 ARCHARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -64=0D > else=0D > =A0=A0=A0 ARCHARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -n32=0D > endif=0D > =A0 ARCH_EXT=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D $(ARCH)=0D > =A0 LINKARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -L${TOPDIR}/lib -LANG:std = -LIB:std -OPT:Olimit=3D0=0D > =A0 INSTXCMD=A0=A0=A0=A0=A0=A0=A0 =3D cp=0D > =A0 INSTRCMD=A0=A0=A0=A0=A0=A0=A0 =3D cp=0D > Endif=0D > ----------------------------------- NEW =0D > ------------------------------------=0D > #### IRIX Specific definitions=0D > ifeq ($(OS),IRIX)=0D > ifeq ($(COMPILER),gnu)=0D > =A0 CXX=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D g++=0D > =A0 DEF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -W -Wall -fPIC = -fpermissive=0D > =A0 LINKARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -L${TOPDIR}/lib = -OPT:Olimit=3D0=0D > ifeq ($(ARCH),64)=0D > =A0=A0=A0 ARCHARGS=A0=A0=A0=A0=A0=A0=A0 =3D -m64=0D > else=0D > =A0=A0=A0 ARCHARGS=A0=A0=A0=A0=A0=A0=A0 =3D=0D > endif=0D > else=0D > =A0 CXX=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D CC=0D > =A0 DEF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 +=3D=A0 -LANG:std = -LIB:std -OPT:Olimit=3D0 \=0D > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = -DEBUG:woff=3D1682 -DEBUG:woff=3D3303\=0D > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = -MDupdate $(MAKEDEPEND)\=0D > =A0 ARCH=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D 32=0D > =A0 ARCH_EXT=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D $(ARCH)=0D > ifeq ($(ARCH),64)=0D > =A0=A0=A0 ARCHARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -64=0D > else=0D > =A0=A0=A0 ARCHARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -n32=0D > endif=0D > =A0 LINKARGS=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -L${TOPDIR}/lib -LANG:std = -LIB:std -OPT:Olimit=3D0=0D > endif=0D > =A0 DEPARG=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -M=0D > =A0 SHARED=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -shared=0D > =A0 INC=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 +=3D=A0 = -I${TOPDIR}/include=0D > =A0 OPTF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -O2=0D > =A0 DBGF=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D -g=0D > =A0 INSTXCMD=A0=A0=A0=A0=A0=A0=A0 =3D cp=0D > =A0 INSTRCMD=A0=A0=A0=A0=A0=A0=A0 =3D cp=0D > endif=0D >=0D >=0D ________________________________________________________________=0D Sean Spicer=0D Sr. Development Lead=0D Magic Earth, Inc (A Halliburton Company)=0D www.magic-earth.com=0D =0D pgp key fingerprint: 8CED 19B7 3A3A BF54 B8E8 FB11 E044 F6B8 1585 9D54=0D= pgp public key available at www.keyserver.net or pgp.mit.edu (KEY ID: =0D= 15859D54)=0D =0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE/g38o4ET2uBWFnVQRAqLzAKDKkDGxfWu8lZKmVKzsNaavYoaK3wCgmFNO PKN76Fj8q0ItIkUmbpg9NxE=3D =3DDqTs -----END PGP SIGNATURE----- |