|
各位大侠好,小弟自己搞了快s3c44b0的板子,用了uClinux-20040408-ARMSYS.patch补丁,在打了补丁,再手动修改打不进去的错误后,make时有如下问题,请各位帮忙,不胜感激!!
serial_samsung.c:322: `RS_TABLE_SIZE' undeclared here (not in a function)
serial_samsung.c:322: variable `rs_table' has initializer but incomplete type
serial_samsung.c:323: `STD_SERIAL_PORT_DEFNS' undeclared here (not in a function)
serial_samsung.c:323: initializer element is not constant
serial_samsung.c:323: (near initialization for `rs_table')
serial_samsung.c:323: parse error before `EXTRA_SERIAL_PORT_DEFNS'
serial_samsung.c: In function `serial_in':
serial_samsung.c:410: warning: implicit declaration of function `CSR_READ'
serial_samsung.c: In function `serial_out':
serial_samsung.c:416: warning: implicit declaration of function `CSR_WRITE'
serial_samsung.c: In function `rs_stop':
serial_samsung.c:477: warning: implicit declaration of function `disable_uart_tx_interrupt'
serial_samsung.c: In function `rs_start':
serial_samsung.c:497: warning: implicit declaration of function `enable_uart_tx_interrupt'
serial_samsung.c: In function `receive_chars':
serial_samsung.c:561: `UART_RX' undeclared (first use in this function)
serial_samsung.c:561: (Each undeclared identifier is reported only once
serial_samsung.c:561: for each function it appears in.)
serial_samsung.c:569: `UART_LSR_BI' undeclared (first use in this function)
serial_samsung.c:569: `UART_LSR_PE' undeclared (first use in this function)
serial_samsung.c:570: `UART_LSR_FE' undeclared (first use in this function)
serial_samsung.c:570: `UART_LSR_OE' undeclared (first use in this function)
serial_samsung.c:654: `UART_LSR' undeclared (first use in this function)
serial_samsung.c:655: `UART_LSR_DR' undeclared (first use in this function)
serial_samsung.c: In function `transmit_chars':
serial_samsung.c:673: `UART_TX' undeclared (first use in this function)
serial_samsung.c: In function `rs_interrupt_single':
serial_samsung.c:898: `UART_LSR' undeclared (first use in this function)
serial_samsung.c:902: `UART_LSR_DR' undeclared (first use in this function)
serial_samsung.c:906: `UART_LSR_THRE' undeclared (first use in this function)
serial_samsung.c: In function `startup':
serial_samsung.c:1318: warning: implicit declaration of function `CLEAR_PEND_INT'
serial_samsung.c:1412: `UART_LCR' undeclared (first use in this function)
serial_samsung.c:1412: `UART_LCR_WLEN8' undeclared (first use in this function)
serial_samsung.c:1413: `UART_GCR' undeclared (first use in this function)
serial_samsung.c:1413: `UART_GCR_RX_INT' undeclared (first use in this function)serial_samsung.c:1413: `UART_GCR_TX_INT' undeclared (first use in this function)serial_samsung.c:1413: `UART_GCR_RX_STAT_INT' undeclared (first use in this function)
serial_samsung.c:1422: warning: implicit declaration of function `enable_uart_rx_interrupt'
serial_samsung.c: In function `shutdown':
serial_samsung.c:1574: warning: implicit declaration of function `disable_uart_rx_interrupt'
serial_samsung.c:1613: `UART_RX' undeclared (first use in this function)
serial_samsung.c: In function `change_speed':
serial_samsung.c:1706: `UART_LCR_OPAR' undeclared (first use in this function)
serial_samsung.c:1708: `UART_LCR_EPAR' undeclared (first use in this function)
serial_samsung.c:1710: `UART_LCR_NPAR' undeclared (first use in this function)
serial_samsung.c:1839: `UART_LSR_OE' undeclared (first use in this function)
serial_samsung.c:1839: `UART_LSR_THRE' undeclared (first use in this function)
serial_samsung.c:1839: `UART_LSR_DR' undeclared (first use in this function)
serial_samsung.c:1841: `UART_LSR_FE' undeclared (first use in this function)
serial_samsung.c:1841: `UART_LSR_PE' undeclared (first use in this function)
serial_samsung.c:1843: `UART_LSR_BI' undeclared (first use in this function)
serial_samsung.c:1895: `UART_BDR' undeclared (first use in this function)
serial_samsung.c:1895: warning: implicit declaration of function `baudrate_div'
serial_samsung.c:1896: `UART_LCR' undeclared (first use in this function)
serial_samsung.c: In function `get_lsr_info':
serial_samsung.c:2347: `UART_LSR' undeclared (first use in this function)
serial_samsung.c:2349: `UART_LSR_TEMT' undeclared (first use in this function)
serial_samsung.c: In function `rs_break':
serial_samsung.c:2520: `UART_LCR_SBC' undeclared (first use in this function)
serial_samsung.c:2523: `UART_LCR' undeclared (first use in this function)
serial_samsung.c: In function `rs_close':
serial_samsung.c:2950: `UART_LSR_DR' undeclared (first use in this function)
serial_samsung.c: In function `rs_wait_until_sent':
serial_samsung.c:3030: `UART_LSR' undeclared (first use in this function)
serial_samsung.c:3030: `UART_LSR_TEMT' undeclared (first use in this function)
serial_samsung.c: In function `get_async_struct':
serial_samsung.c:3218: warning: `sstate' might be used uninitialized in this function
serial_samsung.c: In function `autoconfig':
serial_samsung.c:3929: `PORT_S3C4510B' undeclared (first use in this function)
serial_samsung.c:3963: `UART_LCR' undeclared (first use in this function)
serial_samsung.c:3963: `UART_LCR_WLEN8' undeclared (first use in this function)
serial_samsung.c:3964: `UART_GCR' undeclared (first use in this function)
serial_samsung.c:3964: `UART_GCR_RX_INT' undeclared (first use in this function)serial_samsung.c:3964: `UART_GCR_TX_INT' undeclared (first use in this function)serial_samsung.c:3965: `UART_RX' undeclared (first use in this function)
serial_samsung.c: In function `rs_init':
serial_samsung.c:4094: warning: value computed is not used
serial_samsung.c:4120: warning: value computed is not used
serial_samsung.c: In function `wait_for_xmitr':
serial_samsung.c:4399: `UART_LSR' undeclared (first use in this function)
serial_samsung.c:4401: `UART_LSR_BI' undeclared (first use in this function)
serial_samsung.c:4406: `UART_LSR_TEMT' undeclared (first use in this function)
serial_samsung.c:4406: `UART_LSR_THRE' undeclared (first use in this function)
serial_samsung.c: In function `serial_console_write':
serial_samsung.c:4439: `UART_TX' undeclared (first use in this function)
serial_samsung.c: In function `serial_console_setup':
serial_samsung.c:4568: `UART_LCR_PARITY' undeclared (first use in this function)serial_samsung.c:4570: `UART_LCR_EPAR' undeclared (first use in this function)
serial_samsung.c:4592: `UART_BDR' undeclared (first use in this function)
serial_samsung.c:4593: `UART_LCR' undeclared (first use in this function)
serial_samsung.c:4469: warning: `state' might be used uninitialized in this function
serial_samsung.c: At top level:
serial_samsung.c:322: warning: `rs_table' defined but not used
{standard input}: Assembler messages:
{standard input}:6625: Warning: .space repeat count is zero, ignored
{standard input}:6628: Warning: .space repeat count is zero, ignored
{standard input}:6631: Warning: .space repeat count is zero, ignored
make[4]: *** [serial_samsung.o] Error 1
make[4]: Leaving directory `/temp/uClinux-dist/linux-2.4.x/drivers/char'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/temp/uClinux-dist/linux-2.4.x/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/temp/uClinux-dist/linux-2.4.x/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/temp/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1 |
|