Max Bian wrote:

> I have some linking errors when I compile lyx 1.3.0 under cygwin. It is
> the last step (make lyx.exe)!
> 
> Anyone knows what it might mean and how to solve it?

g++ -O -fno-exceptions -o lyx.exe ...
 -lforms -lflimage -ljpeg -lXpm ...

The problem lies with the order "-lforms -lflimage". Swap them around and 
all will be well.

This problem is solved in the LyX 1.3.x bug fix branch.

To swap them around yourself:
* edit src/frontends/Makefile
$ grep flimage Makefile
FRONTEND_LIBS = -lflimage -ljpeg -lforms -lXpm
XFORMS_IMAGE_LIB = -lflimage -ljpeg

* rm libfrontends.la
* make


-- 
Angus

Reply via email to