BastianGschrey / PowerTune

GNU General Public License v3.0
87 stars 35 forks source link

Raspberry Pi image build failure on ubuntu 18.04 #46

Closed sikrip closed 4 years ago

sikrip commented 4 years ago

Hi,

I am trying to build the pi image as per the instructions but I get the following error:


digitlst.cpp:67:13: fatal error: xlocale.h: No such file or directory
 #   include <xlocale.h>
             ^~~~~~~~~~~
compilation terminated.
*** Failed compilation command follows: ----------------------------------------------------------
/home/sikrip/buildroot/output/host/bin/ccache /usr/bin/g++ -I/home/sikrip/buildroot/output/host/include -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=1 -DU_DISABLE_RENAMING=1 -I. -I../common -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -O2 -I/home/sikrip/buildroot/output/host/include -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11 -c -DPIC -fPIC -o digitlst.o digitlst.cpp
--- ( rebuild with "/usr/bin/make VERBOSE=1 all" to show all parameters ) --------
../config/mh-linux:53: recipe for target 'digitlst.o' failed

Could you help me get around this?

Thanks, George

sikrip commented 4 years ago

I got around the above issue with ln -s /usr/include/locale.h /usr/include/xlocale.h but then I got into this problem: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/28

I am trying to build the image on ubuntu 18.04