Re: error: 'stddef.h' file not found on 12

From: Mark Millard <markmi_at_dsl-only.net>
Date: Thu, 16 Nov 2017 22:29:49 -0800
Yuri yuri at freebsd.org wrote on
Fri Nov 17 05:11:44 UTC 2017 :

> I am getting net-im/ricochet failures on 12:
> 
> /usr/include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found
> #include_next <stddef.h>
>                ^~~~~~~~~~
> 
> cstddef is including stddef.h that has to be present.
> 
> 11 has both of them:
> 
> # ls /usr/include/c++/v1/*stddef*
> /usr/include/c++/v1/cstddef  /usr/include/c++/v1/stddef.h
> 
> why isn't it present in 12?

It is present in 12 as far as I can tell:

# find /usr/include -name stddef.h -print | more
/usr/include/c++/v1/tr1/stddef.h
/usr/include/c++/v1/stddef.h
/usr/include/sys/stddef.h
/usr/include/stddef.h

# uname -apKU
FreeBSD FreeBSDx64OPC 12.0-CURRENT FreeBSD 12.0-CURRENT  r325700M  amd64 amd64 1200053 1200053

(Built from source code.)

tddef.h is listed in:

https://svnweb.freebsd.org/base/head/include/

and in (see: line 25 ):

https://svnweb.freebsd.org/base/head/include/Makefile?revision=320844&view=markup

My guess is something is odd with your environment.


===
Mark Millard
markmi at dsl-only.net
Received on Fri Nov 17 2017 - 05:29:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC