Building ASlink without INDEXLIB fails due to a conflicting declaration of fndsym().
In SVN r17247:
The attached patch makes the declaration conditional on INDEXLIB, matching both existing implementations.
The correction was validated with GCC 16.2.0 on Windows using MinGW-w64. Both INDEXLIB and non-INDEXLIB builds completed successfully.
No changes to the function implementations or linker algorithms are required.