pmartin / pocketbook-demo

A few demos of C/C++ applications for Pocketbook Touch Lux ereaders
MIT License
65 stars 9 forks source link

Help wanted: compiler error #32

Open MaxShevPovar opened 2 months ago

MaxShevPovar commented 2 months ago

Hi there! Please help me resolve the problem with the compiler.

max@q4ospc:~/Projects/pocketbook-demo-master/demo01$ /home/max/PBSDK/bin/arm-obreey-linux-gnueabi-g++ demo01.cpp -o demo01.app -linkview
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-g++: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
slav0nic commented 1 week ago

as workaround you can swith locale to something like C: $ export LC_ALL=C; arm-obreey-linux-gnueabi-g++ ...