Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 15:59:12 +0800
From:      Xu Qiang <Qiang.Xu@fujixerox.com>
To:        Dan Nelson <dnelson@allantgroup.com>, Xu Qiang <Qiang.Xu@fujixerox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: The availability of socketbits.h?
Message-ID:  <20050517074951.208D31D969@imss.sgp.fujixerox.com>

next in thread | raw e-mail | index | archive | help
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 i=
s 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)

Strange, =


Looking forward to your help, =


Regards,
Xu Qiang




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