大家好。有个问题请教大家。
在学习mini2440的u-boot时,均采用windows系统编辑程序,并用smb挂载windows程序到linux,然后在linux下编译,这样windows和linux文件就可以同步了。
步骤如下:[root@localhost ~]# smbclient -L //192.168.1.2 -U fujm //此命令查看windows下有多少共享目录
Password: //输入密码
Domain=[FUJM-PC] OS=[Windows 7 Ultimate 7600] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk 远程管理
C$ Disk 默认共享
D$ Disk 默认共享
E$ Disk 默认共享
F$ Disk 默认共享
IPC$ IPC 远程 IPC
u-boot-1.1.6 Disk
Users Disk
session request to 192.168.1.2 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
//挂载文件
[root@localhost ~]# mount -t cifs -o username=××××,passwd='×××××' //192.168.1.2/u-boot-1.1.6 /mnt/windows
//查看挂载的文件
[root@localhost ~]# ls /mnt/windows //查看挂载目录文件
//进入目录编译
[root@localhost windows]# make open24x0_config
出现如下错误:Configuring for open24x0 board...
ln: 正在创建指向“asm-arm”的符号链接“asm”: 不支持的操作
make: *** [open24x0_config] 错误 1
[root@localhost windows]#
是不是因为是挂载了windows的文件,就不能在linux下编译了。我将程序拷贝到linux下,就可以编译。
请教各位大侠了。谢谢