Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 01:53:56 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Xu Qiang <Qiang.Xu@fujixerox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: The availability of socketbits.h?
Message-ID:  <20050517065356.GC90284@dan.emsphone.com>
In-Reply-To: <20050517061012.DE70D1D969@imss.sgp.fujixerox.com>
References:  <20050517061012.DE70D1D969@imss.sgp.fujixerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 17), Xu Qiang said:
> Great that another pal has compiled this stuff. :)

No, I'm just a good troubleshooter :)

In the last episode (May 17), Xu Qiang said:
> But another error appears: 
> 
> ################################################
> In file included from comproc.c:44:
> ../missing.h:30: error: conflicting types for 'ftruncate'
> /usr/include/stdio.h:367: error: previous declaration of 'ftruncate' was here
> ../missing.h:30: error: conflicting types for 'ftruncate' 
> ################################################

> It is strange that while 1.1.16 version has this problem, 1.1.14 doesn't. 

It looks like missing.h was added in 1.1.15, but the author didn't run
all the necessary autoconf commands afterwards.  Try running
"autoheader253" (you will see that a HAVE_FTRUNCATE placeholder gets
added to config.h.in), and rerun configure and make.

It looks like there have been some autoconf changes make in CVS after
1.1.16 was released.  You might want to check out the current source to
see if some of these issues have been fixed already.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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