Karel Zak <[EMAIL PROTECTED]> writes: > I tried compile some program with latest CVS libpq:
> gcc -O2 -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/include/httpd > -Wall -I/usr/lib/postgresql/include -DLIBAPMOM_FUNCALL=1 -Wall > -Wmissing-prototypes -Wmissing-declarations `xml2-config --cflags` > `Wand-config --cppflags` -o jsn-importer main.o file.o db.o md5.o > -L/usr/lib/postgresql/lib -lpq `xml2-config --libs` -lMagick -lWand > /usr/lib/postgresql/lib/libpq.so: undefined reference to `get_home_path' There's another problem here, which is that pulling port/path.c into libpq to fix this will pollute application namespace with a whole bunch of global symbols that don't use a PQ or pq prefix. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly