最近在玩op-tee,搭建环境并编译通过,并在运行op-tee时出现如下错误:
root@hunter-virtual-machine:/home/hunter/build# make -f qemu.mk run-only
root@hunter-virtual-machine:/home/hunter/build# make -f qemu.mk run-only
ln -sf /home/hunter/build/../out-br/images/rootfs.cpio.gz /home/hunter/build/../out/bin/
* QEMU is now waiting to start the execution
* Start execution with either a 'c' followed by <enter> in the QEMU console or
* attach a debugger and continue from there.
*
* To run OP-TEE tests, use the xtest command in the 'Normal World' terminal
* Enter 'xtest -h' for help.
# 参数“-x”弃用并可能在 gnome-terminal 的后续版本中移除。
# 使用“-- ”以结束选项并将要执行的命令行追加至其后。
# 参数“-x”弃用并可能在 gnome-terminal 的后续版本中移除。
# 使用“-- ”以结束选项并将要执行的命令行追加至其后。
# Error constructing proxy for :1.69:/org/gnome/Terminal/Factory0: 连接已关闭
# Failed to use specified server: 连接已关闭
# Falling back to default server.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: 连接已关闭
# Error constructing proxy for :1.69:/org/gnome/Terminal/Factory0: 连接已关闭
# Failed to use specified server: 连接已关闭
# Falling back to default server.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: 连接已关闭
解决办法:
1. apt-get install terminator
2. dbus-launch gnome-terminal
此时发现执行第二步之后,可以正常弹出窗口
于是我怀疑环境在执行 gnome-terminal指令的时候出错,于是在build文件夹下搜索改指令,如下:
于是修改common.mk文件,内容如下:
再次执行命令make -f qemu.mk run-only
在qemu中输入c: