Compiling error
Justin JEONG
utjustinjeong at yahoo.com
Thu May 28 16:37:59 EDT 2015
My system is Debian GNU/Linux 6.0.9 (squeeze)
It seems following part causes the error.
echo " CCLD " tools/openslide-show-properties;/bin/sh ./libtool --silent --tag=CC --mode=link gcc -std=gnu99 -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fvisibility=hidden -DG_DISABLE_SINGLE_INCLUDES -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -fno-common -g -O2 -o tools/openslide-show-properties tools/tools_openslide_show_properties-openslide-tools-common.o tools/tools_openslide_show_properties-openslide-show-properties.o src/libopenslide.la -pthread -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ljpeg -lm
I still haven't found a solution yet.
Thanks.
Justin From: Justin JEONG <utjustinjeong at yahoo.com>
To: "openslide-users at lists.andrew.cmu.edu" <openslide-users at lists.andrew.cmu.edu>
Sent: Thursday, May 28, 2015 1:07 PM
Subject: Compiling error
I am trying to install Openslide without root permission.
I installed Openjpeg & TIFF, so I used following command to execute ./configure
./configure --enable-dependency-tracking--prefix=/home/justin/local/bin/openslide PKG_CONFIG_PATH=/home/justin/local/bin/openjpeg/usr/local/lib/pkgconfigPKG_CONFIG_PATH=/home/justin/local/bin/tiff/lib/pkgconfig OPENJPEG_LIBS=/home/justin/local/bin/jpeg/libOPENJPEG_CFLAGS=-I/home/justin/local/bin/jpeg/include OPENJPEG2_LIBS=/home/justin/local/bin/openjpeg/usr/local/libOPENJPEG2_CFLAGS=-I/home/justin/local/bin/openjpeg/usr/local/include/openjpeg-2.1LIBTIFF_CFLAGS=-I/home/justin/local/bin/tiff/include LIBTIFF_LIBS=/home/justin/local/bin/tiff/lib
Configuration was success, so I run 'make' then it shows following errors.
make all-am
make[1]: Entering directory `/home/jcj15/local/tools/slideAtlas/openslide-3.4.1'
CC src/src_libopenslide_la-openslide.lo
CC src/src_libopenslide_la-openslide-cache.lo
CC src/src_libopenslide_la-openslide-decode-gdkpixbuf.lo
CC src/src_libopenslide_la-openslide-decode-jp2k.lo
CC src/src_libopenslide_la-openslide-decode-jpeg.lo
CC src/src_libopenslide_la-openslide-decode-png.lo
CC src/src_libopenslide_la-openslide-decode-sqlite.lo
CC src/src_libopenslide_la-openslide-decode-tiff.lo
CC src/src_libopenslide_la-openslide-decode-tifflike.lo
CC src/src_libopenslide_la-openslide-decode-xml.lo
CC src/src_libopenslide_la-openslide-error.lo
CC src/src_libopenslide_la-openslide-grid.lo
CC src/src_libopenslide_la-openslide-hash.lo
CC src/src_libopenslide_la-openslide-jdatasrc.lo
CC src/src_libopenslide_la-openslide-tables.lo
CC src/src_libopenslide_la-openslide-util.lo
CC src/src_libopenslide_la-openslide-vendor-aperio.lo
CC src/src_libopenslide_la-openslide-vendor-generic-tiff.lo
CC src/src_libopenslide_la-openslide-vendor-hamamatsu.lo
CC src/src_libopenslide_la-openslide-vendor-leica.lo
CC src/src_libopenslide_la-openslide-vendor-mirax.lo
CC src/src_libopenslide_la-openslide-vendor-philips.lo
CC src/src_libopenslide_la-openslide-vendor-sakura.lo
CC src/src_libopenslide_la-openslide-vendor-trestle.lo
CC src/src_libopenslide_la-openslide-vendor-ventana.lo
CCLD src/libopenslide.la
CC tools/tools_openslide_show_properties-openslide-tools-common.o
CC tools/tools_openslide_show_properties-openslide-show-properties.o
CCLD tools/openslide-show-properties
src/.libs/libopenslide.so: undefined reference to `opj_setup_decoder'
src/.libs/libopenslide.so: undefined reference to `TIFFFileName'
src/.libs/libopenslide.so: undefined reference to `TIFFReadRawTile'
src/.libs/libopenslide.so: undefined reference to `TIFFGetFieldDefaulted'
src/.libs/libopenslide.so: undefined reference to `TIFFSetDirectory'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageEnd'
src/.libs/libopenslide.so: undefined reference to `opj_stream_create'
src/.libs/libopenslide.so: undefined reference to `TIFFClose'
src/.libs/libopenslide.so: undefined reference to `opj_set_default_decoder_parameters'
src/.libs/libopenslide.so: undefined reference to `TIFFComputeTile'
src/.libs/libopenslide.so: undefined reference to `opj_destroy_codec'
src/.libs/libopenslide.so: undefined reference to `opj_set_error_handler'
src/.libs/libopenslide.so: undefined reference to `TIFFGetField'
src/.libs/libopenslide.so: undefined reference to `opj_create_decompress'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageGet'
src/.libs/libopenslide.so: undefined reference to `TIFFIsCODECConfigured'
src/.libs/libopenslide.so: undefined reference to `TIFFIsTiled'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageBegin'
src/.libs/libopenslide.so: undefined reference to `opj_stream_destroy'
src/.libs/libopenslide.so: undefined reference to `opj_stream_set_read_function'
src/.libs/libopenslide.so: undefined reference to `opj_decode'
src/.libs/libopenslide.so: undefined reference to `opj_stream_set_user_data_length'
src/.libs/libopenslide.so: undefined reference to `TIFFClientOpen'
src/.libs/libopenslide.so: undefined reference to `opj_stream_set_user_data'
src/.libs/libopenslide.so: undefined reference to `TIFFCurrentDirectory'
src/.libs/libopenslide.so: undefined reference to `opj_image_destroy'
src/.libs/libopenslide.so: undefined reference to `TIFFRGBAImageOK'
src/.libs/libopenslide.so: undefined reference to `TIFFReadDirectory'
src/.libs/libopenslide.so: undefined reference to `opj_set_warning_handler'
src/.libs/libopenslide.so: undefined reference to `opj_read_header'
collect2: ld returned 1 exit status
make[1]: *** [tools/openslide-show-properties] Error 1
make[1]: Leaving directory `/home/justin/local/tools/slideAtlas/openslide-3.4.1'
make: *** [all] Error 2
Could anyone help me to fix this problem?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20150528/0d8dd041/attachment-0001.html
More information about the openslide-users
mailing list