hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
839 stars 204 forks source link

Current pull does not build on Raspberry Pi #3

Closed gearhead closed 11 years ago

gearhead commented 11 years ago

Just updated the source by 'git pull' and the result will not compile. I tried a full update of my PRi as well with apt-get update and rpi-update and tried again and get the same error:

make all-recursive make[1]: Entering directory /home/pi/gmrender-resurrect' Making all in src make[2]: Entering directory/home/pi/gmrender-resurrect/src' gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/upnp -DPKG_DATADIR=\"/usr/local/share/gmediarender\" -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c Inconsistency detected by ld.so: dl-lookup.c: 867: _dl_setup_hash: Assertion (bitmask_nwords & (bitmask_nwords - 1)) == 0' failed! make[2]: *** [main.o] Error 1 make[2]: Leaving directory/home/pi/gmrender-resurrect/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/home/pi/gmrender-resurrect' make: * [all] Error 2

hzeller commented 11 years ago

This looks like a problem in the toolchain somewhere (i.e. ld.so or gcc broken), so probably not much I can help here (I don't have a RPi, I usually compiled on a CuBox where I haven't seen this problem).

Does the compiler work in other projects ? If you google for this error message ( "dl-lookup.c: 867: _dl_setup_hash"), this looks like people experienced that in other circumstances ... maybe some glitch in a particular version of the RPi toolchain ?

gearhead commented 11 years ago

Well, a reinstall of the current raspbian and it compiles. The only issue I have been having is the periodic shutdown of the pi. Don't know if it is gmrender, but will see.

Thanks!