gpa compiling issues?
Seele Varcuzzo
seele@obso1337.org
Sat Feb 1 19:48:02 2003
both 0.6.0 and 0.6.1
thanks for your suggestion.. it got rid of the one error, but then i got more:
server_access.c: In function `do_spawn':
server_access.c:386: warning: implicit declaration of function `signal'
server_access.c:386: `SIGCHLD' undeclared (first use in this function)
server_access.c:386: (Each undeclared identifier is reported only once
server_access.c:386: for each function it appears in.)
server_access.c:388: `SIG_DFL' undeclared (first use in this function)
*** Error code 1
it never ends!
btw.. im using gcc 3.2.1 .. i heard there might be some compatibility issues with obsolete headers, but this is a fairly update app
-- seele
Stop in /usr/home/seele/dev/gpa-0.6.0/src.
*** Error code 1
Stop in /usr/home/seele/dev/gpa-0.6.0.
*** Error code 1
Stop in /usr/home/seele/dev/gpa-0.6.0.
On Sat, 1 Feb 2003 19:18:40 +0100
Miguel Coca <mcoca@gnu.org> wrote:
> On Sat, Feb 01, 2003 at 12:45:44 -0500, Seele Varcuzzo wrote:
> > hi, im having problems compiling 0.6.x
>
> Does this happen with 0.6.1 too?
>
> I had similar reports from people compiling for Solaris, but it seems
> to have gone away in 0.6.1.
>
> > dcigettext.c: In function `plural_lookup':
> > dcigettext.c:993: called object is not a function
>
> I know the bug, it's in the included gettext code and (in Solaris) it
> was caused by a chain of bad luck in the portability defines.
>
> Basically, the tests are not finding strchr(), so a define is
> replacing it with index, which happens to be a variable name in that
> function, causing the error you saw.
>
> > any ideas? im using gcc 3.2.1 on FreeBSD RELENG_5_0
>
> As a quick and dirty fix, add this at some point near the top of
> intl/dcigettext.c:
>
> #define HAVE_STRCHR 1
>
> Maybe someone with more experience in gettext in general can tell us
> why this happens?
>
> Thanks,
> --
> Miguel Coca (mcoca@gnu.org) http://zipi.fi.upm.es/~e970095/
> OpenPGP: E60A CBF4 5C6F 914E B6C1 C402 8C4D C7B6 27FC 3CA8
>