pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedBorland c++ compile problems
3+ messages / 3 participants
[nested] [flat]
* Borland c++ compile problems
@ 2004-11-03 22:51 Hans-Günther Röwekamp <HGRoew@gmx.de>
2004-11-08 03:07 ` Re: Borland c++ compile problems Jeroen T. Vermeulen <jtv@xs4all.nl>
2004-11-29 01:56 ` Re: Borland c++ compile problems Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 2 replies; 3+ messages in thread
From: Hans-Günther Röwekamp @ 2004-11-03 22:51 UTC (permalink / raw)
To: pgsql-interfaces
Hallo
Hello with translate the source files postgresql-8.0.0beta4 (libpg) get I
the following errors:
---
Borland C++ 5.6 for Win32 copyright (C) 1993, 2002 Borland
\fe connect.c:
Warning W8017..\..\include\port/win32.h 37: Redefinition of ' DLL IMPORT '
is not identically
Error E2209 \fe connect.c 23: Include file ' unistd.h ' cannot be opened
Error E2209 \fe connect.c for 32: Include file ' pg_config_paths.h ' cannot
be opened
Error E2451 \fe connect.c for 2399: Undefined symbol ' SYSCONFDIR ' in
function parseServiceInfo
---
Where can I get the missing file?
Thanks,
Röwekamp
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Borland c++ compile problems
2004-11-03 22:51 Borland c++ compile problems Hans-Günther Röwekamp <HGRoew@gmx.de>
@ 2004-11-08 03:07 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
1 sibling, 0 replies; 3+ messages in thread
From: Jeroen T. Vermeulen @ 2004-11-08 03:07 UTC (permalink / raw)
To: Hans-G?nther R?wekamp <HGRoew@gmx.de>; +Cc: pgsql-interfaces
On Wed, Nov 03, 2004 at 11:51:41PM +0100, Hans-G?nther R?wekamp wrote:
> \fe connect.c:
> Warning W8017..\..\include\port/win32.h 37: Redefinition of ' DLL IMPORT '
> is not identically
> Error E2209 \fe connect.c 23: Include file ' unistd.h ' cannot be opened
> Error E2209 \fe connect.c for 32: Include file ' pg_config_paths.h ' cannot
> be opened
> Error E2451 \fe connect.c for 2399: Undefined symbol ' SYSCONFDIR ' in
> function parseServiceInfo
> ---
> Where can I get the missing file?
It would seem that you're hitting several unrelated problems here:
1. The include/port/win32.h header appears to try to set things up in a
way that's right for Microsoft's compiler, but thinking that it's right
for Microsoft's OS. The company doesn't always make it easy to
distinguish between the two; you may need to do some research to find out
how DLL importing is handled in Borland C++ Builder as opposed to MS
Visual C++. Either that, or look for a suitable "Visual C++ compatibility"
option in your compiler.
2. The unistd.h header is something your system/compiler combination
would normally provide. You either have it or you don't; it's not likely
to be fixable if you don't. *However,* there's a chance that the
configuration script actually checks for it and knows how to work around
a missing unistd.h, and this is simply a case where the file shouldn't
be included. Try commenting out the #include <unistd.h>; if you get
lots of errors for undefined Unix types/functions, you're out of luck.
3. Have you tried doing a search for pg_config_paths.h? If it doesn't
exist, it's probably generated by the configure script. Did you get
any errors when you ran the configure script?
Jeroen
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Borland c++ compile problems
2004-11-03 22:51 Borland c++ compile problems Hans-Günther Röwekamp <HGRoew@gmx.de>
@ 2004-11-29 01:56 ` Bruce Momjian <pgman@candle.pha.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2004-11-29 01:56 UTC (permalink / raw)
To: Hans-Günther Röwekamp <HGRoew@gmx.de>; +Cc: pgsql-interfaces
We have made some improvements for Borland C. Would you test again on a
recent snapshot or CVS? Thanks.
---------------------------------------------------------------------------
Hans-Günther Röwekamp wrote:
> Hallo
>
> Hello with translate the source files postgresql-8.0.0beta4 (libpg) get I
> the following errors:
> ---
> Borland C++ 5.6 for Win32 copyright (C) 1993, 2002 Borland
> \fe connect.c:
> Warning W8017..\..\include\port/win32.h 37: Redefinition of ' DLL IMPORT '
> is not identically
> Error E2209 \fe connect.c 23: Include file ' unistd.h ' cannot be opened
> Error E2209 \fe connect.c for 32: Include file ' pg_config_paths.h ' cannot
> be opened
> Error E2451 \fe connect.c for 2399: Undefined symbol ' SYSCONFDIR ' in
> function parseServiceInfo
> ---
> Where can I get the missing file?
>
> Thanks,
> R?wekamp
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-11-29 01:56 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-11-03 22:51 Borland c++ compile problems Hans-Günther Röwekamp <HGRoew@gmx.de>
2004-11-08 03:07 ` Jeroen T. Vermeulen <jtv@xs4all.nl>
2004-11-29 01:56 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox