Add stubs for all missing routines

All of them trigger errors but at least the library
can be linked now.