Category Archives: en

11th: watch your compiler warnings

Few, most important in my opinion, however mostly overlooked GCC compiler switches: -Wall: enables all the warnings about constructions that some users consider questionable, very likely a programming mistakes -Wextra: enables some extra warning flags that are not enabled by … Continue reading

Posted in en | Tagged | Leave a comment

Couring GIT output

Default git colour setup is not so good. On black terminal background it looks dark: However, with small change in ~/.git/config file: [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold … Continue reading

Posted in en | Tagged | Leave a comment

[FIXED] "not found (try using -rpath or -rpath-link)" during cross compilation

When you see the following kind of errors during cross compilation (linking phase): ld: warning: libfontconfig.so.1, needed by …/libQtGui.so, not found (try using -rpath or -rpath-link) ld: warning: libaudio.so.2, needed by …/libQtGui.so, not found (try using -rpath or -rpath-link) There … Continue reading

Posted in en | Tagged | 1 Comment

Buildroot basics

If you are an embedded software developer like me chances are you use embedded Linux for the purpose. It's Open Source, has great tools support and is a great software environment where (almost) everything could be automated through command line … Continue reading

Posted in en | Tagged , , | Leave a comment

[SOLVED] VPN connectioin error: short read (-1): Message too long

If you encounter the following error during VPN connection: pptp[12549]: nm-pptp-service-12543 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long there's an easy fix. You have to lower your MTU (automatically obtained value was invalid). First, you have to locate your VPN … Continue reading

Posted in en | Tagged | Leave a comment