Thread: Unable to compile 7.3beta1 on cygwin

Unable to compile 7.3beta1 on cygwin

From
"Ronald Kuczek"
Date:
Your name  : Ronald Kuczek
 Your email address : ronald@breitenbach.pl


 System Configuration
 ---------------------
   Architecture (example: Intel Pentium)   : i386

   Operating System (example: Linux 2.0.26 ELF)  : Windows NT 4.0 (cygwin)

   PostgreSQL version (example: PostgreSQL-7.3):   PostgreSQL-7.3beta1

   Compiler used (example:  gcc 2.95.2)  : gcc 2.95.3-5


 Please enter a FULL description of your problem:
 ------------------------------------------------
 It is not possible to compile with cygwin.



 Please describe a way to repeat the problem.   Please try to provide a
 concise reproducible example, if at all possible:
 ----------------------------------------------------------------------
 configure (without options)
 make

 comes:
 dlltool --export-all --output-def cyrillic_and_mic.def cyrillic_and_mic.o
 dllwrap -o cyrillic_and_mic.dll --dllname cyrillic_and_mic.dll --def
 cyrillic
 d_mic.def cyrillic_and_mic.o
 ../../../../../../src/utils/dllinit.o -lcygipc -
lcrypt -L/usr/local/lib -L../../../../../../src/backend -lpostgres
 Warning: resolving _CurrentMemoryContext by linking to
 __imp__CurrentMemoryCo
 xt (auto-import)
 fu000001.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
 fu000002.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
 fu000003.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
 fu000004.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
 fu000005.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
 fu000006.o(.idata$3+0xc): more undefined references to
`libpostgres_a_iname'
 low
 nmth000000.o(.idata$4+0x0): undefined reference to
 `_nm__CurrentMemoryContext
 collect2: ld returned 1 exit status
 dllwrap: gcc exited with status 1
 make[3]: *** [cyrillic_and_mic.dll] Error 1
 make[3]: Leaving directory
 `/usr/src/postgresql-7.3b1/src/backend/utils/mb/co
 rsion_procs/cyrillic_and_mic'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/usr/src/postgresql-7.3b1/src/backend/utils/mb/co
 rsion_procs'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/usr/src/postgresql-7.3b1/src'
 make: *** [all] Error 2



 If you know how this problem might be fixed, list the solution below:
 ---------------------------------------------
 I don't know the solution. It seems to be something wrong - 7.2.2 without
 problems,
 7.3 - even from CVS - doesn't work.

 Best regards
 Rony
>

Re: Unable to compile 7.3beta1 on cygwin

From
Peter Eisentraut
Date:
Ronald Kuczek writes:

>  I don't know the solution. It seems to be something wrong - 7.2.2 without
>  problems,
>  7.3 - even from CVS - doesn't work.

This was fixed about 24 hours ago, so either updating your CVS or using a
later snapshot should work.

--
Peter Eisentraut   peter_e@gmx.net