discuss-gnustep
[Top][All Lists]
Advanced

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

RE: Etoile on Solaris


From: Vaisburd, Haim
Subject: RE: Etoile on Solaris
Date: Thu, 24 Aug 2006 12:08:39 -0700

> typedef is no strict C and does not seem to be supported by gcc without 
> further ado. You haven't had this problem? Any ideas?

You meant typeof. I managed to compile GNUstep on Solaris 10,
but SPARC and 32 bits. I used latest available gcc (4.1.1),
which I also compiled from scratch.

I would try
1. Upgrade the compiler
2. Rewrite this macro with __typeof__ instead as David Ayers
   has just suggested.
3. Define your own MAX and include it before everything else.

--Tima

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Andreas Höschler
Sent: Thursday, August 24, 2006 11:36 AM
To: Chris Vetter
Cc: address@hidden
Subject: Re: Etoile on Solaris

Hello Chris,

>> Would you send us your modified source tree of Etoile that builds on 
>> Solaris?
>
> I didn't modify anything, except for a couple of changes in 
> GWorkspace's configure scripts, due to the fact that the required 
> SQLite3 version wasn't available. The mentioned applications and 
> frameworks compile(d) out-of-the-box.

We have upgraded to the latest GNUstep tree and retried to build Etoile 
on Solaris 10 (x86). We get

...
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:363: error: 
parse error before "_MIN_b"
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:363: error: 
`_MIN_a' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:363: error: 
`_MIN_b' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:364: error: 
parse error before "_MIN_a"
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:364: error: 
parse error before "_MIN_b"
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:368: error: 
parse error before "_MAX_a"
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:368: error: 
parse error before "_MAX_b"
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:368: error: 
`_MAX_a' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:368: error: 
`_MAX_b' undeclared (first use in this function)
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:369: error: 
parse error before "_MAX_a"
/opt/GNUstep/System/Library/Headers/Foundation/NSGeometry.h:369: error: 
parse error before "_MAX_b"
make[5]: *** [shared_obj/LCTextImporter.o] Error 1
make[4]: *** [LuceneKit_Importer.all.subproject.variables] Error 2
make[4]: Leaving directory 
`/usr/share/src/etoile/Etoile/Frameworks/LuceneKit/Source/Importer'
make[3]: *** [LuceneKit_Source.all.subproject.variables] Error 2
make[3]: Leaving directory 
`/usr/share/src/etoile/Etoile/Frameworks/LuceneKit/Source'
make[2]: *** [LuceneKit.all.library.variables] Error 2
make[2]: Leaving directory 
`/usr/share/src/etoile/Etoile/Frameworks/LuceneKit'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/usr/share/src/etoile/Etoile/Frameworks'
make: *** [internal-all] Error 2


typedef is no strict C and does not seem to be supported by gcc without 
further ado. You haven't had this problem? Any ideas?

Thanks,

   Andreas



_______________________________________________
Discuss-gnustep mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnustep






reply via email to

[Prev in Thread] Current Thread [Next in Thread]