This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build Xfree?



> > Also rename libcygipc.a to libipc.a.  The
> > IPC headers from IPC from Chuck needs a little
> > hacking, otherwise you might get a lot of
> compilation
> > probelms.
> >
> 


I will insert my comments after errors.  I hope this
will help.  You seems to be having make problem.  I
notice make fork errors.  For make fork errors check
with Cygwin mailing list.  They might help you with
problems.


> I believe that Xfree compiles without problems with
> cygwin, but i could
> not find the docs howto compile
> it without problems :-(.  Sorry, I am not expert ..
> 
> I hope that someone who compiled Xfree with
> cgywin1.1.0 can help me, how
> to change  the files Cygwin.cf  Cygwin.rules.

Basically it compiles same way as it does on Linux.
Therefore all the XFree86 at http://www.xfree86.org
are also applicable to Cygwin/Xfree.


> 
> 
> Here is my error messages in the world.log
> 
> 
> depending in lib/dps...
> make[3]: Entering directory `/Xsrc/xc/lib/dps'
> .../../config/pswrap/pswrap -h psclrops.h
> psclrops.psw > /dev/null
> .../../config/pswrap/pswrap: not found
> make[3]: *** [psclrops.h] Error 127
> 
> 

Copy xc/include/DPS to xc/exports/include.  I do not
know why makedepend did not make symbolic links to all
the *.h file in usr/include/DPS.  I will check.
After copying issue make command, not make World.


> 
> gcc -c -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   
> -D_XLIBINT_  -DHAS_SHM
> -D_DLL Font.c
> Font.c:45: sys/cygipc.h: No such file or directory
> Font.c:47: sys/shm.h: No such file or directory
> make[4]: *** [Font.o] Error 1
> 

copy sys/ipc.h to sys/cygipc.h
I will upload my IPC libraries which I modified to
work with XFree86.  You could get a copy of it from
"contrib" directory.  Note: ipc library is a DLL in my
distribution, not a static lib.

> 
> 
> 
> gcc -c -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   
> -D_XLIBINT_     -D_DLL
> cmsTrig.c
> cmsTrig.c: In function `_XcmsArcTangent':
> cmsTrig.c:580: warning: `a1' might be used
> uninitialized in this
> function
> cmsTrig.c:580: warning: `b1' might be used
> uninitialized in this
> function

make.exe on your system is dying.  Chekc with Cygwin
mailing list... better use the latest make from Cygwin
"latest"

Suhaib

>       0 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47B6000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  100614 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47B7000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  160547 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47B8000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  227272 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47B9000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  290075 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47BA000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  346736 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47BB000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  454363 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47BD000, done 0, Win32 error 8
> make[4]: vfork: No more processes
>  551685 [main] MAKE 22267 fork_copy: user/cygwin
> data pass 2 failed,
> 0x4590000..0x47BE000, done 0, Win32 error 8
> make[4]: vfork: No more processes
> 
> 
> 
> 
> Best Regards
> 
> Lee
> 
> 


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]