This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Linker error


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
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]