Subject: RE: Linker error
From: [email-masked] (Sergey Okhapkin)

9 Dec 1998 09:01:59 -0800
Message-ID: <01BE2345.2EA8C2C0.cygnus.gnu-win32@sos>
To: "[email-masked]" <[email-masked]>,
        "'Joost Kraaijeveld'"
	 <[email-masked]>

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, http://www.lexa.ru/sos
Piscataway, NJ

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