Greetings! Thanks for posting, as its been a while since someone wanted to compile on solaris.
GCL cvs has new support for inline complex arithmetic. Apparently you're system has /usr/include/complex.h, but the syntax is somewhat different. If you post the relevant manpages (i.e. try man -k complex), that would be helpful. If you choose the stable branch instead, I think the build will likely proceed out of the box: cvs -z9 -q co -d gcl-2.6.8pre -rVersion_2_6_8pre gcl Take care, Richard Kowalski <rich...@optimal.org> writes: > Hi Camm, > > When I build GCL from CVS checkout it fails like this: > > gcc -c -fsigned-char -pipe -Wall -O3 -fomit-frame-pointer > -I/opt/gcl/o -I../h -I../gcl-tk catch.c > ../bin/dpp symbol > dpp: symbol.d -> symbol.c > gcc -c -fsigned-char -pipe -Wall -O3 -fomit-frame-pointer > -I/opt/gcl/o -I../h -I../gcl-tk symbol.c > rm symbol.c > gcc -D_GNU_SOURCE -c -fsigned-char -pipe -Wall -O3 > -fomit-frame-pointer -I/opt/gcl/o -I../h -I../gcl-tk cfun.c > gcc -c -fsigned-char -pipe -Wall -O3 -fomit-frame-pointer > -I/opt/gcl/o -I../h -I../gcl-tk cmpaux.c > cmpaux.c: In function `object_to_fcomplex': > cmpaux.c:329: error: `_Imaginary_I' undeclared (first use in this function) > cmpaux.c:329: error: (Each undeclared identifier is reported only once > cmpaux.c:329: error: for each function it appears in.) > cmpaux.c: In function `object_to_dcomplex': > cmpaux.c:366: error: `_Imaginary_I' undeclared (first use in this function) > make[1]: *** [cmpaux.o] Error 1 > rm list.c > make[1]: Leaving directory `/opt/gcl/o' > make: *** [unixport/saved_pre_gcl] Error 2 > # > > Best, > Richard > > > > On 07/10/2011 04:49 PM, Richard Kowalski wrote: >> Hi Camm, >> >> I read an email you wrote about being able to compile GNU GCL on >> OpenSolaris / Nexenta. Do you have a script to do this with patches >> and such? I would like to build GCL on OpenIndiana. >> >> (http://lists.gnu.org/archive/html/gcl-devel/2007-05/msg00034.html) >> >> Thanks in Advance! >> >> Best, >> Richard >> > > > > > -- Camm Maguire c...@maguirefamily.org ========================================================================== "The earth is but one country, and mankind its citizens." -- Baha'u'llah _______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org https://lists.gnu.org/mailman/listinfo/gcl-devel