I ran into the exact same problem as you did in trying to compile
lyx-1.3.5 with Cygwin:

TextCache.o(.ctors+0x0):TextCache.C: undefined reference to 
`__GLOBAL__I__ZN9TextCache7findFitEP6Bufferi'
TextCache.o(.dtors+0x0):TextCache.C: undefined reference to 
`__GLOBAL__D__ZN9TextCache7findFitEP6Bufferi'

I am stuck. I compile 1.4.x almost daily and there is no problem.

Can someone who is familiar with the build process give me a clue
about where I might look to twaek this?

Kayvan,

this problem looks quite familiar to me. It's a gcc/cygwin bug!

You can fix it easily by commenting out all

  #pragma interface

statements in the LyX code. Best thing is to write a tiny script that makes use of "sed" and "find".

Please let me know if you need more assistance.

Kind regards,

Michael




Reply via email to