On Fri, May 12, 2006 at 05:27:11PM +0200, Jean-Marc Lasgouttes wrote:

> Did you try the patch? The 
> AC_CHECK_LIB(gdi32, main)
> is supposed to add -lgdi32 to the libraries.
> 
> Anyway, I committed the patch, please try it out and tell me what does
> not work.

Both shlwapi and gdi32 libraries are picked and the main lyx
executable links without any problem, but the client now fails
to link:

ccache g++ -O2 -Wl,-s -o lyxclient.exe boost.o client.o debug.o gettext.o 
messages.o  -L/usr/local/lib ../../src/support/.libs/libsupport.a 
../../boost/libs/regex/src/.libs/libboost_regex.a 
../../boost/libs/filesystem/src/.libs/libboost_filesystem.a 
../../intl/libintl.a /usr/lib/libiconv.dll.a
../../src/support/.libs/libsupport.a(filetools.o):filetools.C:(.text+0x4c08): 
undefined reference to [EMAIL PROTECTED]'
../../src/support/.libs/libsupport.a(filetools.o):filetools.C:(.text+0x4c9d): 
undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[4]: *** [lyxclient.exe] Error 1

I suspect that if libsupport.a is used in the link stage of tex2lyx,
it will fail to link, too.

-- 
Enrico

Reply via email to