This is the mail archive of the cygwin@sources.redhat.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]

PostgreSQL compile error


I did some research in the archives on cygwin and
postgresql and it helped me get this far but I am
stuck right now.  Anyone know how to resolve this
series of compile errors?

thanks

---------------------------------------------

dllwrap -o pq++.dll --dllname pq++.dll --def pq++.def
pgconnection.o pgdatabase.
o pgtransdb.o pgcursordb.o pglobject.o 
../../utils/dllinit.o  -L/usr/local/lib
-L/usr/local/pgsql/lib -L../../backend -lpostgres
-lcygipc -lcygwin -lcrypt -lke
rnel32 --driver-name g++ -L../../interfaces/libpq -lpq
/usr/local/lib/libstdc++.a(iostream.o)(.text+0x22f4):
multiple definition of `io
stream type_info function'
pgconnection.o(.text$__tf8iostream+0x0): first defined
here
/usr/local/lib/libstdc++.a(iostream.o)(.text+0x18a9):
undefined reference to `__
imp__iob'
/usr/local/lib/libstdc++.a(iostream.o)(.text+0x18b7):
undefined reference to `__
imp__iob'
/usr/local/lib/libstdc++.a(streambuf.o)(.text+0x30c):
undefined reference to `_e
rrno'
/usr/local/lib/libstdc++.a(stdstrbufs.o)(.text+0x2d):
undefined reference to `__
imp__iob'
/usr/local/lib/libstdc++.a(fileops.o)(.text+0x173):
undefined reference to `_err
no'
/usr/local/lib/libstdc++.a(fileops.o)(.text+0x1de):
undefined reference to `_err
no'
/usr/local/lib/libstdc++.a(fileops.o)(.text+0x232):
undefined reference to `_err
no'
/usr/local/lib/libstdc++.a(fileops.o)(.text+0x343):
undefined reference to `_err
no'
/usr/local/lib/libstdc++.a(fileops.o)(.text+0x3f6):
undefined reference to `_err
no'
/usr/local/lib/libstdc++.a(fileops.o)(.text+0x539):
more undefined references to
 `_errno' follow
/usr/local/lib/libstdc++.a(floatconv.o)(.text+0x12e7):
undefined reference to `_
_imp__HUGE_dll'
/usr/local/lib/libstdc++.a(floatconv.o)(.text+0x145a):
undefined reference to `_
errno'
collect2: ld returned 1 exit status
dllwrap: g++ exited with status 1
make[2]: *** [libpq++.a] Error 1
make[2]: Leaving directory
`/usr/src/postgresql-7.0.3/interfaces/libpq++'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/src/postgresql-7.0.3/interfaces'
make: *** [all] Error 2


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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