error compiling postgresql with fedora mingw

Tom Lane tgl at redhat.com
Tue Nov 25 17:52:50 UTC 2008


Itamar - IspBrasil <itamar at ispbrasil.com.br> writes:
> any help ?

What version of fedora/mingw exactly?

> i686-pc-mingw32-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -Wall 
> -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing 
> -fwrapv zic.o ialloc.o scheck.o localtime.o -L../../src/port 
> -Wl,--allow-multiple-definition   -lpgport -lz -lm  -lws2_32 -lshfolder 
> -o zic.exe
> ../../src/port/libpgport.a: could not read symbols: Archive has no 
> index; run ranlib to add one

Hmm, anything interesting in the part of the build log where libpgport.a
gets made?

Postgres is known to build on mingw
http://www.pgbuildfarm.org/cgi-bin/show_status.pl
so one way to attack the problem is to figure out what's different
between your installation and the ones on those mingw buildfarm machines.

			regards, tom lane




More information about the fedora-devel-list mailing list