This is the mail archive of the
mailing list for the Cygwin XFree86 project.
Building xdvik (was Re: Failure of XtGetApplicationResources() in X11R7.4)
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 23 Jan 2009 15:05:30 +0000
- Subject: Building xdvik (was Re: Failure of XtGetApplicationResources() in X11R7.4)
- References: <email@example.com> <494C3867.firstname.lastname@example.org>
- Reply-to: cygwin-xfree at cygwin dot com
Jon TURNEY wrote:
>> Warning: No type converter registered for '' to '<81>ìÀ' conversion.
Warning: No type converter registered for '<90>' to '' conversion.
I took a quick look at this, there's definitely something strange going
I think those strings between '' are supposed to be type names like
via the defines in /usr/include/X11/StringDefs.h, but for some reason
XtString doesn't seem to get linked from the Xt libary, so we use a
uninitialized instance, with, as they say, hilarious consequences. You can
see this quite clearly if you set a breakpoint on the call to
XtSetTypeConverter() in main.c.
You can work around this by building with CFLAGS="-DXTSTRINGDEFINES", which
makes the strings constants rather than references to elements in an
But then it fails with a different segv, but this looks to be due to a
similar problem with transientShellWidgetClass
This really needs some digging into how this used to work and what's
I think Yaakov was right when he suggested that the libtool this uses is
sufficiently old to cause problems 
$ tar -zxf xdvik-22.84.14.tar.gz
$ cd xdvik-22.84.14
$ ./configure --prefix=/usr --with-xdvi-x-toolkit=xaw3d
$ cp /usr/lib/libXt.dll.a texk/xdvik/.libs/libimp-cygXt-6.a
$ rm texk/xdvik/xdvi-xaw3d.exe
[works, or at least, works enough to give me a file open dialog...]
Searching the mailing list for 'libtool import broken' finds , which seems
be relevant to this problem.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html