Bug 3734 - undefined symbol error with flex-2.6.2
Summary: undefined symbol error with flex-2.6.2
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/vCalendar (show other bugs)
Version: 3.15.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2016-11-23 21:27 UTC by Charles A Edwards
Modified: 2017-01-16 11:45 UTC (History)
0 users

See Also:


Attachments
Drop the #undef yywrap line (909 bytes, patch)
2017-01-13 22:11 UTC, Ashish Gupta
no flags Details | Diff

Description Charles A Edwards 2016-11-23 21:27:39 UTC
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
Comment 1 Ashish Gupta 2016-12-22 19:21:54 UTC
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?
Comment 2 Paul 2016-12-22 19:44:45 UTC
I can reproduce this with a clean build tree.
Comment 3 Ashish Gupta 2017-01-13 22:11:46 UTC
Created attachment 1709 [details]
Drop the #undef yywrap line
Comment 4 Charles A Edwards 2017-01-13 22:30:37 UTC
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.
Comment 5 users 2017-01-16 11:31:03 UTC
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

Note You need to log in before you can comment on or make changes to this bug.