Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#97 Problems compiling libwmf 0.2.8 under Solaris 8

open
nobody
None
5
2003-01-27
2003-01-27
Bruce W. Mohler
No

I'm trying to compile libwmf 0.2.8 under Solaris 8.
Solaris is fully patched with all recommended patches.

I have a nearly complete gnu environment (gcc 3.0.2,
gmake 3.80, etc.). However, I'm using the Solaris linker.

I'm using zlib 1.1.4 compiled for both static and
shared libraries. libpng 1.0.12. libjpeg 6b.

I configured libwmf with the following configure command:

./configure --prefix=/usr/local --with-zlib --with-png
--with-jpeg

Configure went all the way through with no complaints.
Next, I typed "make"

creating libgd.la
...
creating libipa.la
...
creating libwmflite.la
...
creating libwmf.la
...
/bin/bash ../libtool --mode=link gcc -g -O2
-I/usr/local/include/freetype2
-I/usr/local/include/libxml2
-I/usr/local/include/gtk-2.0
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -o io-wmf.la
-rpath /usr/local/lib/gtk-2.0/2.2.0/loaders
-no-undefined -module -avoid-version io-wmf.lo
libwmf.la -L/usr/local/lib -lgdk_pixbuf-2.0 -lm
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lintl
-liconv
rm -fr .libs/io-wmf.la .libs/io-wmf.* .libs/io-wmf.*
/usr/ccs/bin/ld -G -z defs -h io-wmf.so -o
.libs/io-wmf.so io-wmf.lo
-R/export/home/bmohler/src/libwmf-0.2.8/src/.libs
-R/usr/local/lib -R/usr/local/lib -L/usr/local/lib
-L/export/home/bmohler/src/libwmf-0.2.8/src/.libs
./.libs/libwmf.so /usr/local/lib/libgdk_pixbuf-2.0.so
-lm /usr/local/lib/libgobject-2.0.so
/usr/local/lib/libgmodule-2.0.so -ldl
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libiconv.so -lc
Undefined first referenced
symbol in file
wmf_mem_close io-wmf.lo (symbol
belongs to implicit dependency
/export/home/bmohler/src/libwmf-0.2.8/src/.libs/libwmflite-0.2.so.7)
wmf_scan io-wmf.lo (symbol
belongs to implicit dependency
/export/home/bmohler/src/libwmf-0.2.8/src/.libs/libwmflite-0.2.so.7)
wmf_display_size io-wmf.lo (symbol
belongs to implicit dependency
/export/home/bmohler/src/libwmf-0.2.8/src/.libs/libwmflite-0.2.so.7)
wmf_mem_open io-wmf.lo (symbol
belongs to implicit dependency
/export/home/bmohler/src/libwmf-0.2.8/src/.libs/libwmflite-0.2.so.7)
wmf_play io-wmf.lo (symbol
belongs to implicit dependency
/export/home/bmohler/src/libwmf-0.2.8/src/.libs/libwmflite-0.2.so.7)
ld: fatal: Symbol referencing errors. No output written
to .libs/io-wmf.so

I must be doing something silly. I'd really like to
figure out how to get your library to compiled for
several other dependent tools. Thanks in advance.

Discussion