This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Xmuu library does not compile
I found the first problem.
#1: $(MISC_INCLUDES) needs to be add to $(ALLINCLUDES). this fixes the
#include snprintf.c problem.
However, how do you code that in the Imakefile?
#2: there is no Xmuu_def.cpp file and I haven't a clue as to how to make
one.
John
----- Original Message -----
From: "Suhaib Siddiqi" <ssiddiqi@inspirepharm.com>
To: "'John Fortin'" <fortinj@attglobal.net>; <cygwin-xfree@cygwin.com>
Sent: Friday, April 13, 2001 2:54 PM
Subject: RE: Xmuu library does not compile
>
> try creating a symlink to it in lib/Xmuu directory manually.
> I will have a look at it tonight.
>
> Suhaib
> > -----Original Message-----
> > From: John Fortin [mailto:fortinj@attglobal.net]
> > Sent: Friday, April 13, 2001 2:51 PM
> > To: Suhaib Siddiqi; cygwin-xfree@cygwin.com
> > Subject: Re: Xmuu library does not compile
> >
> >
> > It (snprintf.c) is located in xc/lib/misc. I'm just not sure
> > what to do
> > with it. I can force it somewhere, but that doesn't seem right.
> > The Imakefile and Makefile in lib/Xmuu point to it as an
> > include, but it
> > does not show up in the 'gcc includes'
> >
> > John
> >
> >
> >
> > ----- Original Message -----
> > From: "Suhaib Siddiqi" <ssiddiqi@inspirepharm.com>
> > To: "'John Fortin'" <fortinj@attglobal.net>; <cygwin-xfree@cygwin.com>
> > Sent: Friday, April 13, 2001 2:50 PM
> > Subject: RE: Xmuu library does not compile
> >
> >
> > > I will check the xc tree I checked out yesterday.
> > > If it was added recently, I suspect imake supposed to create
> > > a symlink to snprintf.c from another directory. Perhaps Imakefile
> > > is broken. I will have a look at it.
> > > Suhaib
> > >
> > > > -----Original Message-----
> > > > From: John Fortin [mailto:fortinj@attglobal.net]
> > > > Sent: Friday, April 13, 2001 2:45 PM
> > > > To: Suhaib Siddiqi; cygwin-xfree@cygwin.com
> > > > Subject: Re: Xmuu library does not compile
> > > >
> > > >
> > > > Looks like it was added End of March...
> > > >
> > > > Here is the compile from x11perf:
> > > >
> > > > john@FORTIN /xc/programs/x11perf
> > > > $ make
> > > > rm -f x11perf.exe
> > > > gcc -o
> > > > x11perf.exe -g -O2 -pedantic -fno-strength-reduce
> > > > -fpcc-struct-return -fvtab
> > > > le-thunks -m486 -Wall -L../../exports/lib x11perf.o
> > > > bitmaps.o do_tests.o
> > > > do_simple.o do_rects.o do_valgc.o do_lines.o do_segs.o do_dots.o
> > > > do_windows.o do_movewin.o do_text.o do_blt.o do_arcs.o do_tris.o
> > > > do_complex.o do_traps.o -lXft -lfreetype -lX
> > > > render -lXrender -lXmuu -lXext -lX11 -L/usr/X11R6/lib -lm
> > > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-c
> > > > ygwin/bin/ld:
> > > > cannot find -lXmuu
> > > > collect2: ld returned 1 exit status
> > > > make: *** [x11perf.exe] Error 1
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Suhaib Siddiqi" <ssiddiqi@inspirepharm.com>
> > > > To: "'John Fortin'" <fortinj@attglobal.net>;
> > <cygwin-xfree@cygwin.com>
> > > > Sent: Friday, April 13, 2001 2:18 PM
> > > > Subject: RE: Xmuu library does not compile
> > > >
> > > >
> > > > >
> > > > > It should be /lib/Xmu? I do not see any Xmuu in my xc
> > > > sources tree, and
> > > > > libXmu
> > > > > compiled OK. Perhaps something was added recently to CVS?
> > > > >
> > > > > Suhaib
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: John Fortin [mailto:fortinj@attglobal.net]
> > > > > > Sent: Friday, April 13, 2001 2:13 PM
> > > > > > To: cygwin-xfree@cygwin.com
> > > > > > Subject: Xmuu library does not compile
> > > > > >
> > > > > >
> > > > > > This library does not compile... Is it supposed to?
> > > > > >
> > > > > > John
> > > > > >
> > > > > > making all in lib/Xmuu...
> > > > > > make[1]: Entering directory `/xc/lib/Xmuu'
> > > > > > rm -f Lower.o
> > > > > > gcc -c -O2 -Wall -I../../lib/Xmu -I../..
> > > > > > -I../../exports/include -D__i38
> > > > > > 6__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_MT -D_X86_ -D__STDC__
> > > > > > -DNO_TCP_H -D_
> > > > > > _CYGWIN__ -D_XOPEN_SOURCE -D_REENTRANT
> > > > > > -D_POSIX_C_SOURCE=199309L -D_BSD_SOUR
> > > > > > CE -D_SVID_SOURCE -D_GNU_SOURCE -DX_SOURCE -DFUNCPROTO=15
> > > > > > -DNARROWPROTO -
> > > > > > DUSE_MAKEDEPEND -D_DLL Lower.c
> > > > > > Lower.c:37: snprintf.c: No such file or directory
> > > > > > make[1]: *** [Lower.o] Error 1
> > > > > > make[1]: Leaving directory `/xc/lib/Xmuu'
> > > > > >
> > > >
> >