Avoid UDX linkage symbol collisions

As you develop your UDXs, carefully consider the name choices for the symbols they use. If you use the same symbol name in several UDXs, a query that uses only one of those UDXs runs without any problem. However, a query that uses two or more of those UDXs might return a loader error for that symbol. To avoid such loader errors:
  • For identically named (but different) symbols, declare functions as static, and use namespaces to help uniquely identify symbols.
  • For code that is reused among several UDXs, compile the code for the UDXs and the shared code into a single object file.