Linker error

Sergey Okhapkin
Wed Dec 9 04:28:00 GMT 1998

Joost Kraaijeveld wrote:
> Below is the output of a compilation. Can anyone give me am idea where I
> must look for the error?
> dllwrap -o pq++.dll --dllname pq++.dll --def pq++.def pgenv.o pgconnection.o
> pgtransdb.o pgcursordb.o pglobject.o ../../utils/dllinit.o  -L../libpq -lpq
> pgenv.o: In function `__default_alloc_template<0, 0>::chunk_alloc(unsigned
> int, int &)':
> /usr/src/pgsql/src/interfaces/libpq++/D:\\Unix\\Root\\cygnus\\CYGWIN~1\\H-I5
> 86~1\\bin\\..\\lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\..\\..\\..\\..\\..
> \\include\\g++\\stl_alloc.h(.text$oom_malloc__t23__malloc_alloc_template1i0U
> i+0x16): undefined reference to `cerr'

Try "dllwrap --driver-name g++"

Sergey Okhapkin,
Piscataway, NJ

For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list