I filed a bug report. URL: https://rt.cpan.org/Ticket/Display.html?id=154121
In my experience, Tk issues tend to remain unaddressed for an unacceptably long time - so don't expect a quick resolution to the problem in response to your bug report.
Did you get anywhere with
hv's suggestion of specifying
-DNeedWidePrototypes=1 ?
There's Xlib stuff in at least 2 separate source directories, so which directory are you in when that reported error arises ? (If we could see a few lines from before-and-after the error it might help us to provide better guidance.)
Cheers,
Rob