Milton Woods wrote: > Greetings, > > I have attempted to compile LyX version 1.3.3 (with xforms-1.0) on a > fresh install of the latest release of Cygwin (1.5.5-1) and gcc > (3.3.1-2). The configure script runs without a hitch (with the flag > --with-extra-lib=/usr/local/lib:/usr/bin). The compile runs without > error until the final link of lyx.exe, when g++ complains about some > unresolved symbols (details below). > > An identical result occurred when I tried to compile LyX version > 1.3.2, and also > when I replaced gcc-3.3 with gcc-3.2. When I used gcc-2, the compile > and link completed without problems, but the executable produced a > segmentation fault (and an apology) without displaying any windows.
Kayvan Sylvan compiles LyX under cygwin on a regular basis. Maybe you should ask him for some ideas. > I have managed to compile xforms-1.0 as a static library, and all of > the demo programs can be made to compile (and run) after some > tweaking of library orders and paths. In particular, the libX11 dll > in /usr/bin works, but the static (.dll.a) version in /usr/lib > causes the link to fail because of unresolved (unexported?) symbols. > Anyway, the unresolved symbols in LyX appear not to be related to > the xforms library. I have a vague feeling that these problems are all related somehow to the size of the application. The linker has no problems with somall apps but falls over when presented with big ones. Have you asked on a cygwin mailing list? -- Angus