Jonathan McDowell <[EMAIL PROTECTED]> writes:
> Builds lsh, lshd and others successfully, but fails at the following
> point:
>
> make[3]: Entering directory `/usr/src/lsh-0.1.20/src/testsuite'
> gcc -g -O2 -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations
>-Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast
>-Wnested-externs -o spki-tag-test spki-tag-test.o ../liblsh.a
>../symmetric/libsymmetric.a -lutil -lnsl -lcrypt -lz -lgmp
> ../liblsh.a(sexp.o): In function `sexp_argp_parser':
> /usr/src/lsh-0.1.20/src/sexp.c:915: undefined reference to `argp_error'
[...]
> This seems to be due to the Makefile.am in src/testsuite not having
> @LIBOBJS@ specified in LDADD.
I see. Perhaps that's why I tried to move the files into liblsh.a.
Adding @LIBOBJS@ to testsuite/Makefile.am won't work as those files
are located in its parent directory. I guess I have to get the
individual argp-related object files into liblsh.a.
/Niels