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


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

RE: XShm



cygipc will not help because libX11.a is compiled without
XSHM subroutines, with #define HasSHM NO in cygwin.cf.  If you
want it change NO to YES on own risk and when it will cause problems
on your systems, you need to support yourself ;-)  HSM is aan option
for shared memory, but many OS do not use it therefore it is not a must.

Suhaib


> -----Original Message-----
> From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> Sent: Tuesday, March 27, 2001 8:21 PM
> To: Jerome David; cygwin-xfree@cygwin.com
> Subject: RE: XShm
> 
> 
> 
> > -----Original Message-----
> > From: Jerome David [mailto:JDavid@lgc.com]
> > Sent: Wednesday, March 28, 2001 11:24 AM
> > To: 'cygwin-xfree@cygwin.com'
> > Subject: RE: XShm
> > 
> > 
> > I already have installed cygipc-1.09-2.
> > I get the folling errors:
> > ttfont.o(.text+0xd55): undefined reference to `XShmCreateImage'
> > ttfont.o(.text+0xd9c): undefined reference to `shmget'
> > ttfont.o(.text+0xdf5): undefined reference to `shmat'
> > ttfont.o(.text+0xe2f): undefined reference to `shmget'
> > ttfont.o(.text+0xe91): undefined reference to `shmat'
> > ttfont.o(.text+0xeb1): undefined reference to `XShmAttach'
> > ttfont.o(.text+0xf74): undefined reference to `XShmGetImage'
> > ttfont.o(.text+0x10d3): undefined reference to `XShmPutImage'
> > ttfont.o(.text+0x1146): undefined reference to `XShmDetach'
> > ttfont.o(.text+0x1155): undefined reference to `shmdt'
> > ttfont.o(.text+0x1165): undefined reference to `shmctl'
> > Seems that this is shared memory stuff.
> 
> do you have -lcygipc (from memory) in you link line? that 
> should get rid
> fo the shm* errors. The XShm errors I don't know anything about. I
> suggest you follow the xfree86.cygwin.com's faq's references area and
> see what they are meant to do. You may be able to add them quite
> trivially to the Xwin server/client libraries - using the cygipc
> routines to do all the work.
> 
> Rob
>  
> > (I am trying to compile enlightenment, I already already have imlib,
> > fnlib and freetype, but I'm stucked because of these errors)
> > 
> > J-D
> > 
> > -----Original Message-----
> > From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> > Sent: Tuesday, March 27, 2001 7:10 PM
> > To: Jerome David; cygwin-xfree@cygwin.com
> > Subject: RE: XShm
> > 
> > 
> > > -----Original Message-----
> > > From: Jerome David [mailto:JDavid@lgc.com]
> > > Sent: Wednesday, March 28, 2001 11:15 AM
> > > To: 'cygwin-xfree@cygwin.com'
> > > Subject: XShm
> > > 
> > > 
> > > Hi,
> > > Is there a way to compile source code that uses XShm (like 
> > Imlib2 for
> > > instance) under cygwin ?
> > > 
> > > J-D
> > > 
> > 
> > I don't know. What does XShm do? If it's sysV shared memory, I think
> > cygipc implements that.
> > 
> > Rob
> > 
> 


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