Duplicate inclusion of .so library at create UDF time

Connectivity
Fan

Duplicate inclusion of .so library at create UDF time

How do I get rid of the duplicate inclusion of the .so library when I define a UDF? What I'm after is to get rid of the warning that is generated when the DDL statement is executed.

Here's a BTEQ trace:

BTEQ -- Enter your DBC/SQL request or BTEQ command:

drop function my_udf;

*** Function has been dropped.
*** Warning: 5607 Check output for possible warnings encountered in compil
ing and/or linking UDF/XSP/UDM/UDT.
*** Total elapsed time was 3 seconds.

Check output for possible compilation warnings.
---------------------------------------------------------------------------
/usr/bin/cc -G -g -Xc -I /tpasw/etc -o libudf_042c_2214.so @FileList /us
r/local/mylib/lib/libudf.so -ludf -lumm2 -lmw -lm -lcc

BTEQ -- Enter your DBC/SQL request or BTEQ command:

REPLACE FUNCTION my_udf (Inputdata decimal(18,18),
prec integer, Scale integer, UserName varchar(30),
DatabaseName varchar(30),
TableName varchar(30),
ColumnName varchar(30),
IV varbyte(16),
IVLen integer )
RETURNS varbyte(64000)
SPECIFIC my_udf
LANGUAGE CPP
NO SQL
PARAMETER STYLE SQL
NOT DETERMINISTIC
CALLED ON NULL INPUT
EXTERNAL NAME 'SP!/usr/local/mylib/lib/libudf.so'
;

*** Function has been created.
*** Warning: 5607 Check output for possible warnings encountered in compil
ing and/or linking UDF/XSP/UDM/UDT.
*** Total elapsed time was 3 seconds.

Check output for possible compilation warnings.

---------------------------------------------------------------------------
/usr/bin/cc -Xc -I /tpasw/etc -c -o pre_my_udf.o pre_my_udf.c
NCR High Performance C Compiler R3.0c
(c) Copyright 1994-98, NCR Corporation
(c) Copyright 1987-98, MetaWare Incorporated
/usr/bin/cc -G -Xc -I /tpasw/etc -o libudf_042c_2215.so pre_my_udf.o
@FileList /usr/local/mylib/lib/libudf.so /usr/local/mylib/lib/libudf.so
-ludf -lumm2 -lmw -lm -lcc
UX:ld: WARNING: /usr/local/mylib/lib/libudf.so: warning: attempte
d multiple inclusion of file

BTEQ -- Enter your DBC/SQL request or BTEQ command: