Closed Ashoat closed 7 years ago
I'll have to look into this. To be honest, it's hard for me to keep up with all the different combinations of board revision, kernel version, bootloader setup, device trees and compiler versions. I have an LEDscape Arch-based image that I think I'm going to release soon so we can have a single, non-moving target for LEDscape. Stay tuned, and I'm happy to give you a copy via email.
Count me interested in testing the Arch-based image. I've got LEDscape driving a 23x30 display right now.
Figured it out! Sorry for the bother. It looks like the "Debian 7.11 2015-06-15 4GB SD LXDE" image in the instructions has an older glibc version (2.13) than the one the Makefile is configured for (_DEFAULT_SOURCE
replaces _BSD_SOURCE
in 2.19). The following simple patch to Makefile
should make it work with the stock glibc on the image:
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ CFLAGS += \
-W \
-Wall \
-D_DEFAULT_SOURCE \
+ -D_BSD_SOURCE \
-Wp,-MMD,$(dir $@).$(notdir $@).d \
-Wp,-MT,$@ \
-I. \
Probably an alternate approach would be to add a step to the instructions to update glibc before compilation
Thanks for posting this, I hit the same thing!
Hi there! First of all, thanks so much for supporting this project.
I'm trying to compile and install the LEDscape project as per instructions. I have a Beaglebone Green running the latest Wheezy 7.11 Debian build. I've checked out the LEDscape project, set the executable bit on the
install-software.sh
script, and attempted to run the script. It gets the following failure when running themake
command:Any idea what's going on? Should I not be relying on the stock compiler packaged with the BBB Debian images?
Would appreciate any advice. Thanks!