Most Database commands are implemented as User Defined command in the standard header files, and call Runtime Functions under the hood.
Make sure that you include the standard header file during compilation (so do NOT use the option -nostddefs).
If you use the compiler option -stddefs to use an alternate standard header file then it is your responsibilty to make sure that these commands are implemented.