On 2005-05-17 15:59, Xu Qiang <[EMAIL PROTECTED]> wrote: >Xu Qiang wrote: >> Thanks for your suggestions. Yes, this error is overcome after >> running "autoheader". But now another error of the same type appears: >> ----------------------------------------------------- >> mink.c:22: error: conflicting types for 'random' >> /usr/include/stdlib.h:200: error: previous declaration of 'random' >> was here >> mink.c:22: error: conflicting types for 'random' >> ----------------------------------------------------- >> >> This file is in "nngs-1.1.16/src" directory, and when I run >> autoheader in this directory: >> ----------------------------------------------------- >> autoheader: `configure.ac' or `configure.in' is required >> ----------------------------------------------------- > > Btw, I just found there is a line "#undef HAVE_RANDOM" in config.h.in, > so is it due to the src file (mink.c) is not in the same directory as > config.h.in? (It is one level below: config.h.in is in nngs-1.1.16, > while mink.c is in nngs-1.1.16/src)
The autoheader/autoconf commands have to be run in the directory that contains configure.in or configure.ac (usually the top level directory of the entire distribution). _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
