2015-11-07 26 views
0

我一直致力于使用NASM的SASM IDE。虽然建设,这个错误一直在重复发生
错误:/tmp/SASM/macro.o:没有这样的文件或目录

Build started...
Warning! Errors have occurred in the build:
gcc: error: /tmp/SASM/macro.o: No such file or directory

%include "io.inc" 

section .data 
    msg db 'Hello, world!', 0 

section .text 
    global CMAIN 
CMAIN: 
    mov ebp, esp 
    PRINT_STRING msg 
    NEWLINE 
    xor eax, eax 
    ret 
+0

在我的Debian系统杰西我GIT克隆github仓库,运行'make install'安装了'nasm',能够运行'sasm'并且你的应用程序编译,链接和运行没有问题。 'sasm'在help/about框中显示3.2.0的一个版本。 –

+0

我很好奇你在'settings'菜单下,'build'选项卡以及'linker options'行使用了什么。 –

+0

也可以帮助你使用什么操作系统作为开发环境(Linux/OSX/Windows等) –

回答

0

我今天有同样的问题(与Ubuntu 14.04 lts英特尔64位),但我通过添加gcc-multilib由Ubuntu的logitec解决它。

(毫无疑问的gcc编译 - 和会能够做 - macro.c(和/或其他)链接程序nasmhello之前产生缺失macro.o?)

0

我也使用SASM为NASM装配在Ubuntu 14.04,不得不使用make文件方法安装后同样的问题。我删除并重新安装它正确地使用适当的包装:

https://build.opensuse.org/package/binary/home:Dman95/SASM?arch=x86_64&filename=sasm_3.2.0_amd64.deb&repository=xUbuntu_14.04

  1. 检查,如果你有所有要求(右钮角落)
  2. 下载.deb软件包
  3. DoubleClick和安装

现在它应该工作。 (感谢我的朋友告诉我我应该做什么。)

+0

谢谢,它的工作完美 – edaddou

相关问题