Re: undefined reference error

2010-10-23 Thread Ralf Wildenhues
Hello Sergio, * Sergio Belkin wrote on Wed, Oct 20, 2010 at 05:08:51PM CEST: > I have a project that is a library that links against libresolv, > It works fine on recent distros: Ubuntu 10.x Fedora 13, Mandriva > 2010.1 but on Centos 5.x I get the following errors > > g++ -DHAVE_CONFIG_H -I. -I

undefined reference error

2010-10-20 Thread Sergio Belkin
Hi, I have a project that is a library that links against libresolv, It works fine on recent distros: Ubuntu 10.x Fedora 13, Mandriva 2010.1 but on Centos 5.x I get the following errors g++ -DHAVE_CONFIG_H -I. -I./include -I/usr/include/postgresql -O3 -ansi -Wall -Wno-deprecated -D_FORTIF