I have been working on SASM ide using NASM. While building, this error keeps in reoccurring
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
I had the same problem today (with ubuntu 14.04 lts intel 64bits) but i resolved it by adding gcc-multilib
by the ubuntu's logitec.
You can run this command for Ubuntu:
sudo apt install gcc-multilib
(no doubt gcc compile -and will able to do- macro.c (or/and else) to generate the missing macro.o before linking the program nasmhello ?)