When ./configure was run with --disable-smbbranch, the final linking fails because of object files refering to symbols XF_SMBget_cache_file and XF_SMBget_netfile_cache_dir. There are macros with the same names defined in smb/smb_module.h. The definition of these macros is protected inside a #ifdef USE_SMB_BRANCH, but their use in libs/menu.c, libs/callbacks.c, libs/run.c and libs/menu_callbacks.c are not protected by a #ifdef, so that the compiler assumes them to be functions... Reproducible: Always Steps to Reproduce: 1. ./configure --disable-smbbranch 2. make 3. Actual Results: (when linking xffm) Undefined first referenced symbol in file XF_SMBget_cache_file ../libs/.libs/libxffm_basic.so XF_SMBget_netfile_cache_dir ../libs/.libs/libxffm_calls.so ld: fatal: Symbol referencing errors. No output written to .libs/xffm Expected Results: succesful linking...
Problem sections have now been protected by #ifdef's in 4.2 branch. Does not apply to 4.3 branch due to different plugin mechanism.