The availability of socketbits.h?

Dan Nelson dnelson at allantgroup.com
Mon May 16 23:53:58 PDT 2005


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 at allantgroup.com


More information about the freebsd-questions mailing list