From: johann at 2ndquadrant.com (Johann 'Myrkraverk' Oskarsson) Date: Mon, 02 May 2011 14:02:14 -0000 Subject: [Pljava-dev] Fwd: Re: Calling it a day In-Reply-To: <4DBB59FD.6050607@ejurka.com> References: <4DBB58FD.3090004@gmail.com> <4DBB59FD.6050607@ejurka.com> Message-ID: On Sat, 30 Apr 2011 00:38:21 -0000, Kris Jurka wrote: > A missing reference to DatumGetFloat8 implies that the server was built > with float8 pass by value and pljava was built with float8 pass by > reference. Both the Enterprise DB and my header files define the DatumGetFloat8 in the same way: Enterprise DB: server/postgres.h:#define DatumGetFloat8(X) (* ((float8 *) DatumGetPointer(X))) My cross compiled binary: server/postgres.h:#define DatumGetFloat8(X) (* ((float8 *) DatumGetPointer(X))) However, when I preprocess Double.c, which does reference it, I get: extern float8 DatumGetFloat8(Datum X); I guess something in the PL/Java build system is broken for 64 bit Windows. That's what I'm hunting down now. -- Johann Oskarsson http://www.2ndquadrant.com/ |[] PostgreSQL Development, 24x7 Support, Training and Services --+-- | Blog: http://my.opera.com/myrkraverk/blog/