/usr/bin/ld: main.o:(.bss+0x0): multiple definition of nrow'; memory.o:(.bss+0x0): first defined here /usr/bin/ld: main.o:(.bss+0x4): multiple definition ofncol'; memory.o:(.bss+0x4): first defined here
fix global variable definition at screen.h with "extern int nrow, ncol"
make failed in
/usr/bin/ld: main.o:(.bss+0x0): multiple definition of
nrow'; memory.o:(.bss+0x0): first defined here /usr/bin/ld: main.o:(.bss+0x4): multiple definition of
ncol'; memory.o:(.bss+0x4): first defined herefix global variable definition at screen.h with "extern int nrow, ncol"
And chmod -x for source files.