grep for 'undefined reference to' as well