libbsd errors with the latest tools ...

Chris Johns chrisj at rtems.org
Fri Apr 15 07:53:08 UTC 2016


Hi,

The following is just a small sample of the errors I am seeing with the 
latest tools building libbsd. Anyone else seeing these?

Chris

$ waf
Waf: Entering directory 
`/opt/work/chris/rtems/libbsd/rtems-libbsd.master/build/i386-rtems4.12-pc686'
[  2/842] Compiling rtemsbsd/rtems/generate_kvm_symbols
[  3/842] Compiling 
build/i386-rtems4.12-pc686/rtemsbsd/rtems/rtems-kvm-symbols.c
In file included from 
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/rtemsbsd/include/rtems/bsd/sys/time.h:34:0,
                  from 
/opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:97,
                  from 
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/types.h:85,
                  from 
/opt/work/rtems/4.12/i386-rtems4.12/include/stdio.h:48,
                  from rtemsbsd/rtems/rtems-kvm-symbols.c:8:
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:104:34: error: 
unknown type name 'u_int'
  bintime_mul(struct bintime *_bt, u_int _x)
                                   ^~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:145:17: error: 
unknown type name 'sbintime_t'
  sbintime_getsec(sbintime_t _sbt)
                  ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:151:17: error: 
unknown type name 'sbintime_t'
  static __inline sbintime_t
                  ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h: In function 
'bttosbt':
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:155:12: error: 
'sbintime_t' undeclared (first use in this function)
   return (((sbintime_t)_bt.sec << 32) + (_bt.frac >> 32));
             ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:155:12: note: 
each undeclared identifier is reported only once for each function it 
appears in
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:155:23: error: 
expected ')' before '_bt'
   return (((sbintime_t)_bt.sec << 32) + (_bt.frac >> 32));
                        ^~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h: At top level:
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:159:9: error: 
unknown type name 'sbintime_t'
  sbttobt(sbintime_t _sbt)
          ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:218:9: error: 
unknown type name 'sbintime_t'
  sbttots(sbintime_t _sbt)
          ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:227:17: error: 
unknown type name 'sbintime_t'
  static __inline sbintime_t
                  ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h: In function 
'tstosbt':
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:231:12: error: 
'sbintime_t' undeclared (first use in this function)
   return (((sbintime_t)_ts.tv_sec << 32) +
             ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:231:23: error: 
expected ')' before '_ts'
   return (((sbintime_t)_ts.tv_sec << 32) +
                        ^~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h: At top level:
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:236:9: error: 
unknown type name 'sbintime_t'
  sbttotv(sbintime_t _sbt)
          ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:245:17: error: 
unknown type name 'sbintime_t'
  static __inline sbintime_t
                  ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h: In function 
'tvtosbt':
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:249:12: error: 
'sbintime_t' undeclared (first use in this function)
   return (((sbintime_t)_tv.tv_sec << 32) +
             ^~~~~~~~~~
/opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:249:23: error: 
expected ')' before '_tv'
   return (((sbintime_t)_tv.tv_sec << 32) +


More information about the devel mailing list