Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created January 15, 2009 23:02
Show Gist options
  • Save luislavena/47686 to your computer and use it in GitHub Desktop.
Save luislavena/47686 to your computer and use it in GitHub Desktop.
Luis@KEORE (D:\Users\Luis\projects\oss\datamapper\do.git\do_postgres\ext\do_postgres_ext)
$ ruby extconf.rb --with-pgsql-dir=d:/users/luis/projects/oss/_libs/pgsql --with-pgsql-server-include=D:/users/luis/projects/oss/_libs/pgsql/include/server --with-pgsql-win32-include=d:/users/luis/projects/oss/_libs/pgsql/include/server/port/win32 --with-iconv-dir=d:/users/luis/projects/oss/_libs/extras
checking for main() in -lpq... yes
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for postgres.h... yes
checking for mb/pg_wchar.h... yes
checking for catalog/pg_type.h... yes
checking for PQsetClientEncoding()... yes
checking for pg_encoding_to_char()... yes
checking for PQfreemem()... yes
creating Makefile
Luis@KEORE (D:\Users\Luis\projects\oss\datamapper\do.git\do_postgres\ext\do_postgres_ext)
$ make
gcc -I. -I. -ID:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -DHAVE_POSTGRES_H -DHAVE_MB_PG_WCHAR_H -DHAVE_CATALOG_PG_TYPE_H -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR -DHAVE_PQFREEMEM -Id:/users/luis/projects/oss/_libs/extras/include -Id:/users/luis/projects/oss/_libs/pgsql/include/server/port/win32 -ID:/users/luis/projects/oss/_libs/pgsql/include/server -Id:/users/luis/projects/oss/_libs/pgsql/include -g -O2 -Wall -c do_postgres_ext.c
In file included from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/defines.h:183,
from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from do_postgres_ext.c:12:
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/win32/win32.h:141:1: warning: "fsync" redefined
In file included from D:/users/luis/projects/oss/_libs/pgsql/include/server/c.h:88,
from D:/users/luis/projects/oss/_libs/pgsql/include/server/postgres.h:48,
from do_postgres_ext.c:2:
D:/users/luis/projects/oss/_libs/pgsql/include/server/pg_config_os.h:35:1: warning: this is the location of the previous definition
In file included from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/defines.h:183,
from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from do_postgres_ext.c:12:
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/win32/win32.h:158: error: redefinition of `struct timezone'
In file included from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/defines.h:183,
from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from do_postgres_ext.c:12:
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/win32/win32.h:203:1: warning: "vsnprintf" redefined
In file included from D:/users/luis/projects/oss/_libs/pgsql/include/server/c.h:826,
from D:/users/luis/projects/oss/_libs/pgsql/include/server/postgres.h:48,
from do_postgres_ext.c:2:
D:/users/luis/projects/oss/_libs/pgsql/include/server/port.h:189:1: warning: this is the location of the previous definition
In file included from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/defines.h:183,
from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from do_postgres_ext.c:12:
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/win32/win32.h:204:1: warning: "snprintf" redefined
In file included from D:/users/luis/projects/oss/_libs/pgsql/include/server/c.h:826,
from D:/users/luis/projects/oss/_libs/pgsql/include/server/postgres.h:48,
from do_postgres_ext.c:2:
D:/users/luis/projects/oss/_libs/pgsql/include/server/port.h:190:1: warning: this is the location of the previous definition
In file included from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/missing.h:16,
from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/ruby.h:718,
from do_postgres_ext.c:12:
d:/Users/Luis/compilers/baked-for-ruby/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27: error: redefinition of `struct timezone'
d:/Users/Luis/compilers/baked-for-ruby/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: conflicting types for 'gettimeofday'
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/win32/win32.h:210: error: previous declaration of 'gettimeofday' was here
d:/Users/Luis/compilers/baked-for-ruby/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: conflicting types for 'gettimeofday'
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/win32/win32.h:210: error: previous declaration of 'gettimeofday' was here
In file included from D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/ruby.h:718,
from do_postgres_ext.c:12:
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/missing.h:35: error: conflicting types for 'crypt'
D:/users/luis/projects/oss/_libs/pgsql/include/server/port.h:316: error: previous declaration of 'crypt' was here
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-131/lib/ruby/1.8/i386-mingw32/missing.h:35: error: conflicting types for 'crypt'
D:/users/luis/projects/oss/_libs/pgsql/include/server/port.h:316: error: previous declaration of 'crypt' was here
make: *** [do_postgres_ext.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment