Search Postgresql Archives

HELP - compiling C functions for wiondws

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
I am trying to compile a C function for windows using VS 2008 Express and I getting this errors


pg2.c
c:\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 this
cl /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
*-------------------------------------------------------*


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux