Milton Woods wrote:

> Greetings,
> 
> I have managed to solve the mystery of the undefined symbols, which
> previously caused the final link of lyx.exe to fail. What I needed
> to do was to remove the '#pragma interface" and "#pragma
> implementation" directives from the source code. The compilation and
> link then completed successfully, and the resulting binary worked!
> There was a crash (with an obscure 'BadValue' message) when opening
> the User Guide, but that was fixed by installing the appropriate
> math fonts and adding the font directory to the font path (using
> xset +fp <dir>).

Great piece of detective work Milton. The good news is that this has 
already been done in the 1.4.x tree and nobody has reported any 
problems without the pragmas.

I'll leave it to Jean-Marc to decide what to do about this in the 
1.3.x tree.

> It appears that gcc mishandles some #pragma statements on some
> platforms. That may help to explain build problems on a variety of
> systems, such as MacOSX.

It appears that the MacOSX problems are probably caused by a bug in 
gcc on that platform. Apparently it doesn't handle weak symbols and 
so at link time cannot handle static member variables in class 
templates.

-- 
Angus

Reply via email to