Hi all, I know some of you call me crazy, but I am trying to build a lxpanel plugin with a handwritten makefile. I already got it to compile but I keep getting the testplug.so is not a lxpanel plugin. After modding lxpanel to give some more debugging information it turns out g_module_symbol(m, class_name, &tmpsym) in plugin.c fails. Also I have issued the output of g_module error():
`testplug_plugin_class': /home/toonoob/projecten/lxde_mintmenu/teststuff/lib/lxpanel/plugins/testplug.so: undefined symbol: testplug_plugin_class" My Makefile: >all: lxpanelplugin > >lxpanelplugin: > gcc -shared -fPIC -DPIC -g -O2 \ > -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/share"\" \ > `pkg-config --libs --cflags gtk+-2.0 libmenu-cache lxpanel gmodule-2.0` \ > -o testplug.so \ > -Wl,-soname -Wl,lxunnamedmenu.so -Wl,-version-script -Wl,example.ver \ > example.c > >install: > cp -vi testplug.so /home/toonoob/projecten/lxde_mintmenu/teststuff/lib/lxpanel/plugins (Note that my modded lxpanel is installed in the /home/toonoob/projecten/lxde_mintmenu/teststuff/ prefix) The error must be in the Makefile, since example.c actually contains the same plugin as lxpanel-plugins/example_plug except within the sourcefile it has been renamed to testplug (the plugin class is also renamed to testplug_plugin_class). Does anyone have any experience with building GModules without autotools and the willingness to help me out here? Thanks in advance! 2noob2banoob P.s. once I get this to work it will be a small step to a first working version of my MintMenu-inspired application menu for lxde ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
