NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on July 11, 2007, 08:06:33 PM

Title: cannot call print_string and related fcts
Post by: nobody on July 11, 2007, 08:06:33 PM
Hello all,

when I call functions like print_int or print_nl, I get the following message: 'binary output format does not support external references'. Anyone knows a workaround? Thx
Title: Re: cannot call print_string and related fcts
Post by: nobody on July 11, 2007, 09:13:09 PM
1) Use a linkable output format
2) Include your functions in your source, either by "cut and paste" or "%include "myfuncs.inc", or if it's position independent code, "incbin "print_string.bin"", etc.

Best,
Frank