The variable tabpagemodules is defined both in pcmanfm.c and tab-page.h. It should be marked as extern in tab-page.h. Patch attached.
gcc ignores these kinds of errors, which is why this still works, but it's not correct C. One can change gcc to be more strict with the flag -fno-common.
Anonymous
Thank you very much. Pushed your change into GIT sources.