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?




> -----Original Message-----
> From: cygwin-xfree-owner@sourceware.cygnus.com
> [mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of lee
> changkun
> Sent: Wednesday, July 05, 2000 6:16 AM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: Re: Build Xfree?
> 
> 
> Dear Suhaib
> 
> Thanks for your help.
> 
> I tried to build xfree again.
> I removed all cygwin and Xfree and reinstalled recompiled it as follow
> you told me.
> I downloaded  cygipc-1.05-cygwin1.1tar.bz2 and installed under
> /usr/local/lib and copyed libcygipc.a to usr/lib and renamed it.
> 
> But i got the same error Messages before.
> 
> make[3]: Entering directory `/Xsrc/xc/programs/Xserver'
> rm -f XFree86.exe
> rm -f Xprt.exe
> rm -f Xnest.exe
> rm -f Xvfb.exe -L../../lib/getsurf -lgetsurf
> rm: invalid option -- L
> Try `rm --help' for more information.
> make[3]: *** [clean] Error 1


This was a typo in xc/programs/Xserver/Imakefile.  
CVS should have it corrected.  You can edit xc/programs/Xserver/Imakefile
with VI, search for -L../../lib/getsurf and delete it.

Then from the toplevel that is xc, do make Makefiles followed by
make depend.  This will generate new Makefiles with dependencies.

> 
> 
> I have done cp -r xc/include/DPS xc/exports/include.  .
> and make in the xc/exports/include/DPS before i bulid with make world.
> 
> 
> make[3]: Entering directory `/Xsrc/xc/lib/dps'
> make[3]: *** No rule to make target `../../config/pswrap/pswrap', needed

Are you missing xc/lib/dps? xc/extras/pswrap?

> by `dpsclrops.c'.  Stop.
> make[3]: Leaving directory `/Xsrc/xc/lib/dps'
> including in lib/dpstk...
> make[3]: Entering directory `/Xsrc/xc/lib/dpstk'
> + mkdir unshared
> ../../config/pswrap/pswrap -o XDPSpwraps.c -h XDPSpwraps.h
> XDPSpwraps.psw
> ../../config/pswrap/pswrap: not found
> make[3]: *** [XDPSpwraps.c] Error 127
> 
> 
> 
> 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
> 
> For this i will try to build again with  from "contrib" directory in
> next time.
> 
> 
> >
> 
> I have read Cygwin mailing list for  fork errors and I found something
> as follows:
> 
> in xc/config/cf/cygwin.cf from
> #define StandardDefines
> delete -DX_NOT_POSIX

-DX_NOT_POSIX is for MSVC compilers.  This flag cannot be used with Cygwin.
It is not cygwin.cf issue, rather cygwin1.dll at Windows98. As I said
ask Cygwin mailing list.  I cannot help you if you encounter
cygwin1.dll bug on a Win98.


> 
> But thers is no -DX_NOT_POSIX in the #define StandardDefines in
> xc/config/cf/cygwin.cf.
> This is #define StandardDefines in my xc/config/cf/cygwin.cf.
> 
> #define StandardDefines         -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
> 
> 
> 0 [main] MAKE 22285 fork_copy: user/cygwin data pass 2 failed,
> 0x4590000..0x47B0000, done 0, Win32 error 8
> 
> I have no directory /user/cygwin. Should I make it or should i download
> files?
> 
> 
> tmp/DLL_BASE_COUNTER` -lipc
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make[4]: *** [liboldX.dll] Error 1


I am pretty sure you are somehow using cygwin.rules from
April, 2000.  Regardles, open cygwin.rules with VI search for
-lipc and delete it.  Also in cygwin.cf delete -lipc from
#define Extralibraries.

Suhaib

> 
> 
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make[4]: *** [libXxf86misc.dll] Error 1
> 
> 
> Best Regards
> 
> Lee
> 
> 

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