pidfile_write and the rest of the listed functions are part of libbsd.
the configure script looks for libbsd >= 0.2.0 ( minimal version )
you probably have libbsd 0.3.0 which is still causing this problems on some systems .
I would suggest you to
1> get rid of current version of libbsd you got ( probably 0.3.0 - make sure you can get it reinstalled if needed )
2> download/compile and install ( sudo of course ) the 0.2.0 version of libbsd from here:
make sure you do:
sudo make install
than make clean
on bumblebee src tree, and try again,
ps: if you cannot uninstall libbsd in step 1
locate these files in /usr/lib || /usr/lib64 and rename them: ( some of them are symbolic links )
if you have other than 0.3.0 version just look for libbsd* in the /usr/lib