It seems that the slirp code that Basilisk II/SheepShaver uses isn't properly set up for Clang: in Clang, inline methods must be explicitly stated to be either extern or statics. The functions in slirp.h are only defined inline, causing linking errors. My patch fixes it and makes it link just fine under Clang (with --disable-jit set, unfortunately).
slirp fix