[gcompris-devel] help needed

Yavor Doganov yavor at gnu.org
Fri Jan 9 10:12:09 UTC 2009


On Fri, Jan 09, 2009 at 03:08:24PM +0530, Ankit Sahai wrote:
> When I am issuing the command #debian/rules build

Don't build packages as root.  `fakeroot debian/rules build' is the 
appropriate command here, run as a normal user.

> i got the following error

Always include the command that was run as it is very hard to diagnose 
the error otherwise:

/bin/sh ../../libtool --tag=CC --mode=link i486-linux-gnu-gcc -Wall -g 
-O2 -Wall -Werror -Wl,-z,defs -o libalgebra.la -rpath /usr/lib/gcompris 
-module -avoid-version algebra.lo i486-linux-gnu-gcc -shared 
.libs/algebra.o -Wl,-z -Wl,defs -Wl,-soname -Wl,libalgebra.so -o .libs/libalgebra.so
		^^^^^^^^^^^^^^^

These options to the linker enforce symbol resolution at build time, 
which will always fail here.  Previously, there was a libgcompris 
library against which the activities (built as loadable modules) were 
linking.  This was removed some time ago (8.2 or 8.3?), as symbols are 
always resolved at runtime (since the activities are loaded from 
gcompris anyway).

I vaguely recall at that time they were linking with --no-undefined, but 
I'm not sure and I can't check in the repository right now.  Surely, 
these LDFLAGS don't come from the Debian package (unless you added them 
yourself.)

It seems to me that the source you're compiling is seriously messed up;
looks like a relevantly new GCompris release with some old parts of the 
build system replaced.  Without the source package, it's impossible to 
tell.




More information about the Gcompris-devel mailing list