From: | Edwin Quijada <listas_quijada(at)hotmail(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | HELP - compiling C functions for wiondws |
Date: | 2012-01-31 05:04:36 |
Message-ID: | BAY155-W12E903033C09BFBB705863E3720@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi!
I am trying to compile a C function for windows using VS 2008 Express and I getting this errors
pg2.cc:\program files\postgresql\9.0\include\server\pg_config_os.h(203) : error C2011: 'timezone' : 'struct' type redefinition c:\program files\postgresql\9.0\include\server\pg_config_os.h(203) : see declaration of 'timezone' c:\program files\postgresql\9.0\include\server\pg_config_os.h(212) : error C2011 : 'itimerval' : 'struct' type redefinition c:\program files\postgresql\9.0\include\server\pg_config_os.h(212) : see declaration of 'itimerval' c:\program files\postgresql\9.0\include\server\utils/elog.h(118) : error C2365: 'errcode' : redefinition; previous definition was 'typedef' C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\crtdefs.h(560) : see declaration of 'errcode'
The command that I used to compile is thiscl /I "\Program Files\postgreSQL\9.0\include" /I "\Program Files\postgreSQL\9.0\include\server" /I "\Program Files\postgreSQL\9.0\include\server\port\win32" /c "D:\exte_c\pg2.c"
Any cluees ort any ideas ?I am using PG 9.0.6
*-------------------------------------------------------*
*-Edwin Quijada
*-Developer DataBase
*-JQ Microsistemas
*-Soporte PostgreSQL
*-www.jqmicrosistemas.com
*-809-849-8087
*-------------------------------------------------------*
From | Date | Subject | |
---|---|---|---|
Next Message | hubert depesz lubaczewski | 2012-01-31 10:30:14 | Re: [GENERAL] pg_dump -s dumps data?! |
Previous Message | Tom Lane | 2012-01-31 04:29:44 | Re: [GENERAL] Why extract( ... from timestamp ) is not immutable? |