Thanks, I missed the 'recompile' step when experimenting. Although it's compiling ok right now, I'm having a different problem in finding the udf, but I suppose I must have done something wrong in the code. TypeException:user.s1_1[31]:'batudf.hllagg' undefined in: _41:bat[:oid,:str] := batudf.hllagg(_22:bat[:oid,:str], _39:bat[:oid,:oid], _40:bat[:oid,:oid]) On 12/18/2012 04:56 PM, Martin Kersten wrote:
Dear Miguel
If you use the examples udf extension, then you simply update the Makefile.ag in the corresponding directory, call configure and recompile.
regards, Martin
On 12/18/12 5:51 PM, Miguel Ping wrote:
What are the steps required to include additional .c and .h files in compiling user-defined functions? It was a long time since I used autotools and such; it seems to me that I would need to change the monetdb configuration files in order to regenerate the Makefile.* files within the UDF dir.
My problem is that I require alot of code for my UDF, and right now I'm copy/paste'ing code to udf.c and udf.h; it would be easier to include additional .h and .c files for UDF compilation.
Thanks _______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/users-list