pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40047: gkrellm plugin problems - could be only Linux problem
>Number: 40047
>Category: pkg
>Synopsis: gkrellm plugin problems - could be only Linux problem
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 27 14:25:00 +0000 2008
>Originator: Ondrej Tuma
>Release: current
>Organization:
Blackmouse
>Environment:
Linux mike 2.6.25.9 #7 SMP Sat Oct 18 10:03:27 CEST 2008 i686 pentium4 i386
GNU/Linux
>Description:
When plugins are use, their install failed with errors like this:
usr/pkg/lib/gkrellm2/plugins/reminder.so
Error: /usr/pkg/lib/gkrellm2/plugins/reminder.so: undefined symbol:
gkrellm_homedir
/usr/pkg/lib/gkrellm2/plugins/gkrellmms.so
Error: /usr/pkg/lib/gkrellm2/plugins/gkrellmms.so: undefined symbol:
gkrellm_panel_show
/usr/pkg/lib/gkrellm2/plugins/gkrellmlaunch.so
Error: /usr/pkg/lib/gkrellm2/plugins/gkrellmlaunch.so: undefined
symbol: gkrellm_panel_show
/usr/pkg/lib/gkrellm2/plugins/gkleds.la
Error: /usr/pkg/lib/gkrellm2/plugins/gkleds.so: undefined symbol:
gkrellm_panel_configure
>How-To-Repeat:
install any plugin and try it to install (use)
>Fix:
Problem is in "-Wl,-export-dynamic" which isn't in linking command. It could be
problem in some setting - probably it is.
Here is my dirty patch:
--- src/Makefile.orig 2008-11-27 15:11:23.000000000 +0100
+++ src/Makefile
@@ -100,7 +100,7 @@ all: build
build: gkrellm
gkrellm static: $(OBJS)
- $(CC) $(OBJS) -o gkrellm$(if $(findstring static,$@),.static -static)
$(LIBS) $(LINK_FLAGS)
+ $(CC) $(OBJS) -o gkrellm$(if $(findstring static,$@),.static -static)
-Wl,-export-dynamic $(LIBS) $(LINK_FLAGS)
install: gkrellm
$(INSTALL_DIR) $(INSTALLDIR)
Home |
Main Index |
Thread Index |
Old Index