[Nasm-bugs] [Bug 3392693] New: Can't build from source

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Jul 6 17:44:40 PDT 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392693

            Bug ID: 3392693
           Summary: Can't build from source
           Product: NASM
           Version: 2.15 (development)
          Hardware: Undefined
                OS: Linux
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: shao at simons-rock.edu
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

I downloaded the source for 2.15.02 and did configure successfully. After using
make, it gave me this error:


clang -c  -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare
-Wno-unused-parameter -Wno-unused-variable -Wshadow
-Werror=unknown-warning-option -fwrapv -U__STRICT_ANSI__ -fno-common
-Werror=attributes -ffunction-sections -fdata-sections -fvisibility=hidden
-Wall -W -pedantic -Wc99-compat -Wc99-extensions -Wno-long-long
-Wno-shift-negative-value -Werror=implicit -Werror=missing-braces
-Werror=return-type -Werror=trigraphs -Werror=pointer-arith
-Werror=strict-prototypes -Werror=missing-prototypes
-Werror=missing-declarations -Werror=comment -Werror=vla -fgnu89-inline
-DHAVE_CONFIG_H -I. -I. -I./include -I./include -I./x86 -I./x86 -I./asm -I./asm
-I./disasm -I./disasm -I./output -I./output -o asm/nasm.o asm/nasm.c
asm/nasm.c:1622:62: error: declaration shadows a variable in the global scope
[-Werror,-Wshadow]
static void assemble_file(const char *fname, struct strlist *depend_list)
                                                             ^
asm/nasm.c:161:17: note: previous declaration is here
struct strlist *depend_list;
                ^
1 error generated.
Makefile:85: recipe for target 'asm/nasm.o' failed
make[1]: *** [asm/nasm.o] Error 1
make[1]: Leaving directory '/home/ubuntu/nasm-2.15.02'
Makefile:156: recipe for target 'all' failed
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list