Hi colleagues,
I've been adding some functionalities to QProcess class of Qt that I need for my program, as a new methods and other features.

When compiling Qt 4.6.2 on Linux Debian Lenny with static option everything worked fine, but when I call one of these new methods from my application and link using the -static options, It's returned the error:

undefined reference ... <new methods added>

If I compiled and linked without -static options Qt sources and my application on Linux, everything works fine, but I say more, if compiled and linked with -static options on Windows, It works well too.

What could it be?