This code works perfectly both under the Windows host and under the same Ubuntu guest running Vbox 3.0.12. The program continues to run past these errors, but all textures appear white. All other opengl functions seem to work fine despite the errors with texturing.

Note that I did start with a fresh 3.2.6 installation, downgraded to 3.0.14, upgraded to 3.1.0, upgraded to 3.2.8, always reinstalling the VBox additions in safemode and replacing the files with older/newer versions as needed.