Did you get something like this?
# error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
^
Also, yes the official binaries will be against BDB4.8 .
Nope. I have next week off to mess around more but I'm happy with the GUI in whonix for now. I'm building a node (no GUI) on Xenial right now, will let you know how it goes. I am doing same as I did on whonix except for installing qt4 dependencies. If I run into compiler problems, I may install the gcc 4.9 packages available in Ubuntu's repos and set CC and CXX to use older version. I believe whonix has 4.9
When I configured DB4 on whonix, I did
Where I set DBD_PREFIX to the location I installed db4.
On a side note, I stupidly set my age when I tried to send a transaction and it's been a while and still no confirmations. As I understand it, any miner running the older software will reject this transaction. Are there nodes I can hardcode to get this to go through or should I just leave it? I only have one peer running 0.6.x
EDIT: Sexcoin (without GUI) built fine on 16.04 with custom DB4 install using the default GCC 5.4. Maybe tomorrow night I can try getting GUI to build.