[Top][All Lists]

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

[Gcl-devel] Re: GCL on Solaris 9

From: Camm Maguire
Subject: [Gcl-devel] Re: GCL on Solaris 9
Date: 15 Dec 2004 09:38:54 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2


This is a failure of the logic configure uses to determine your
boolean syntax in your bfd library.  configure knows about the
following two possibilities:

#define MY_BFD_BOOLEAN bfd_boolean
#define MY_BFD_BOOLEAN boolean
#define MY_BFD_FALSE false
#define MY_BFD_TRUE true

Here is the test:

        AC_MSG_CHECKING(for useable bfd_boolean)
        AC_TRY_RUN([#define IN_GCC
                    #include <bfd.h>
                    bfd_boolean foo() {return FALSE;}
                    int main() {return 0;}],

So apparently you are defaulting to the second case, but false and
true are not defined either.  

Perhaps you could report the prototype of your 


function in your bfd.h?  

In general, I recommend your first attempts should be to configure

--disable-statsysbfd --enable-locbfd.

This will use GCL's own snapshot of bfd, which is known to work on
sparc (and elsewhere).

If you get a chance to post your full configure and make output, I'd
be appreciative, as well as any changes in addition to the patches you
felt the need to make.

Take care, and thanks so much for your feedback!

"Kostas Oikonomou" <address@hidden> writes:

> Hi Camm
> I am working with axiom--main--1--patch-13.  Still having some trouble with 
> GCL :-)
> I applied all your patches.  Here is how the make fails:
> gcc -c -I/opt/csw/include -Wall -DVOL=volatile -fsigned-char -pipe -O3 
> -fomit-frame-pointer  -I/home/build/axiom--main--1--patch-13/lsp/gcl-2.6.5/o 
> -I../h -I../gcl-tk fat_string.c
> fat_string.c:229: error: parse error before "bfd_combined_table_update"
> fat_string.c:229: warning: return type defaults to `int'
> fat_string.c: In function `bfd_combined_table_update':
> fat_string.c:232: error: `false' undeclared (first use in this function)
> fat_string.c:232: error: (Each undeclared identifier is reported only once
> fat_string.c:232: error: for each function it appears in.)
> fat_string.c:235: error: `true' undeclared (first use in this function)
> make[4]: *** [fat_string.o] Error 1
> make[4]: Leaving directory 
> `/home/build/axiom--main--1--patch-13/lsp/gcl-2.6.5/o'
> make[3]: *** [unixport/saved_pre_gcl] Error 2
> make[3]: Leaving directory 
> `/home/build/axiom--main--1--patch-13/lsp/gcl-2.6.5'
> /bin/sh: unixport/saved_gcl: not found
> make[2]: *** [gcldir] Error 1
> make[2]: Leaving directory `/home/build/axiom--main--1--patch-13/lsp'
> make[1]: *** [lspdir] Error 2
> make[1]: Leaving directory `/home/build/axiom--main--1--patch-13'
> make: *** [all] Error 2
> bash-2.05$
> The reason is that there's a missing ; after "static MY_BFD_BOOLEAN" in 
> fat_string.c.
> I fixed that, but then make complained that "false" was undefined in  
> To me that's an indication of something more serious that is wrong.
> So I didn't attempt any further hacks.
> I'd appreciate your help.
>                               Kostas
> Here's my lsp/Makefile.pamphlet:

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

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