From: anonymous c. <nas...@us...> - 2016-08-02 00:12:19
|
> What happens if you run "make alldeps" before making? tl;dr = it does make the otherwise missing files, i.e. I don't have to manually make them, but the final build/link is still failing with the same no/undefined symbol error messages make spotless sh autogen.sh sh configure make alldeps make [...] rm -f libnasm.a ar cq libnasm.a stdlib/snprintf.o stdlib/vsnprintf.o stdlib/strlcpy.o stdlib/strnlen.o nasmlib/ver.o nasmlib/crc64.o nasmlib/malloc.o nasmlib/error.o nasmlib/md5c.o nasmlib/string.o nasmlib/file.o nasmlib/ilog2.o nasmlib/realpath.o nasmlib/filename.o nasmlib/srcfile.o nasmlib/zerobuf.o nasmlib/readnum.o nasmlib/bsi.o nasmlib/rbtree.o nasmlib/hashtbl.o nasmlib/raa.o nasmlib/saa.o common/common.o x86/insnsa.o x86/insnsb.o x86/insnsd.o x86/insnsn.o x86/regs.o x86/regvals.o x86/regflags.o x86/regdis.o x86/disp8.o x86/iflag.o /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(snprintf.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(vsnprintf.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(strlcpy.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(strnlen.o) has no symbols ranlib libnasm.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(snprintf.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(vsnprintf.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(strlcpy.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libnasm.a(strnlen.o) has no symbols gcc -o nasm asm/nasm.o asm/float.o asm/directiv.o asm/assemble.o asm/labels.o asm/parser.o asm/preproc.o asm/quote.o asm/pptok.o asm/listing.o asm/eval.o asm/exprlib.o asm/stdscan.o asm/strfunc.o asm/tokhash.o asm/segalloc.o asm/preproc-nop.o asm/rdstrnum.o macros/macros.o output/outform.o output/outlib.o output/nulldbg.o output/nullout.o output/outbin.o output/outaout.o output/outcoff.o output/outelf.o output/outobj.o output/outas86.o output/outrdf2.o output/outdbg.o output/outieee.o output/outmacho.o output/codeview.o libnasm.a Undefined symbols for architecture x86_64: "_zero_buffer", referenced from: _assemble in assemble.o _out in assemble.o _macho32_init in outmacho.o _macho64_init in outmacho.o _fwritezero in libnasm.a(file.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [nasm] Error 1 I'll look into it some more tomorrow. |