QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2998|回复: 6

s3c44b0下make错误列表,请热心人指导

[复制链接]
发表于 2006-5-8 16:03:08 | 显示全部楼层 |阅读模式
各位大侠好,小弟自己搞了快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
 楼主| 发表于 2006-5-8 16:47:05 | 显示全部楼层
哦,不好意思,忘了说uclinux用的是uClinux-dist-20040408
回复

使用道具 举报

发表于 2006-5-8 23:21:41 | 显示全部楼层
我的板子用uClinux-FS44B0-20040408.tar.bz2
建议你重新当一个试一下
44B0的包有好几种呢
回复

使用道具 举报

 楼主| 发表于 2006-5-9 14:27:21 | 显示全部楼层
哦,谢谢你的回复,不过刚才baidu了一下,好像没你这个版本的下啊
回复

使用道具 举报

发表于 2006-5-12 19:55:40 | 显示全部楼层
当时用优龙的板子就是这个包,你可以看看别的包,44B0的挺多呢
回复

使用道具 举报

发表于 2006-5-21 10:49:06 | 显示全部楼层
头文件有问题
查看对头文件的引用
回复

使用道具 举报

发表于 2007-1-21 00:09:53 | 显示全部楼层
我昏,这哥们的步骤和出现的错误跟我一摸一样!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 20:40 , Processed in 0.092638 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表