I'm getting the following errors:
checking for gcc... gcc
checking whether the C compiler works... *** Error in `gcc': double free or corruption (top): 0x01a43588 ***
no
configure: error: in `/home/pi/git/vthoang/cgminer':
configure: error: C compiler cannot create executables
See `config.log' for more details
My Raspbian is fully up to date and I'm running kernel v4.4
An error this bad during just the configuration process usually implies a corrupt SD card/image in your RPi.