Build error

Поиск
Список
Период
Сортировка
От Adrian Maier
Тема Build error
Дата
Msg-id 40892B44.9090209@fx.ro
обсуждение исходный текст
Ответы Re: Build error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers-win32
Hello,


I am trying to build the latest nightly snapshot on windows2000, and
I'm getting the following error:


make[2]: Entering directory `/d/work/pgsql/postgresql-snapshot/src/port'
[..snip..]
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../src/include -I./src/include/port/win32
-DEXEC_BACKEND  "-I../../src/include/port/win32"  -c -o getrusage.o
getrusage.c
In file included from ../../src/include/postgres.h:48,
                  from getrusage.c:19:
../../src/include/c.h:80:26: pg_config_os.h: No such file or directory
In file included from ../../src/include/c.h:771,
                  from ../../src/include/postgres.h:48,
                  from getrusage.c:19:
../../src/include/port.h:85: warning: `struct timezone' declared inside
parameter list
../../src/include/port.h:85: warning: its scope is only this definition
or declaration, which is probably not what you want
../../src/include/port.h:85: warning: `struct timeval' declared inside
parameter list
make[2]: *** [getrusage.o] Error 1
make[2]: Leaving directory `/d/work/pgsql/postgresql-snapshot/src/port'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/d/work/pgsql/postgresql-snapshot/src'
make: *** [all] Error 2


I have tried to ./configure with --with-includes=/mingw/include , and it
apparently got past the error,  but later it complained that:

d:/mingw/include/math.h:284: warning: no previous prototype for
`__fpclassifyl'
d:/mingw/include/math.h:305: warning: no previous prototype for `__isnan'
d:/mingw/include/math.h:314: warning: no previous prototype for `__isnanf'
d:/mingw/include/math.h:323: warning: no previous prototype for `__isnanl'
d:/mingw/include/math.h:340: warning: no previous prototype for `__signbit'
d:/mingw/include/math.h:346: warning: no previous prototype for `__signbitf'
d:/mingw/include/math.h:352: warning: no previous prototype for `__signbitl'
d:/mingw/include/math.h:386: warning: no previous prototype for `sinhf'
d:/mingw/include/math.h:390: warning: no previous prototype for `coshf'
d:/mingw/include/math.h:394: warning: no previous prototype for `tanhf'
d:/mingw/include/math.h:403: warning: no previous prototype for `expf'
d:/mingw/include/math.h:415: warning: no previous prototype for `frexpf'
d:/mingw/include/math.h:427: warning: no previous prototype for `ldexpf'
d:/mingw/include/math.h:514: warning: no previous prototype for `hypotf'
d:/mingw/include/math.h:519: warning: no previous prototype for `powf'
d:/mingw/include/math.h:566: warning: no previous prototype for `rint'
d:/mingw/include/math.h:573: warning: no previous prototype for `rintf'
d:/mingw/include/math.h:580: warning: no previous prototype for `rintl'
d:/mingw/include/math.h:588: warning: no previous prototype for `lrint'
d:/mingw/include/math.h:596: warning: no previous prototype for `lrintf'
d:/mingw/include/math.h:604: warning: no previous prototype for `lrintl'
d:/mingw/include/math.h:612: warning: no previous prototype for `llrint'
d:/mingw/include/math.h:620: warning: no previous prototype for `llrintf'
d:/mingw/include/math.h:628: warning: no previous prototype for `llrintl'


I believe there is something wrong with mingw or msys, and not with
the pgsql sources.    Do you have any idea about what could be the problem ?



Thanks,
Adrian Maier







В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: win32 binaries
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: win32 binaries