Skip site navigation (1) Skip section navigation (2)

postgresql cygwin installation error

From: "Janio Rosa da Silva" <janio_2003(at)yahoo(dot)com(dot)br>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: postgresql cygwin installation error
Date: 2004-07-03 15:25:51
Message-ID: 000001c4618a$29d78db0$0200a8c0@pc02 (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hi,

During the configure postgresql installation process I have the follow error message:

/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x133): undefined reference to `_FindAtomA(at)4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x1b7): undefined reference to `_FindAtomA(at)4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x24c): undefined reference to `_AddAtomA(at)4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x2a0): undefined reference to `_GetAtomNameA(at)12'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(_cygwin_crt0_common.o)(.text+0xbd): undefined reference to `_GetModuleHandleA(at)4'

I am using the cygwin with Windows xp professional. I am trying to install the postgresql-7.4.2;
I executed the ./configure command and received the error messages.

See the config.log file:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL configure 7.4.2, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = pc02
uname -m = i686
uname -r = 1.5.10(0.116/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2004-05-25 22:07

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/d/WINDOWS/system32
PATH: /cygdrive/d/WINDOWS
PATH: /cygdrive/d/WINDOWS/System32/Wbem
PATH: /cygdrive/d/Program Files/Panda Software/Panda Antivirus Platinum
PATH: /cygdrive/d/Program Files/Microsoft SQL Server/80/Tools/BINN


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1296: checking build system type
configure:1314: result: i686-pc-cygwin
configure:1322: checking host system type
configure:1336: result: i686-pc-cygwin
configure:1346: checking which template to use
configure:1446: result: cygwin
configure:1565: checking whether to build with 64-bit integer date/time support
configure:1596: result: no
configure:1603: checking whether NLS is wanted
configure:1637: result: no
configure:1645: checking for default port number
configure:1674: result: 5432
configure:1899: checking for gcc
configure:1915: found /usr/bin/gcc
configure:1925: result: gcc
configure:1944: checking for C compiler version
configure:1947: gcc --version </dev/null >&5
gcc (GCC) 3.3.1 (cygming special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1950: $? = 0
configure:1952: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --disable-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verbose --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin
Thread model: posix
gcc version 3.3.1 (cygming special)
configure:1955: $? = 0
configure:1957: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1960: $? = 1
configure:1986: checking for C compiler default output
configure:1989: gcc    conftest.c  >&5
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x133): undefined reference to `_FindAtomA(at)4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x1b7): undefined reference to `_FindAtomA(at)4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x24c): undefined reference to `_AddAtomA(at)4'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x2a0): undefined reference to `_GetAtomNameA(at)12'
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(_cygwin_crt0_common.o)(.text+0xbd): undefined reference to `_GetModuleHandleA(at)4'
collect2: ld returned 1 exit status
configure:1992: $? = 1
configure: failed program was:
#line 1963 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:2019: error: C compiler cannot create executables

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-cygwin
ac_cv_build_alias=i686-pc-cygwin
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DOCBOOKSTYLE_set=
ac_cv_env_DOCBOOKSTYLE_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-cygwin
ac_cv_host_alias=i686-pc-cygwin
ac_cv_prog_ac_ct_CC=gcc

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "PostgreSQL"
#define PACKAGE_TARNAME "postgresql"
#define PACKAGE_VERSION "7.4.2"
#define PACKAGE_STRING "PostgreSQL 7.4.2"
#define PACKAGE_BUGREPORT "pgsql-bugs(at)postgresql(dot)org"
#define PG_VERSION "7.4.2"
#define DEF_PGPORT 5432
#define DEF_PGPORT_STR "5432"

configure: exit 77

Responses

pgsql-cygwin by date

Next:From: mike gDate: 2004-07-05 05:15:51
Subject: Re: postgresql cygwin installation error
Previous:From: Janio Rosa da SilvaDate: 2004-07-03 15:13:31
Subject: postgresql cygwin install

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group