#919 Error: undefined symbol: xchat_hook_print

closed-fixed
nobody
None
7
2005-08-24
2005-08-24
Will L G
No

Compiled Xchat-2.4.4 using the following software:
Kernel-2.6.11.6 [alpha linux]
Compaq C 6.5.9
Binutils-2.19.0
Make-3.8

Everything compiles fine and with out issue but when I
fire up Xchat, I receive the following error on boot
and all my plugins fail to load:

[03:00] AutoLoad failed for:
/usr/lib/xchat/plugins/systray.so
[03:00] /usr/lib/xchat/plugins/systray.so: undefined
symbol: xchat_hook_print
[03:00] AutoLoad failed for:
/usr/lib/xchat/plugins/python.so
[03:00] /usr/lib/xchat/plugins/python.so: undefined
symbol: xchat_hook_print
[03:00] AutoLoad failed for: /usr/lib/xchat/plugins/perl.so
[03:00] /usr/lib/xchat/plugins/perl.so: undefined
symbol: xchat_hook_print
[03:00] AutoLoad failed for: /usr/lib/xchat/plugins/tcl.so
[03:00] /usr/lib/xchat/plugins/tcl.so: undefined
symbol: xchat_hook_print

Never had this issue with Xchat-2.4.3 or ANY of the
previous versions but on 2.4.4 its pretty much a show
stopper when it comes to loading plugins. I did do a
diff -Naur on both 2.4.4 and 2.3.4 and noticed that
plugin.c appears to be the file thats causing the
'issues' but then again, I'm not a programmer =) Any
tips, ideas, tricks?

Discussion

  • Will L G
    Will L G
    2005-08-24

    • priority: 5 --> 7
     
  • Will L G
    Will L G
    2005-08-24

    • status: open --> closed-fixed
     
  • Will L G
    Will L G
    2005-08-24

    Logged In: YES
    user_id=312992

    found the solution:
    http://forum.xchat.org/viewtopic.php?p=7018#7018

    Just simply had to at "-Wl,--export-dynamic" to my CFLAGS
    and everything built/ran without a hitch... thanks all...