How to solve 'Undefined symbol "_open$UNIX2003"' and similar

How to solve these error messages at link time:
Undefined symbols:
>> "_fcntl$UNIX2003", referenced from:
>> ___gcov_open in SOME_LIB.a(_XXX.o)
>> "_close$UNIX2003", referenced from:
>> ___gcov_open in SOME_LIB.a(_XXX.o)
>> "_open$UNIX2003", referenced from:
>> ___gcov_open in SOME_LIB.a(_XXX.o)
More...