This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: RE: 4.0.3 compilation errors again
- To: "'daniele dot disco at virgilio dot it '" <daniele dot disco at virgilio dot it>, "'cygwin-xfree at sourceware dot cygnus dot com '" <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: RE: RE: 4.0.3 compilation errors again
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Thu, 29 Mar 2001 21:06:17 -0500
LU directory followed by make, see if it creates symlink for you and
compiles otherwise manually create it for now. I will look into the
problem.
Suhaib
-----Original Message-----
From: daniele.disco@virgilio.it
To: cygwin-xfree@sourceware.cygnus.com
Sent: 3/29/2001 4:25 AM
Subject: RE: RE: 4.0.3 compilation errors again
The gluos.h on my PC is on:
xc/extras/ogl-sample/main/gfx/lib/glu/include
Looking in xc/lib/GLU/libutil/error.c
there are these istructions:
#include "gluos.h"
#include "gluint.h"
#include <GL/glu.h>
etc.
In the same directory there are only gluint.h
Might the problem be solved with:
#include "gluos.h" ==> #include <gluos.h> ?
Daniele
>
>
> this fine should be in xc/extras/opg-sample/main/gfx/include. if not
then
> your
> CVS downlaod the problems.
>
> Suhaib
>
> > -----Original Message-----
> > From: daniele.disco@virgilio.it [mailto:daniele.disco@virgilio.it]
> > Sent: Wednesday, March 28, 2001 12:14 PM
> > To: cygwin-xfree@sourceware.cygnus.com
> > Subject: Re: RE: 4.0.3 compilation errors again
> >
> >
> > To compile GLU directory as you suggested, I wrote this script file
> > to be run withion GLU:
> >
> > cd ./include
> > make
> > cd ../libnurbs
> > cd ./interface
> > make
> > cd ../internals
> > make
> > cd ../nurbtess
> > make
> > cd ../../libtess
> > make
> > cd ../libutil
> > make
> >
> > which is exactly what you told me to do.
> > When I finally go back to GLU and run make I get the following
error:
> >
> > libutil/error.c:38: gluos.h: No such file or directory
> > make: *** [libutil/error.o] Error 1
> >
> > Note that I find gluos.h under the include directory.
> >
> > Next step?
> >
> > Daniele
> > >
> > >
> > >
> > > > Related to Xfree4.0.3 compilation on WInNt40, I still
> > have problems.
> > > >
> > > > After modifying the Makefile in xc/programs/xdm about the order
of
> > > > Xinerama library (thanks to Suhaib), chooser.exe could be
> > compiled.
> > > >
> > > > Unfortunately, I still have problems with my compilations.
> > > >
> > > > For example:
> > > > ...
> > > > gcc -O2 -pedantic -fno-strength-reduce -fpcc-struct-return
> > > > -fvtable-thunks -m486 -Wall
> > > > -I../.. -I../../exports/include -D__i386__
> > > > -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_SOURCE -D_SVID_SOURCE
> > > > -D_GNU_SOURCE -DX_SOURCE
> > > > -DFUNCPROTO=15 -DNARROWPROTO -DUSE_MAKEDEPEND
> > > > -DOSMAJORVERSION=1 -DOSMINORVERSION=1
> > > > -c -o get_load.o get_load.c
> > > > get_load.c:56: nlist.h: No such file or directory
> > > > make[3]: *** [get_load.o] Error
> > > > ...
> > >
> > >
> > > Right xload does not compile with Cygwin and it will not
> > until cygwin
> > > supports
> > > nls. It has not nlstypes.h. you do not need xload.exe anyway.
> > >
> > >
> > > > gcc -o resize.exe -O2 -pedantic -fno-strength-reduce
> > > > -fpcc-struct-return
> > > > -fvtable-thunks -m486 -Wall
> > > > -L../../exports/lib resize.o xstrings.o -L/usr/X11R6/lib
> > > > -ltermcap
> > > > resize.o(.text+0x4f9):resize.c: undefined reference to
> > `_imp__tgetent'
> > > > collect2: ld returned 1 exit status
> > > > make[3]: *** [resize.exe] Error 1
> > >
> > >
> > > The xterm in the recent code insists on using libncurses.a.
> > In Cygwin.cf
> > > file change -ltermcap to lncurses.
> > >
> > >
> > > > ....
> > > > gcc -o glxinfo.exe -O2 -pedantic -fno-strength-reduce
> > > > -fpcc-struct-return
> > > > -fvtable-thunks -m486 -Wall
> > > > -L../../exports/lib glxinfo.o -lGL -lGLU -lXext -lX11
> > > > -L/usr/X11R6/lib
> > > > -lm
> > > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-c
> > > > ygwin/bin/ld: cannot find -lGLU
> > > > collect2: ld returned 1 exit status
> > > > make[3]: *** [glxinfo.exe] Error 1
> > > > ....
> > >
> > >
> > > Beucase it did not compile? go to xc/lib/GLU and type make
> > there if it
> > > returns errors...
> > > then go to each subdirectory under xc/lib/GLU and type make in
each
> > > subdriectory and go back to
> > > xc/lib/GLU and type make again, this might compile it.
> > Somehow it does
> > > fails sometimes
> > > and that is annoying, I have not find a fix why it compiled
> > once and failed
> > > other times.
> > > But that si what I do when it fails.
> > >
> > > then go back to xc/programs and type make that should
> > compile clinets which
> > > needs libGLU.dll.
> > >
> > > Suhaib
> > >
> > > >
> > > > etc. etc...
> > > >
> > > > Should someone be interested in the complete log file I can
> > > > send it to him.
> > > >
> > > > Any suggestions?
> > > >
> > > > TIA
> > > > Daniele
> > > >
> > > > ----------------------------------------------
> > > > Virgilio Mail - Il tuo indirizzo E-mail gratis
> > > > http://mail.virgilio.it
> > > >
> > > >
> > >
> > ----------------------------------------------
> > Virgilio Mail - Il tuo indirizzo E-mail gratis
> > http://mail.virgilio.it
> >
> >
>
----------------------------------------------
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it