Can someone give me some pointers where im going wrong, im new to assembly, GCC, C, NASM, NASMW.
I cant get past this error when trying to make the object, is there something extra i need to install.
C:\test>nasmw -f win32 prog.asm -o prog.obj
prog.asm:12: error: symbol `_printf' undefined
AlanUK
0
Newbie Poster
Recommended Answers
Jump to Post_printf is not resolved until linked, therefore you have to make the complier aware of this.
extern _printf
I haven't had any success using standard "C" libraires so I use wsprintf which is part of kernel32.lib
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.