On Thu, Nov 21, 2019 at 11:40:33AM +0000, Wilco Dijkstra wrote: > Hi Rainer, > > >> ld: warning: symbol 'err' has differing types: > >> (file /var/tmp//ccWQCyMc.o type=OBJT; file /lib/libc.so > >> type=FUNC); > >> /var/tmp//ccWQCyMc.o definition taken > > So are glob and err somehow exported as globals by your GLIBC? I don't think > those > are standard functions... It's odd the linker didn't give the warning when > the mismatch > was on a common data symbol - in both cases you have a function/data mismatch.
Both are functions on Linux too, see man glob and man err. Jakub