"Alberto Faraldos Izquierdo" <alberto.faraldos@sema.es> writes: | link all these libraries and the main program written in C with GCC, it If you're mixing C and C++, main() should be written in C++. -- Gaby