The documentation of BProlog mentions: "B-Prolog has a bi-directional interface with C through which Prolog programs can call functions written in C and C programs can call Prolog as well. C pro- grams that use this interface must include the file "bprolog.h" in the directory $BPDIR/Emulator." I can't find bprolog.h, nor a library to link against. Are these files only available with individual licences ?
You shoudl have in folder with your prolog, try find floder called 'include' perhaps