*This message was transferred with a trial version of CommuniGate(tm) Pro*
Angus Leeming wrote:

Hi, Volker

The problem is that this link step is not including the libflimage.so
shared object that bundles the image part of the XForms library. I guess
that the problem is the fault of the configure script.

If you look in config.log, which details which tests passed and which tests
failed, you'll find tests entitled:


configure:12330: checking for library containing flimage_dup

(The line numbers will probably be different)

There is more than one such test, as the configure script searches for the
library containing the function. Here, this test fails


configure:12361: gcc -o conftest -g -O2 -isystem /usr/X11R6/include
conftest.c -ljpeg -lforms -lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 >&5


printing out the failing program, but this test succeeds

configure:12406: gcc -o conftest -g -O2  -isystem /usr/X11R6/include
conftest.c -lflimage  -ljpeg -lforms -lXpm  -lSM -lICE -lc -lm
-L/usr/X11R6/lib -lX11  > &5
configure:12409: $? = 0
configure:12412: test -s conftest
configure:12415: $? = 0
configure:12429: result: -lflimage

because flimage_dup is to be found in libflimage.so for XForms versions
greater than or equal to 1.0.

So, does this file exist in ${PREFIX}/lib, where PREFIX=/usr/local etc? I
suspect that you'll find libflimage.so.1.0.0 and will have to make a sym
link
       ln -s libflimage.so.1.0.0 libflimage.so

This is a problem that has been fixed in the cvs version of the XForms
library.

Regards,
Angus



Hello Angus,

thanks for the quick reply. The config.log actually says the following (hope this helps..):

--Begin of config.log

configure:12257: checking for library containing flimage_dup
configure:12288: gcc -o conftest -g -O2 -isystem /usr/openwin/include conftest.c -ljpeg -lforms -lXpm -lS
M -lICE -lc -lm -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl >&5
Undefined first referenced
symbol in file
flimage_dup /var/tmp//cc8sORB4.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:12291: $? = 1


configure:12333: gcc -o conftest -g -O2 -isystem /usr/openwin/include conftest.c -lflimage -ljpeg -lforms
-lXpm -lSM -lICE -lc -lm -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl >&5
Undefined first referenced
symbol in file
.LLC90 /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3/../../../libflimage.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:12336: $? = 1


configure:12333: gcc -o conftest -g -O2 -isystem /usr/openwin/include conftest.c -lflimage -ljpeg -lforms
-lXpm -lSM -lICE -lc -lm -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket -lnsl >&5
Undefined first referenced
symbol in file
.LLC90 /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3/../../../libflimage.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:12336: $? = 1
configure:12356: result: no


--End of config.log


The link in my /usr/local/lib is correct as you can see from the ls output:

[10:[EMAIL PROTECTED]:/usr/local/lib> l libfli*
-rw-r--r-- 1 root other 2844124 Jul 14 09:42 libflimage.a
-rwxr-xr-x 1 root other 735 Jul 14 09:42 libflimage.la
lrwxrwxrwx 1 root other 19 Jul 14 09:42 libflimage.so -> libflimage.so.1.0.0
lrwxrwxrwx 1 root other 19 Jul 14 09:42 libflimage.so.1 -> libflimage.so.1.0.0
-rwxr-xr-x 1 root other 2785580 Jul 14 09:42 libflimage.so.1.0.0


Regards

Volker






Reply via email to