This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
RE: compile problems Xutf8TextListToTextProperty not defined
- To: "Cygwin Xfree Mailing List" <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: compile problems Xutf8TextListToTextProperty not defined
- From: "Kevin Wright" <kevin at wright dot org>
- Date: Wed, 21 Feb 2001 14:23:22 -0700
Suhaib,
Just to follow up on this mail, I did a cvs update -d -P and
have rebuilt. The good news is that I got everything to build!
Boy was that a fun exercise! I can see how much hard work you've
done to check in the cygwin-specific code to make this work.
Thanks again. I'm very happy to have an up-to-date set of
X files to work with!
The bad news is that due to changes in cygwin's compiler
(version 2.95.2-7), the windows header files aren't found by
default. I had to change the makefiles for the dll's to gcc
-mwin32 to get this to work. IIRC, they recently went from
-DWIN32 being the default to having to use -mwin32 to get the
windows headers. Also the these files are now located in
/usr/include/w32api. (gcc 2.95.2-8 is due out soon, so this
might change again)
One other thing, the freetype-def.cpp file seems to be missing.
I managed to create one myself and subsequently built the
libfreetype.dll. I realize that your not in charge of the sources
in cvs so I'll look for the appropriate people to contact.
Regards,
--Kevin
> -----Original Message-----
> From: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]On Behalf Of Suhaib
> Siddiqi
> Sent: Wednesday, February 21, 2001 4:44 AM
> To: Cygwin Xfree Mailing List
> Subject: RE: compile problems Xutf8TextListToTextProperty not defined
>
>
>
> I am afraid your CVS download is still not the same when I downloaded it.
> This was fised in CVS 4 weeks ago. This symbol is from X11R6.5.1 and
> broke X11 compilation after X11R6.5.1 were merged into XF86.
> Anyway it was
> fixed in CVS 4 weeks ago. Basically, you add it to
> xc/lib/X11/X11-def.cpp.
>
> Suhaib
>
> > -----Original Message-----
> > From: Kevin Wright [mailto:kevin@wright.org]
> > Sent: Tuesday, February 20, 2001 9:02 PM
> > To: Cygwin Xfree Mailing List
> > Subject: compile problems Xutf8TextListToTextProperty not defined
> >
> >
> > Hello,
> >
> > I've recently gotten bold enough to try to compile from cvs source.
> > However, I'm having a few problems. I'll only address one of them
> > which is Xutf8TextListToTextProperty is only defined as extern which
> > causes undefined references during link time:
> >
> > gcc -o bitmap.exe -O2 -pedantic -fno-strength-reduce
> > -fpcc-struct-return
> > -fvtable-thunks -m486 -Wall
> > -L../../exports/lib BitEdit.o CutPaste.o Graphics.o ReqMach.o Bitmap.o
> > Dialog .o Handlers.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXpm
> > -L/usr/X11R6/lib -lm
> > ../../exports/lib/libXaw.a(Text.o)(.text+0x2db2):Text.c:
> > undefined reference to `Xutf8TextPropertyToTextList'
> > ../../exports/lib/libXaw.a(TextAction.o)(.text+0x1a0a):TextAction.c:
> > undefined reference to `Xutf8TextPropertyToTextList'
> >
> > I've done some searching and this seems to be something new
> > for Xutil.h
> > since the binaries were built.
> >
> > /Xutil.h:extern int Xutf8TextListToTextProperty
> >
> > If this is just a code problem with the cvs source, then I'll go away
> > quietly but if someone knows how I can fix this, then please let me
> > know. I see that James Potts was able to compile the 402 source, so
> > it must be something wrong with my build process.
> >
> > TIA,
> >
> > --Kevin
> >
> >
> >
>