[EMAIL PROTECTED] writes:

> - argp-parse.c does not include alloca.h. The correct CPP voodoo is already
> in argp-help.c, just clone it.

Noted.

> - Not all platforms have snprintf/vsnprintf. We need to include a portable
> version of them (there are several available) and add a configure test.

Ok, this has been discussed earlier on the list (but that time, I
ended up not using snprintf at all, so I didn't do anything about it).

> After fixing everything I can, I'm left with the following link errors. Are
> these gcc internal functions? If so, why the !@#$%%^ are we calling them
> from our code?
> 
> ild: (undefined symbol) argp_fmtstream_putc -- referenced in the text
> segment of liblsh.a(argp-help.o)
> ild: (undefined symbol) argp_fmtstream_write -- referenced in the text
> segment of liblsh.a(argp-help.o)
> ild: (undefined symbol) argp_fmtstream_set_lmargin -- referenced in the text
> segment of liblsh.a(argp-help.o)
> ild: (undefined symbol) argp_fmtstream_puts -- referenced in the text
> segment of liblsh.a(argp-help.o)
> ild: (undefined symbol) argp_fmtstream_point -- referenced in the text
> segment of liblsh.a(argp-help.o)
> ild: (undefined symbol) argp_fmtstream_set_wmargin -- referenced in the text
> segment of liblsh.a(argp-help.o)

I think these are part of the streams implementation used by glibc and
GNU's C++ library. They should be included with argp, I think.

/Niels

Reply via email to