libbsd errors with the latest tools ...

Chris Johns chrisj at rtems.org
Fri Apr 15 08:28:22 UTC 2016


On 15/04/2016 18:22, Sebastian Huber wrote:
>
> On 15/04/16 09:53, Chris Johns wrote:
>> The following is just a small sample of the errors I am seeing with
>> the latest tools building libbsd. Anyone else seeing these?
>
> What are the latest tools for you in this case?
>

tools/rtems-gcc-6-20160327-newlib-2.4.0-1

Reverting to tools/rtems-gcc-6-20160228-newlib-2.3.0.20160226-1 get 
further not breaks with a different error ...

In file included from 
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:47:0,
                  from 
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/rtemsbsd/include/rtems/bsd/sys/time.h:34,
                  from 
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/contrib/libpcap/pcap/pcap.h:47,
                  from ../../freebsd/contrib/libpcap/pcap-int.h:39,
                  from ../../freebsd/contrib/libpcap/scanner.l:51:
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:104:18: 
error: unknown type name 'fd_set'
  int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set 
*__restrict,
                   ^~~~~~
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:104:38: 
error: unknown type name 'fd_set'
  int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set 
*__restrict,
                                       ^~~~~~
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:104:58: 
error: unknown type name 'fd_set'
  int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set 
*__restrict,
                                                           ^~~~~~
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:109:17: 
error: unknown type name 'fd_set'
  int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                  ^~~~~~
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:109:27: 
error: unknown type name 'fd_set'
  int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                            ^~~~~~
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:109:37: 
error: unknown type name 'fd_set'
  int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                                      ^~~~~~
Chris



More information about the devel mailing list