Jonathan McDowell <[EMAIL PROTECTED]> writes:

> I'm having a few problems, some of which I had with 0.1.17:

[...]

> src/argp/argp.h:
> __restrict throws up errors - if I put
> 
> #define __restrict
> 
> after the #includes it works fine.

Hmm, I guess that's a glibc-ism (argp is ripped out from glibc). I'll
try to figure out what it is supposed to do; fixing the configure
script to generate an empty defininition where needed might solve the
problem.

> src/werror.h:
> va_list is defined in stdarg.h, which is not included. If I #include
> <stdarg.h> all is well.

Thanks. 

> And then a problem that I didn't see when compiling 0.1.17:
> I get problems with regards to argp_error and so on when it comes to
> linking lsh and so on. Some of this is solveable by putting
> argp/libargp.a at the start of LDADD, but this still fails on linking
> lsh_writekey with a undefined reference to "argp_error".

Hmm, seems something is broken with the supplied argp. I haven't
tested lsh on any machine but my own recently, but I know that some
previous version did compile and link on a Solaris system where the
argp included with lsh is needed.

> Not sure if that's any use or not, but I thought I'd let you know.

Thanks.

/Niels

Reply via email to