It looks like you're new here. If you want to get involved, click one of these buttons!
make generates error when compiling samba-4-14.0
all dependencies are installed, ./configure checks and finishes successfully
That looks like a samba-bug to me, something in the waf-builder-tool, not a Oracle Linux Bug.
Maybe try OL8 with Samba 4.12 included?