NO

Author Topic: NASM Unresolved External Symbols  (Read 3664 times)

nullP

  • Guest
NASM Unresolved External Symbols
« on: December 23, 2013, 11:47:31 PM »
Hello there,

I am trying to build a NASM Assembler ( Source file - http://www.nasm.us/pub/nasm/releasebuilds/2.10.09/nasm-2.10.09.zip ) and I get the following list of errors :

Building NASM.exe.
POLINK: error: Unresolved external symbol '_raa_read'.
POLINK: error: Unresolved external symbol '_raa_write'.
POLINK: error: Unresolved external symbol '_nasm_error'.
POLINK: error: Unresolved external symbol '_nasm_free'.
POLINK: error: Unresolved external symbol '_nasm_set_verror'.
POLINK: error: Unresolved external symbol '_tolower_init'.
POLINK: error: Unresolved external symbol '_nasm_init_malloc_error'.
POLINK: error: Unresolved external symbol '_raa_init'.
POLINK: error: Unresolved external symbol '_saa_init'.
POLINK: error: Unresolved external symbol '_nasmpp'.
POLINK: error: Unresolved external symbol '_seg_init'.
POLINK: error: Unresolved external symbol '_null_debug_form'.
POLINK: error: Unresolved external symbol '_parser_global_info'.
POLINK: error: Unresolved external symbol '_lookup_label'.
POLINK: error: Unresolved external symbol '_eval_global_info'.
POLINK: error: Unresolved external symbol '_nasmlist'.
POLINK: error: Unresolved external symbol '_src_get'.
POLINK: error: Unresolved external symbol '_raa_free'.
POLINK: error: Unresolved external symbol '_saa_free'.
POLINK: error: Unresolved external symbol '_eval_cleanup'.
POLINK: error: Unresolved external symbol '_stdscan_cleanup'.
POLINK: error: Unresolved external symbol '_init_labels'.
POLINK: error: Unresolved external symbol '_cleanup_labels'.
POLINK: error: Unresolved external symbol '_nasm_skip_spaces'.
POLINK: error: Unresolved external symbol '_nasm_malloc'.
POLINK: error: Unresolved external symbol '_ofmt_find'.
POLINK: error: Unresolved external symbol '_nasm_stricmp'.
POLINK: error: Unresolved external symbol '_preproc_nop'.
POLINK: error: Unresolved external symbol '_dfmt_find'.
POLINK: error: Unresolved external symbol '_ofmt_list'.
POLINK: error: Unresolved external symbol '_dfmt_list'.
POLINK: error: Unresolved external symbol '_nasm_compile_options'.
POLINK: error: Unresolved external symbol '_nasm_date'.
POLINK: error: Unresolved external symbol '_nasm_version'.
POLINK: error: Unresolved external symbol '_lpostfix'.
POLINK: error: Unresolved external symbol '_lprefix'.
POLINK: error: Unresolved external symbol '_nasm_realloc'.
POLINK: error: Unresolved external symbol '_nasm_strdup'.
POLINK: error: Unresolved external symbol '_define_label'.
POLINK: error: Unresolved external symbol '_redefine_label'.
POLINK: error: Unresolved external symbol '_globalbits'.
POLINK: error: Unresolved external symbol '_saa_rewind'.
POLINK: error: Unresolved external symbol '_saa_rstruct'.
POLINK: error: Unresolved external symbol '_stdscan_reset'.
POLINK: error: Unresolved external symbol '_stdscan_set'.
POLINK: error: Unresolved external symbol '_stdscan'.
POLINK: error: Unresolved external symbol '_evaluate'.
POLINK: error: Unresolved external symbol '_is_extern'.
POLINK: error: Unresolved external symbol '_declare_as_global'.
POLINK: error: Unresolved external symbol '_seg_alloc'.
POLINK: error: Unresolved external symbol '_nasm_zap_spaces_fwd'.
POLINK: error: Unresolved external symbol '_readnum'.
POLINK: error: Unresolved external symbol '_define_common'.
POLINK: error: Unresolved external symbol '_is_reloc'.
POLINK: error: Unresolved external symbol '_reloc_seg'.
POLINK: error: Unresolved external symbol '_reloc_value'.
POLINK: error: Unresolved external symbol '_float_option'.
POLINK: error: Unresolved external symbol '_parse_line'.
POLINK: error: Unresolved external symbol '_saa_wstruct'.
POLINK: error: Unresolved external symbol '_insn_size'.
POLINK: error: Unresolved external symbol '_assemble'.
POLINK: error: Unresolved external symbol '_cleanup_insn'.
POLINK: error: Unresolved external symbol '_nasm_zap_spaces_rev'.
POLINK: error: Unresolved external symbol '_nasm_skip_word'.
POLINK: error: Unresolved external symbol '_find_directive'.
POLINK: error: Unresolved external symbol '_of_bin'.
POLINK: fatal error: 66 unresolved external(s).

Any ideas why this might be happening??
Thanks,
null
« Last Edit: December 23, 2013, 11:59:21 PM by nullP »

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: NASM Unresolved External Symbols
« Reply #1 on: December 24, 2013, 10:01:04 AM »
Seems there are some LIB files missing or at least the DEF files.

Have you created a complete workspace that builds all the LIBs and DLLs?
---
Stefan

Proud member of the UltraDefrag Development Team

nullP

  • Guest
Re: NASM Unresolved External Symbols
« Reply #2 on: December 24, 2013, 06:37:02 PM »
I'm really new to assembly. Please suggest me some sources to start off from..
Thanks in advance!!

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: NASM Unresolved External Symbols
« Reply #3 on: December 24, 2013, 10:43:41 PM »
I'm really new to assembly. Please suggest me some sources to start off from..
Thanks in advance!!
Well, if you're really new to assembler language, how about starting of with downloading the binary of the Windows installer instead?  ???

http://www.nasm.us/pub/nasm/releasebuilds/2.10.09/win32/

Ralf