discuss-gnustep
[Top][All Lists]
Advanced

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

Re: problem building -base (cvs)


From: Chris B. Vetter
Subject: Re: problem building -base (cvs)
Date: Fri, 30 May 2003 10:43:39 -0700

On Fri, 30 May 2003 16:12:24 +0200
Riccardo Mottola <multix@ngi.it> wrote:
[...]
> the first attempt (after commenting out a definition that caused the
> previous error post) I went this far:
[...]
> after wrapping the atement in the mentioned line and the following
> if-else between {} braces, as <cbv> suggested in #gnustep, I compiled
> further. Probably this change should be included so that gcc 2 cna
> digest the declarations....

The problem here is that his gcc (IIRC 2.95.3) couldn't handle variable
declarations in the middle of the method, without a "scope".

  {
    [...]
    [HANDLER unparsedEntityDecl: UTF8Str(name)
        [...]
    START(unparsedEntityDecl:public:system:notationName:, void,
          (id,SEL,id,id,id,id));

    if (imp != treeImp)
    [...]
  }

START() is a macro that declares sel, imp and treeImp (line 2484) so
creating a scope by adding '{' before START() and '}' after if() fixed
that problem.

> But now I stop at:
> Making all for library libgnustep-base...
> gmake[2]: *** No rule to make target
> `Additions/static_obj/sparc/openbsd3.3/gnu-gnu-gnu/subproject.o',
> needed
> by`static_obj/sparc/openbsd3.3/gnu-gnu-gnu/libgnustep-base_s.a'. 
> Stop.
> and.. now ?

Your system seems to search for an archive library (libfoo.a) but -base
is a shared library (libfoo.so).
Compiling GNUstep with 'make shared=no' might help.

-- 
Chris




reply via email to

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