-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.9.9 doesn't build with kakadu v7_5-01559N #22
Comments
I presume you're using one of the more recent versions of Kakadu. Take a look at this discussion: The solution seems to be to disable SSE3 by adding -DKDU_NO_SSSE3 to the C_OPT flags |
Your suggestion was not relevant on this stage to our error. It is relevant later once following changes has been applied. We are using Kakadu v. 7.5 and it looks there must be some changes in their code organisation. We have found that classes are organised in additional namespaces which were not used in Please see changes we have added to this file to successfully compile IIPServer with Kakadu 7.5
|
OK, I've added an ifdef to enable these namespaces if using version 7.5. So, iipsrv should now compile without problems. |
Hi Ruven, The addition of +using namespace kdu_core; +using namespace kdu_supp; helped me get passed the issue mentioned here which I was also having. Getting the following now: g++ -DPACKAGE_NAME=\"iipsrv\" -DPACKAGE_TARNAME=\"iipsrv\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"iipsrv\ 1.0\" -DPACKAGE_BUGREPORT=\"ruven@users.sourceforge.net\" -DPACKAGE=\"iipsrv\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GLOB_H=1 -DHAVE_TIME_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_LOG2=1 -DHAVE_SETENV=1 -DHAVE_EXT_POOL_ALLOCATOR_H=1 -DHAVE_STDCXX_0X=/\*\*/ -DHAVE_UNORDERED_MAP=/\*\*/ -DHAVE_TR1_UNORDERED_MAP=/\*\*/ -DHAVE_NAMESPACES=/\*\*/ -DHAVE_EXT_HASH_MAP=/\*\*/ -DHAVE_ISFINITE=1 -DHAVE_JPEG=1 -DHAVE_TIFF=1 -DHAVE_LCMS2_H=1 -DLCMS=1 -DHAVE_KAKADU=1 -DHAVE_PNG_H=1 -DHAVE_STREAMBUF_CHAR_TYPE=1 -DHAVE_FPOS=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FILENO_PROTO=1 -I. -I/home/makerpm/kakadu//managed/all_includes/ -I. -std=gnu++0x -g -O2 -MT KakaduImage.o -MD -MP -MF .deps/KakaduImage.Tpo -c -o KakaduImage.o KakaduImage.cc mv -f .deps/KakaduImage.Tpo .deps/KakaduImage.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -std=gnu++0x -g -O2 -o iipsrv.fcgi IIPImage.o TPTImage.o JPEGCompressor.o TileManager.o IIPResponse.o View.o Transforms.o Task.o OBJ.o FIF.o JTL.o TIL.o ICC.o CVT.o Zoomify.o DeepZoom.o SPECTRA.o PFL.o IIIF.o Watermark.o Main.o KakaduImage.o -llcms2 -lz -lm /home/makerpm/kakadu//apps/make/jpx.o /home/makerpm/kakadu//apps/make/jp2.o /home/makerpm/kakadu//apps/make/kdu_stripe_decompressor.o /home/makerpm/kakadu//apps/make/*.so -lpthread -lfcgi -ljpeg -ltiff -lm libtool: link: g++ -std=gnu++0x -g -O2 -o iipsrv.fcgi IIPImage.o TPTImage.o JPEGCompressor.o TileManager.o IIPResponse.o View.o Transforms.o Task.o OBJ.o FIF.o JTL.o TIL.o ICC.o CVT.o Zoomify.o DeepZoom.o SPECTRA.o PFL.o IIIF.o Watermark.o Main.o KakaduImage.o /home/makerpm/kakadu//apps/make/jpx.o /home/makerpm/kakadu//apps/make/jp2.o /home/makerpm/kakadu//apps/make/kdu_stripe_decompressor.o /home/makerpm/kakadu//apps/make/libkdu_v75R.so -llcms2 -lz -lpthread -lfcgi -ljpeg -ltiff -lm /home/makerpm/kakadu//apps/make/kdu_stripe_decompressor.o: In function `kd_supp_local::kdsd_tile::init(kd_supp_local::kdsd_component_state*, int)': kdu_stripe_decompressor.cpp:(.text+0x210e): undefined reference to `kd_supp_simd::ssse3_int16_to_uint8_rs_ilv1(unsigned char*, short**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x215c): undefined reference to `kd_supp_simd::ssse3_int16_to_uint8_rs_ilv3(unsigned char*, short**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x21b3): undefined reference to `kd_supp_simd::ssse3_int16_to_uint8_rs_ilv4(unsigned char*, short**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x21c1): undefined reference to `kd_supp_simd::ssse3_stripe_transfer_static_init()' kdu_stripe_decompressor.cpp:(.text+0x220b): undefined reference to `kd_supp_simd::ssse3_floats_to_floats_ilv1(float*, float**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x224f): undefined reference to `kd_supp_simd::ssse3_floats_to_uint8_ilv1(unsigned char*, float**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x227a): undefined reference to `kd_supp_simd::ssse3_floats_to_uint8_ilv3(unsigned char*, float**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x22a5): undefined reference to `kd_supp_simd::ssse3_floats_to_uint8_ilv4(unsigned char*, float**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x2333): undefined reference to `kd_supp_simd::ssse3_int16_to_int16_ilv1(short*, short**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x235d): undefined reference to `kd_supp_simd::ssse3_floats_to_int16_ilv1(short*, float**, int, int, int, bool, bool, int)' kdu_stripe_decompressor.cpp:(.text+0x2399): undefined reference to `kd_supp_simd::ssse3_int32_to_int16_rs_ilv1(short*, int**, int, int, int, bool, bool, int)' collect2: ld returned 1 exit status make[1]: *** [iipsrv.fcgi] Error 1 make[1]: Leaving directory `/home/makerpm/iipsrv/src' Gonna try disabling SSE3 as you suggested |
Yup, disabling SSE3 makes it compile correctly |
We have tried to compile 0.9.9 src in CentOS 6.5 hosted in VirtualBox. We have compiled kakadu successfully and run this configure command
Unfortunately, we couldn't compile it further with make as following error occurred
Any ideas what is causing the problem, please?
Thank you.
The text was updated successfully, but these errors were encountered: