Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 18:30:44 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Xu Qiang <Qiang.Xu@fujixerox.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: The availability of socketbits.h?
Message-ID:  <20050517153043.GA78771@orion.daedalusnetworks.priv>
In-Reply-To: <20050517074951.208D31D969@imss.sgp.fujixerox.com>
References:  <20050517074951.208D31D969@imss.sgp.fujixerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-05-17 15:59, Xu Qiang <Qiang.Xu@fujixerox.com> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050517153043.GA78771>