Category Archives: Tricks

ctags support for Rust

ctags (as of versionĀ 5.9~svn20110310) does not support Rust natively, but the Rust repository contains configuration lines that add support for it using –langdef/–langmap/–regex-* options. My “fix” is to copy those lines to ~/.ctags. Here is a one-liner to do this … Continue reading

Posted in Tricks | Tagged , | 1 Comment

Making icecream monitor (icemon) work on Jaunty

While I have been using Ubuntu 8.04 LTS (hardy) in my work laptop (for the very same reasons I used dapper for a long time), I knew that some Ubuntu 9.04 (jaunty) users were having problems with icemon (the icecream … Continue reading

Posted in Debian/Ubuntu, Tricks | Tagged | Leave a comment

“undefined reference to `vtable for …’ errors” in Qt derived classes

If you ever come across an error like this when compiling C++ code with Qt derived class definitions: g++ -Wl,–no-undefined -o test test.o -L/usr/lib -lQtGui -lQtCore -lpthread test.o: In function `main’: test.cpp:(.text+0x2c): undefined reference to `vtable for MyClass’ collect2: ld … Continue reading

Posted in Tricks | Tagged | 24 Comments