On 26/07/2021 11:51, Arnaud Le-roy wrote: > >> Read, but telling true did not pay enough attention to it. >> Can you provide full build process of UDF? (compiler command line, >> etc., may be build screen log). May be something wrong with switches… > > *java@debian*:*~/crash*$ cat uuid_functions.h > char * uuid1maccompr(); > *java@debian*:*~/crash*$ cat uuid_functions.c > #include "uuid_functions.h" > > char *uuid1maccompr() > { > return 0; > } > > > *java@debian*:*~/crash*$ gcc uuid_functions.c -c > *java@debian*:*~/crash*$ gcc uuid_functions.o -o testUDF.so -shared > *java@debian*:*~/crash*$ >
Shouldn't you use -fPIC? Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel