On Mon, 15 Jan 2001, Guy Harris wrote:
> On Mon, Jan 15, 2001 at 09:14:22AM +0100, Igor Sobrado wrote:
> > The output for cc is:
> >
> > checking for u_int8_t using cc... (cached) no
>
> "(cached)?"
>
> If it never said "checking for u_int8_t" without "(cached)", there is
> probably status left over from the previous configure run; try doing
> "make distclean" and trying again.
You are right, I tried a ./configure without a "make distclean" because
I was not looking for building binaries. I suppose it was not really
important. The output now is:
checking for u_int8_t using cc... no
checking for u_int16_t using cc... no
checking for u_int32_t using cc... no
The header file /usr/include/sys/_inttypes.h defines 8-bit, 16-bit
and 32-bit unsigned integers but the typedefs are uint8_t, uint16_t
and uint32_t, not u_int8_t, u_int16_t and u_int32_t. The SPARC
workstation where I am working now defines both sets.
> (I've found, with configure scripts, that it's generally a Very Very
> Very Bad Idea to run "configure" on a new platform, or with a new
> compiler, if you've done a "configure" before, in the same directory, on
> a different platform or with a different compiler, and haven't done a
> "make distclean" to throw away *all* state saved from the previous
> configure run.
You are right, I tried to build libpcap in that server yesterday and
I do not try a "make distclean" before running the configuration script
today.
Thanks a lot!
Igor.
--
Igor Sobrado, UK34436 - [EMAIL PROTECTED]
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe