LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 709|回复: 0

请教一个关于串口驱动的问题

[复制链接]
发表于 2006-5-17 14:04:38 | 显示全部楼层 |阅读模式
Linux访问串口是通过调用open()来打开字符设备文件,读串口是调用read(),写串口是调用write()。我现在是采用中断方式操作串口,需要编一个串口驱动程序,在驱动程序中调用open(),read(),write()。但在加载模块时出现错误:unresolved symbol open; unresolved symbol read; unresolved symbol write。
应该怎样解决?谢谢!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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