I wrote:

> In both cases LyX won't link:
> 
> $ ./configure --prefix=/usr/local/lyx-1.1.6
> --with-extra-inc=/usr/local/xforms-0.88/FORMS:/usr/local/xpm/include
> --with-extra-lib=/usr/local/xforms-0.88/FORMS:/usr/local/xpm/lib
> $ gmake
> [...]
> gmake[3]: Entering directory `/tmp/lyx-1.1.6/src'
> /bin/sh ../libtool --mode=link g++  -g -O2 [...]
> g++ -g -O2 [...] -o lyx [...]
> collect2: ld returned 1 exit status

Configuring with --with-included-string fixes the problem.

Note that I use GNU as and ld to work around limitations of
the Sun assembler (problems with limited symbol name length
and problems with C++ dynamic libraries at link-time) and I
have also enabled "squangling" in our GCC compilers on Solaris
to obtain smaller symbol names.

I wasn't able to find a clear explanation of this issue in the
mailing list archive. Which system limitation is worked around
this way? Anyone has a clue?

Thanks,
Dimitri

Reply via email to