This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: RE: More Compile Problems
- To: cygwin-xfree at sourceware dot cygnus dot com
- Subject: Re: RE: More Compile Problems
- From: <daniele dot disco at virgilio dot it>
- Date: Mon, 2 Apr 2001 9:35:09 +0200
In my experience and WIN NT4.0 (thanks to Suhaib) you have to do:
LEGEND:
In The File = (ITF)
In The Directory = (ITD)
replace with = ===>
execute = $$$$
put in a new file foo = >>foo
1==================================================
ITF
/xc/config/cf/cygwin.cf
-ltermcap ===> -lncurses
2==================================================
ITF
xc/programs/xdn/makefile
LIBS3 = $(XAWLIB) ......... $(XINERAMALIB)
===>
LIBS3 = $(XINERAMALIB) ......... $(XAWLIB)
3==================================================
ITD
xc/lib/GLU/libutil
$$$$ ln -s ../../../extras/ogl-sample/main/gfx/lib/glu/include/gluos.h gluos.h
4==================================================
ITD
xc/programs/Xserver/Xext
$$$$ mkdir -p X11/extension
$$$$ cd X11/extensions
$$$$ ln -s ../../../../../include/extensions/XvMC.h XvMC.h
5==================================================
ITD
xc/program/xc
$$$$ make World>& world.log &
6==================================================
ITD
xc/lib/GLU
>>script
cd ./include
make
cd ../libnurbs
cd ./interface
make
cd ../internals
make
cd ../nurbtess
make
cd ../../libtess
make
cd ../libutil
make
cd ../
make
$$$$ chmod +x script
$$$$ script
7==================================================
ITD
xc/program/xc
$$$$ make
===================================================
(The point n.4 is the same of your n.1)
I didn't apply your second patch.
In any case at the moment my next (and not last) error from the
log file is:
../../programs/Xserver/hw/xfree86/input/libidriver.a(mouse_drv.o)(.text+0x327):mouse.c: undefined reference to `xf86OSMouseInit'
../../programs/Xserver/hw/xfree86/common/xf86Init.o(.text+0x1fbc):xf86Init.c: undefined reference to `OsVendorVErrorFProc'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Bus.o)(.text+0x1a71):xf86Bus.c: undefined reference to `xf86BusAccWindowsFromOS'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Bus.o)(.text+0x1aa8):xf86Bus.c: undefined reference to `xf86AccResFromOS'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Helper.o)(.text+0x1fa1):xf86Helper.c: undefined reference to `OsVendorVErrorFProc'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Helper.o)(.text+0x1faa):xf86Helper.c: undefined reference to `OsVendorVErrorFProc'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86pciBus.o)(.text+0x1ba3):xf86pciBus.c: undefined reference to `PciAvoid'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86pciBus.o)(.text+0x2fc1):xf86pciBus.c: undefined reference to `xf86PciBusAccWindowsFromOS'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Io.o)(.text+0x435):xf86Io.c: undefined reference to `xf86KbdOn'
../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Io.o)(.text+0x479):xf86Io.c: undefined reference to `xf86KbdOff'
collect2: ld returned 1 exit status
make[3]: *** [XFree86.exe] Error 1
Your 2^ patch solve it?
Bye Daniele
>
>
> >I checked out the XFree86 tree from the CVS Archive
>
> Not a good idea to try compiling XFree86 from CVS until you have
> successfully compiled the source tarballs for Cygwin/XFree86 located at:
> ftp://mirrors.rcn.net/pub/sourceware/cygwin/xfree/xc-4-src/4.0.3/
>
> Those sources are correct except for two patches that you need to make:
> 1) In xc/programs/Xserver/Xext/xvmc.c, change line 16 from
> #include "X11/extensions/XvMC.h"
> to
> #include "include/extensions/XvMC.h"
> 2) In xc/config/cf/cygwin.cf, change line 160 (or close to it) from
> #define XVirtualFramebufferServer YES
> to
> #define XVirtualFramebufferServer NO
>
> Build that tree... learn it... love it... patch it :)
>
> Harold
>
>
----------------------------------------------
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it