id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2576	Duplicate symbols (Linking) problem under Mac OS X	andrew_k	slavazanko	"  CCLD   mc
ld: duplicate symbol _dialog_map in viewer/.libs/libmcviewer.a(libmcwidget_la-dialog.o) and keybind-defaults.o for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [mc] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Some details:

checking build system type... x86_64-apple-darwin10.8.0
...
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no


dialog.c has global ""dialog_map"" and keybind-defaults.c too.

""static"" or ""extern"" should be added.

But after that we will have another duplicate:

ld: duplicate symbol _record_macro_buf in filemanager/.libs/libmcfilemanager.a(libmcfilemanager_la-midnight.o) and filemanager/.libs/libmcfilemanager.a(libmcfilemanager_la-layout.o) for architecture x86_64
"	defect	closed	major	4.8.0-pre2	mc-core	4.8.0-pre1	fixed					merged	commited-master
