When building claws-mail with flex-2.6.2 everything builds normally but loading the vcalendar-plugin fails because of an undefined symbol error. ** (claws-mail:17428): WARNING **: plugin loading error: /usr/lib64/claws-mail/plugins/vcalendar.so: undefined symbol: ical_yywrap
Hi I cannot reproduce this issue with flex-2.6.2 $ flex --version flex 2.6.2 vcalendar plugin loads fine for me. I just did a ./configure && make -j8 Do you configure in a different way?
I can reproduce this with a clean build tree.
Created attachment 1709 [details] Drop the #undef yywrap line
Comment on attachment 1709 [details] Drop the #undef yywrap line I have tested and can confirm. With the patch applied when building claws-mail the vcalendar-plugin loads without error. Thanks Bug can mow be closed.
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ ++ ChangeLog 2017-01-16 11:31:02.847826699 +0100 http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=13564846e2996c785f14d97d28c90c4b0a1b1acc Merge: 2bb1d3f 93c6983 Author: Colin Leroy <colin@colino.net> Date: Mon Jan 16 11:31:02 2017 +0100 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=93c6983e1c2f58c2ff0e580a1bf1942cf8f0f5d6 Author: Paul <paul@claws-mail.org> Date: Mon Jan 16 10:30:17 2017 +0000 fix bug 3734, 'undefined symbol error with flex-2.6.2' Patch by Ashish Gupta