LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-25-2012, 12:33 AM   #1
zeroberto
Member
 
Registered: Aug 2008
Location: Serbia
Distribution: Slackware-current
Posts: 39

Rep: Reputation: 1
xfce4-mailwatch-plugin won't compile


This is the error I get
Code:
xfce4_mailwatch_plugin-mailwatch-plugin.o: In function `mailwatch_help_clicked_cb':
mailwatch-plugin.c:(.text+0x390): undefined reference to `xfce_exec'
mailwatch-plugin.c:(.text+0x41d): undefined reference to `xfce_message_dialog'
xfce4_mailwatch_plugin-mailwatch-plugin.o: In function `mailwatch_button_release_cb':
mailwatch-plugin.c:(.text+0x509): undefined reference to `xfce_exec'
xfce4_mailwatch_plugin-mailwatch-plugin.o: In function `_xpp_realize':
mailwatch-plugin.c:(.text+0x132b): undefined reference to `xfce_message_dialog'
xfce4_mailwatch_plugin-mailwatch-plugin.o: In function `mailwatch_show_about':
mailwatch-plugin.c:(.text+0x1440): undefined reference to `xfce_about_info_new'
mailwatch-plugin.c:(.text+0x1452): undefined reference to `xfce_about_info_set_homepage'
mailwatch-plugin.c:(.text+0x147e): undefined reference to `xfce_about_info_add_credit'
mailwatch-plugin.c:(.text+0x14aa): undefined reference to `xfce_about_info_add_credit'
mailwatch-plugin.c:(.text+0x14bb): undefined reference to `xfce_themed_icon_load'
mailwatch-plugin.c:(.text+0x14cb): undefined reference to `xfce_about_dialog_new_with_values'
xfce4_mailwatch_plugin-mailwatch-plugin.o: In function `mailwatch_create_options':
mailwatch-plugin.c:(.text+0x15ff): undefined reference to `xfce_titled_dialog_new_with_buttons'
xfce4_mailwatch_plugin-mailwatch-plugin.o: In function `mailwatch_new_messages_changed_cb':
mailwatch-plugin.c:(.text+0x3436): undefined reference to `xfce_exec'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch-utils.o): In function `xfce_mailwatch_custom_button_new':
mailwatch-utils.c:(.text+0x1bf): undefined reference to `xfce_themed_icon_load'
mailwatch-utils.c:(.text+0x270): undefined reference to `xfce_themed_icon_load'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch-utils.o): In function `xfce_mailwatch_cram_md5':
mailwatch-utils.c:(.text+0x652): undefined reference to `gcry_md_open'
mailwatch-utils.c:(.text+0x671): undefined reference to `gcry_md_setkey'
mailwatch-utils.c:(.text+0x682): undefined reference to `gcry_md_write'
mailwatch-utils.c:(.text+0x694): undefined reference to `gcry_md_ctl'
mailwatch-utils.c:(.text+0x6a9): undefined reference to `gcry_md_get_algo_dlen'
mailwatch-utils.c:(.text+0x6d2): undefined reference to `gcry_md_get_algo_dlen'
mailwatch-utils.c:(.text+0x6e2): undefined reference to `gcry_md_read'
mailwatch-utils.c:(.text+0x733): undefined reference to `gcry_md_close'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch-utils.o): In function `xfce_mailwatch_create_framebox':
mailwatch-utils.c:(.text+0x291): undefined reference to `xfce_create_framebox'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch.o): In function `config_run_addedit_window':
mailwatch.c:(.text+0x439): undefined reference to `xfce_message_dialog'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch.o): In function `config_remove_btn_clicked_cb':
mailwatch.c:(.text+0x160d): undefined reference to `xfce_message_dialog'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch-mailbox-imap.o): In function `imap_config_newmailfolders_btn_clicked_cb':
mailwatch-mailbox-imap.c:(.text+0x1684): undefined reference to `xfce_message_dialog'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch-net-conn.o): In function `xfce_mailwatch_net_conn_init':
mailwatch-net-conn.c:(.text+0x643): undefined reference to `gcry_control'
../libmailwatch-core/.libs/libmailwatch-core.a(libmailwatch_core_la-mailwatch-net-conn.o): In function `xfce_mailwatch_net_conn_make_secure':
mailwatch-net-conn.c:(.text+0x100d): undefined reference to `gnutls_transport_set_lowat'
collect2: error: ld returned 1 exit status
make[2]: *** [xfce4-mailwatch-plugin] Error 1
make[2]: Leaving directory `/tmp/SBo/xfce4-mailwatch-plugin-1.1.0/panel-plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/xfce4-mailwatch-plugin-1.1.0'
make: *** [all] Error 2
Any hint? I'm using a fully updated Slackware x64 current.
Thanks
 
Old 09-25-2012, 01:49 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,593

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
it has been removed from SBo's GIT since it's no longer maintained upstream
 
Old 10-19-2012, 01:18 AM   #3
Rod3775
Member
 
Registered: May 2008
Location: Washington State
Distribution: Slackware-14.1
Posts: 34
Blog Entries: 8

Rep: Reputation: 0
But I have a running version as a Slackbuild with patches applied to the original xfce4-mailwatch-plugin-1.1.0 Tell me how to get it to you and I'll send it.
 
Old 06-08-2013, 05:23 PM   #4
jan_sucan
LQ Newbie
 
Registered: Oct 2010
Location: Slovakia
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
I'm using Slackware64 14.0 (Xfce 4.10) and these steps work for me to compile xfce4-mailwatch-plugin-1.1.0:
  1. Don't make use of gnutls_transport_set_lowat function which has been removed in >= gnutls-3

    (Thanks to the user heirecka of FileZilla bugzilla)

    Surround a calling of gnutls_transport_set_lowat function in libmailwatch-core/mailwatch-net-conn.c with #if #endif directives not to compile it when a higher version of gnutls library is used. Or you can remove the calling lines completely instead.
    Code:
    #if GNUTLS_VERSION_NUMBER < 0x020c00 
        if(fcntl(net_conn->fd, F_GETFL) & O_NONBLOCK)
            gnutls_transport_set_lowat(net_conn->gt_session, 0);
    #endif
  2. Pass additional linker flags to ./configure
    Code:
    LIBS=" -lxfcegui4 -lgcrypt " ./configure
  3. Run make
    Code:
    make

I have also added a simple checkbox in the IMAP mailbox configuration dialog in order not to store a password in the config file. Then the password is stored only in the memory. Of course, it must be entered again when plugin is reloaded but for me it's not a big problem because I usually suspend or hibernate my machine. If anyone is interested in this simple "patch", just let me know.

Last edited by jan_sucan; 06-08-2013 at 06:25 PM.
 
Old 08-05-2013, 05:10 AM   #5
jan_sucan
LQ Newbie
 
Registered: Oct 2010
Location: Slovakia
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Now the xfce4-mailwatch-plugin is in the SlackBuilds repository again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce4 weather plugin without internet connection ut0ugh1 Linux - Software 4 03-22-2012 02:20 PM
[SOLVED] xfce4-sensors-plugin does not display hddtemp wpost Linux - Desktop 3 05-25-2010 08:27 PM
[SOLVED] Where to get xfce4 panel menu plugin? 10110111 Linux - Desktop 2 10-25-2009 01:46 PM
translate a xfce4 plugin mjalalynia Linux - Desktop 2 09-21-2008 03:23 AM
Xfce4 .. Taskbar plugin DavidTempler Linux - General 2 08-20-2004 11:14 AM


All times are GMT -5. The time now is 12:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration