Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created April 13, 2009 12:56
Show Gist options
  • Select an option

  • Save dbussink/94433 to your computer and use it in GitHub Desktop.

Select an option

Save dbussink/94433 to your computer and use it in GitHub Desktop.
gcc -I. -I. -IC:/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32 -IY:/Documents/projects/do/do_postgres/ext/do_postgres_ext -DHAVE_LIBPQ_FE_H -DHAVE_LIBP
Q_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 -IY:/Documen
ts/projects/do/do_postgres/vendor/pgsql/include/server/port/win32 -IY:/Documents/projects/do/do_postgres/vendor/pgsql/include -IY:/Documents/projects/do/do_post
gres/vendor/pgsql/include/server -g -O2 -UENABLE_NLS -DHAVE_GETTIMEOFDAY -DHAVE_CRYPT -Wall -c /Y/Documents/projects/do/do_postgres/ext/do_postgres_ext/do_p
ostgres_ext.c
In file included from C:/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32/missing.h:16,
from C:/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32/ruby.h:718,
from y:/Documents/projects/do/do_postgres/ext/do_postgres_ext/do_postgres_ext.c:24:
c:/ruby-1.8.6-p368-i386-mingw32/devkit/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27: error: redefinition of `struct timezone'
c:/ruby-1.8.6-p368-i386-mingw32/devkit/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: conflicting types for 'gettimeofd
ay'
C:/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32/win32/win32.h:211: error: previous declaration of 'gettimeofday' was here
c:/ruby-1.8.6-p368-i386-mingw32/devkit/devkit/gcc/3.4.5/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40: error: conflicting types for 'gettimeofday'
C:/ruby-1.8.6-p368-i386-mingw32/lib/ruby/1.8/i386-mingw32/win32/win32.h:211: error: previous declaration of 'gettimeofday' was here
make: *** [do_postgres_ext.o] Error 1
rake aborted!
Command failed with status (2): [make...]
(See full trace by running task with --trace)
Y:\Documents\projects\do\do_postgres>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment