Well I don't know if I'm the best to give instructins, I've never actually solo mined.
Getwork is the old protocol still used by many coins.
Getblocktemplate (GBT) is the new protocol used by Bitcoin and many clones. I'm adding segwit support to GBT.
The command line syntax is slightly different between them but there is some auto-detection in the code.
Generally GBT will be tried first then fallback to getwork. The messages at startup should be clear on which is being used.
It would be good if you could do a control test mining ring with the litecoincash fork of cpuminer-multi (step 1 of the plan):
https://github.com/litecoincash-project/cpuminer-multi
The main goals are 1: to confirm it can connect, get work from the server, and start hashing; 2: confirm it can find a block
which could take some time.
It would be good to know if the code I'm copying actually works.
I recommend adding -D -P the command line to gather more data in case of problems. You can also add --hash-meter to confim
it's hashing if things are too quiet.
I've started analyzing the code and so far it looks like the segwit code is mostly protected when segwit is not enabled
so adding segwit should break anything (fingers crossed).