Found the actual error (compiling sio.c) - see below.  Any ideas welcome.

This is the line from the kernel config:

device          sio             # 8250, 16[45]50 based serial ports

kernel build error:

/usr/src/sys/dev/sio/sio.c: In function 'sysctl_machdep_comdefaultrate':
/usr/src/sys/dev/sio/sio.c:356: error: 'struct tty' has no member named
't_init_in'
/usr/src/sys/dev/sio/sio.c:356: error: 'struct tty' has no member named
't_init_in'
/usr/src/sys/dev/sio/sio.c:357: error: 'struct tty' has no member named
't_lock_in'
/usr/src/sys/dev/sio/sio.c:357: error: 'struct tty' has no member named
't_lock_in'
/usr/src/sys/dev/sio/sio.c:358: error: 'struct tty' has no member named
't_init_out'
/usr/src/sys/dev/sio/sio.c:358: error: 'struct tty' has no member named
't_init_out'
/usr/src/sys/dev/sio/sio.c:359: error: 'struct tty' has no member named
't_lock_out'
/usr/src/sys/dev/sio/sio.c:359: error: 'struct tty' has no member named
't_lock_out'
/usr/src/sys/dev/sio/sio.c:361: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:361: error: 'TS_ISOPEN' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:361: error: (Each undeclared identifier is
reported only once
/usr/src/sys/dev/sio/sio.c:361: error: for each function it appears in.)
cc1: warnings being treated as errors
/usr/src/sys/dev/sio/sio.c: In function 'siodetach':
/usr/src/sys/dev/sio/sio.c:400: warning: implicit declaration of
function 'ttyfree'
/usr/src/sys/dev/sio/sio.c:400: warning: nested extern declaration of
'ttyfree'
/usr/src/sys/dev/sio/sio.c: In function 'sioattach':
/usr/src/sys/dev/sio/sio.c:928: warning: implicit declaration of
function 'ttyalloc'
/usr/src/sys/dev/sio/sio.c:928: warning: nested extern declaration of
'ttyalloc'
/usr/src/sys/dev/sio/sio.c:928: warning: assignment makes pointer from
integer without a cast
/usr/src/sys/dev/sio/sio.c:929: error: 'struct tty' has no member named
't_oproc'
/usr/src/sys/dev/sio/sio.c:930: error: 'struct tty' has no member named
't_param'
/usr/src/sys/dev/sio/sio.c:931: error: 'struct tty' has no member named
't_stop'
/usr/src/sys/dev/sio/sio.c:932: error: 'struct tty' has no member named
't_modem'
/usr/src/sys/dev/sio/sio.c:933: error: 'struct tty' has no member named
't_break'
/usr/src/sys/dev/sio/sio.c:934: error: 'struct tty' has no member named
't_close'
/usr/src/sys/dev/sio/sio.c:935: error: 'struct tty' has no member named
't_open'
/usr/src/sys/dev/sio/sio.c:936: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c:943: warning: implicit declaration of
function 'ttyconsolemode'
/usr/src/sys/dev/sio/sio.c:943: warning: nested extern declaration of
'ttyconsolemode'
/usr/src/sys/dev/sio/sio.c:944: error: 'struct tty' has no member named
't_init_in'
/usr/src/sys/dev/sio/sio.c:1081: error: 'struct tty' has no member named
't_pps'
/usr/src/sys/dev/sio/sio.c:1118: warning: implicit declaration of
function 'ttycreate'
/usr/src/sys/dev/sio/sio.c:1118: warning: nested extern declaration of
'ttycreate'
/usr/src/sys/dev/sio/sio.c:1118: error: 'TS_CALLOUT' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c: In function 'comopen':
/usr/src/sys/dev/sio/sio.c:1129: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c:1181: warning: implicit declaration of
function 'ISCALLOUT'
/usr/src/sys/dev/sio/sio.c:1181: warning: nested extern declaration of
'ISCALLOUT'
/usr/src/sys/dev/sio/sio.c:1182: warning: implicit declaration of
function 'ttyld_modem'
/usr/src/sys/dev/sio/sio.c:1182: warning: nested extern declaration of
'ttyld_modem'
/usr/src/sys/dev/sio/sio.c: In function 'comclose':
/usr/src/sys/dev/sio/sio.c:1194: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c:1210: error: 'struct tty' has no member named
't_cflag'
/usr/src/sys/dev/sio/sio.c:1218: error: 'struct tty' has no member named
't_actout'
/usr/src/sys/dev/sio/sio.c:1220: error: 'struct tty' has no member named
't_init_in'
/usr/src/sys/dev/sio/sio.c:1221: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1221: error: 'TS_ISOPEN' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:1223: warning: implicit declaration of
function 'ttydtrwaitstart'
/usr/src/sys/dev/sio/sio.c:1223: warning: nested extern declaration of
'ttydtrwaitstart'
/usr/src/sys/dev/sio/sio.c:1234: error: 'struct tty' has no member named
't_actout'
/usr/src/sys/dev/sio/sio.c:1235: error: 'struct tty' has no member named
't_actout'
/usr/src/sys/dev/sio/sio.c:1236: warning: implicit declaration of
function 'TSA_CARR_ON'
/usr/src/sys/dev/sio/sio.c:1236: warning: nested extern declaration of
'TSA_CARR_ON'
/usr/src/sys/dev/sio/sio.c:1236: warning: passing argument 1 of 'wakeup'
makes pointer from integer without a cast
/usr/src/sys/dev/sio/sio.c: In function 'siobusycheck':
/usr/src/sys/dev/sio/sio.c:1263: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1263: error: 'TS_BUSY' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1264: warning: implicit declaration of
function 'ttwwakeup'
/usr/src/sys/dev/sio/sio.c:1264: warning: nested extern declaration of
'ttwwakeup'
/usr/src/sys/dev/sio/sio.c: In function 'sioinput':
/usr/src/sys/dev/sio/sio.c:1317: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1317: error: 'TS_ISOPEN' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:1317: error: 'struct tty' has no member named
't_cflag'
/usr/src/sys/dev/sio/sio.c:1322: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1322: error: 'TS_CAN_BYPASS_L_RINT'
undeclared (first use in this function)
/usr/src/sys/dev/sio/sio.c:1338: error: 'struct tty' has no member named
't_rawq'
/usr/src/sys/dev/sio/sio.c:1338: error: 'struct tty' has no member named
't_ihiwat'
/usr/src/sys/dev/sio/sio.c:1340: error: 'struct tty' has no member named
't_iflag'
/usr/src/sys/dev/sio/sio.c:1341: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1341: error: 'TS_TBLOCK' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:1342: warning: implicit declaration of
function 'ttyblock'
/usr/src/sys/dev/sio/sio.c:1342: warning: nested extern declaration of
'ttyblock'
/usr/src/sys/dev/sio/sio.c:1344: warning: implicit declaration of
function 'b_to_q'
/usr/src/sys/dev/sio/sio.c:1344: warning: nested extern declaration of
'b_to_q'
/usr/src/sys/dev/sio/sio.c:1344: error: 'struct tty' has no member named
't_rawq'
/usr/src/sys/dev/sio/sio.c:1346: error: 'tk_nin' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1347: error: 'tk_rawcc' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1348: error: 'struct tty' has no member named
't_rawcc'
/usr/src/sys/dev/sio/sio.c:1349: warning: implicit declaration of
function 'ttwakeup'
/usr/src/sys/dev/sio/sio.c:1349: warning: nested extern declaration of
'ttwakeup'
/usr/src/sys/dev/sio/sio.c:1350: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1350: error: 'TS_TTSTOP' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:1351: error: 'struct tty' has no member named
't_iflag'
/usr/src/sys/dev/sio/sio.c:1352: error: 'struct tty' has no member named
't_cc'
/usr/src/sys/dev/sio/sio.c:1352: error: 'struct tty' has no member named
't_cc'
/usr/src/sys/dev/sio/sio.c:1353: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1354: error: 'struct tty' has no member named
't_lflag'
/usr/src/sys/dev/sio/sio.c:1372: error: 'TTY_BI' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1374: error: 'TTY_FE' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1376: error: 'TTY_OE' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1378: error: 'TTY_PE' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c:1380: warning: implicit declaration of
function 'ttyld_rint'
/usr/src/sys/dev/sio/sio.c:1380: warning: nested extern declaration of
'ttyld_rint'
/usr/src/sys/dev/sio/sio.c:1393: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c: In function 'siointr1':
/usr/src/sys/dev/sio/sio.c:1566: error: 'struct tty' has no member named
't_iflag'
/usr/src/sys/dev/sio/sio.c:1570: error: 'struct tty' has no member named
't_iflag'
/usr/src/sys/dev/sio/sio.c:1573: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:1573: error: 'TS_CAN_BYPASS_L_RINT'
undeclared (first use in this function)
/usr/src/sys/dev/sio/sio.c:1575: error: 'struct tty' has no member named
't_iflag'
/usr/src/sys/dev/sio/sio.c:1580: error: 'struct tty' has no member named
't_hotchar'
/usr/src/sys/dev/sio/sio.c:1580: error: 'struct tty' has no member named
't_hotchar'
/usr/src/sys/dev/sio/sio.c:1586: error: 'struct tty' has no member named
't_do_timestamp'
/usr/src/sys/dev/sio/sio.c:1587: error: 'struct tty' has no member named
't_timestamp'
/usr/src/sys/dev/sio/sio.c: In function 'siopoll':
/usr/src/sys/dev/sio/sio.c:1766: warning: implicit declaration of
function 'ttyld_start'
/usr/src/sys/dev/sio/sio.c:1766: warning: nested extern declaration of
'ttyld_start'
/usr/src/sys/dev/sio/sio.c: In function 'combreak':
/usr/src/sys/dev/sio/sio.c:1782: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c: In function 'comparam':
/usr/src/sys/dev/sio/sio.c:1804: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c:1809: error: 'struct tty' has no member named
't_ospeed'
/usr/src/sys/dev/sio/sio.c:1936: warning: implicit declaration of
function 'ttyldoptim'
/usr/src/sys/dev/sio/sio.c:1936: warning: nested extern declaration of
'ttyldoptim'
/usr/src/sys/dev/sio/sio.c: In function 'siosetwater':
/usr/src/sys/dev/sio/sio.c:1991: error: 'struct tty' has no member named
't_ififosize'
/usr/src/sys/dev/sio/sio.c:1992: error: 'struct tty' has no member named
't_ispeedwat'
/usr/src/sys/dev/sio/sio.c:1993: error: 'struct tty' has no member named
't_ospeedwat'
/usr/src/sys/dev/sio/sio.c: In function 'comstart':
/usr/src/sys/dev/sio/sio.c:2029: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c:2034: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:2034: error: 'TS_TTSTOP' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:2038: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:2038: error: 'TS_TBLOCK' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:2047: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:2047: error: 'TS_TIMEOUT' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c:2052: error: 'struct ttyoutq' has no member
named 'c_cc'
/usr/src/sys/dev/sio/sio.c:2058: warning: implicit declaration of
function 'q_to_b'
/usr/src/sys/dev/sio/sio.c:2058: warning: nested extern declaration of
'q_to_b'
/usr/src/sys/dev/sio/sio.c:2076: error: 'struct ttyoutq' has no member
named 'c_cc'
/usr/src/sys/dev/sio/sio.c:2096: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:2096: error: 'TS_BUSY' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c: In function 'comstop':
/usr/src/sys/dev/sio/sio.c:2113: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c:2130: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:2130: error: 'TS_BUSY' undeclared (first use
in this function)
/usr/src/sys/dev/sio/sio.c: In function 'commodem':
/usr/src/sys/dev/sio/sio.c:2153: error: 'struct tty' has no member named
't_sc'
/usr/src/sys/dev/sio/sio.c: In function 'siosettimeout':
/usr/src/sys/dev/sio/sio.c:2212: error: 'struct tty' has no member named
't_state'
/usr/src/sys/dev/sio/sio.c:2212: error: 'TS_ISOPEN' undeclared (first
use in this function)
/usr/src/sys/dev/sio/sio.c: In function 'siocnset':
/usr/src/sys/dev/sio/sio.c:2306: error: 'struct consdev' has no member
named 'cn_unit'
/usr/src/sys/dev/sio/sio.c: In function 'sio_cninit':
/usr/src/sys/dev/sio/sio.c:2529: error: 'struct consdev' has no member
named 'cn_unit'
/usr/src/sys/dev/sio/sio.c: In function 'sio_cngetc':
/usr/src/sys/dev/sio/sio.c:2548: error: 'struct consdev' has no member
named 'cn_unit'
/usr/src/sys/dev/sio/sio.c: In function 'sio_cnputc':
/usr/src/sys/dev/sio/sio.c:2579: error: 'struct consdev' has no member
named 'cn_unit'
*** Error code 1
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to