I disabled the -j4 flag. I don't understand why the -j4 flag works with Slackware and the stock 3.5.10 but not Trinity. Compiling KDE is slow enough already. :( I tried again and the build failed. This time without the -j4 flag the failure message referred to menutab_impl.cpp. Attached is a log.