undefined references

undefined references

Post by Ian Lance Tayl » Sat, 24 Feb 2001 08:43:52




> Can some one tell me what am I missing?

> $ make intrasend
> gcc -o /c/inetpub/wwwroot/cgi-bin/intrasend.exe intrasend.c
> intrautils.c -I/usr/
> local/pgsql/include -L/usr/local/pgsql/lib

You are missing -lpq after the -L/usr/local/pgsql/lib.

Ian