- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Link errors on ippsMul_16sc_Sfs, also on ippsSet_16sc (in bold in build output below). Both have undefined reference to ippJumpIndexForMergedLibs (and subsequent errors).
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/home/sidekiq/sidekiq_sdk_v1.17/TimingTestIpp' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/timingtestipp make[2]: Entering directory `/home/sidekiq/sidekiq_sdk_v1.17/TimingTestIpp' mkdir -p build/Debug/GNU-Linux-x86/src rm -f "build/Debug/GNU-Linux-x86/src/CicDownSamp.o.d" gcc -c -g -Isrc -Iinc -I../sidekiq_core/inc -I/opt/intel/ipp/include -MMD -MP -MF "build/Debug/GNU-Linux-x86/src/CicDownSamp.o.d" -o build/Debug/GNU-Linux-x86/src/CicDownSamp.o src/CicDownSamp.c mkdir -p build/Debug/GNU-Linux-x86/src rm -f "build/Debug/GNU-Linux-x86/src/TimingTestIpp.o.d" gcc -c -g -Isrc -Iinc -I../sidekiq_core/inc -I/opt/intel/ipp/include -MMD -MP -MF "build/Debug/GNU-Linux-x86/src/TimingTestIpp.o.d" -o build/Debug/GNU-Linux-x86/src/TimingTestIpp.o src/TimingTestIpp.c mkdir -p dist/Debug/GNU-Linux-x86 gcc -o dist/Debug/GNU-Linux-x86/timingtestipp build/Debug/GNU-Linux-x86/src/CicDownSamp.o build/Debug/GNU-Linux-x86/src/TimingTestIpp.o -L../lib -L/opt/intel/ipp/lib/intel64 -lsidekiq__x86_64 /opt/intel/ipp/lib/intel64/libippcc.a /opt/intel/ipp/lib/intel64/libippch.a /opt/intel/ipp/lib/intel64/libippcore.a /opt/intel/ipp/lib/intel64/libippcv.a /opt/intel/ipp/lib/intel64/libippdc.a /opt/intel/ipp/lib/intel64/libippi.a /opt/intel/ipp/lib/intel64/libipps.a /opt/intel/ipp/lib/intel64/libippvm.a -lpthread -lm -lrt -ldl /opt/intel/ipp/lib/intel64/libipps.a(jmp_ippsMul_16sc_Sfs_as.o): In function `ippsMul_16sc_Sfs': /localdisk/buildbot/ipp/8.2-gold/lib_build_l64_st/l64_st/build/.build/linux/obj/intel64/ipps/emerged_smart/pic/dispatcher/jmp_ippsMul_16sc_Sfs_as.s:(.text+0x3): undefined reference to `ippJumpIndexForMergedLibs' /opt/intel/ipp/lib/intel64/libipps.a(jmp_ippsSet_16sc_as.o): In function `ippsSet_16sc': /localdisk/buildbot/ipp/8.2-gold/lib_build_l64_st/l64_st/build/.build/linux/obj/intel64/ipps/emerged_smart/pic/dispatcher/jmp_ippsSet_16sc_as.s:(.text+0x3): undefined reference to `ippJumpIndexForMergedLibs' /opt/intel/ipp/lib/intel64/libipps.a(pscopye9cn_e9---ownsSet_32s.o): In function `e9_ownsSet_32s': pscopye9cn.c:(.text+0x50): undefined reference to `ippGetMaxCacheSizeB' /opt/intel/ipp/lib/intel64/libipps.a(pscopye9cn_l9---ownsSet_32s.o): In function `l9_ownsSet_32s': pscopye9cn.c:(.text+0x50): undefined reference to `ippGetMaxCacheSizeB' /opt/intel/ipp/lib/intel64/libipps.a(pscopye9cn_l9---ownsZero_8u.o): In function `l9_ownsZero_8u': pscopye9cn.c:(.text+0x45): undefined reference to `ippGetMaxCacheSizeB' /opt/intel/ipp/lib/intel64/libipps.a(pscopye9cn_e9---ownsZero_8u.o): In function `e9_ownsZero_8u': pscopye9cn.c:(.text+0x44): undefined reference to `ippGetMaxCacheSizeB' collect2: ld returned 1 exit status make[2]: *** [dist/Debug/GNU-Linux-x86/timingtestipp] Error 1 make[2]: Leaving directory `/home/sidekiq/sidekiq_sdk_v1.17/TimingTestIpp' make[1]: *** [.build-conf] Error 2 make[1]: Leaving directory `/home/sidekiq/sidekiq_sdk_v1.17/TimingTestIpp' make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 253ms)
-----------------------------------------------
Ubuntu 12.04 LTS
Intel® Core™ i7-4610M CPU @ 3.00GHz × 4
static libraries: have added all ipp static libraries (by file) to netbeans project (e.g. libipps.a, ...)
Library paths specified: ../lib;/opt/intel/ipp/lib/intel64
Netbeans IDE 7.4
IPP_VERSION_STR "8.2.2"
Language: C
Code snippets:
... // Ipp Mixer Ipp16sc a16scLo[BLOCK_DATA_LEN]; Ipp16sc *p16scLo = a16scLo; Ipp16sc a16scMixOut[BLOCK_DATA_LEN]; Ipp16sc *p16scMixOut = a16scMixOut; Ipp16sc cx16Val; cx16Val.re = 1; cx16Val.im = 0; ... ippStatus = ippsSet_16sc(cx16Val, p16scLo, BLOCK_DATA_LEN); ... // Mix Rx input w/LO pi16Data = (int16_t *)(p_data + SKIQ_RX_HEADER_SIZE_IN_BYTES); ippStatus = ippsMul_16sc_Sfs((Ipp16sc*)pi16Data, p16scLo, p16scMixOut, BLOCK_DATA_LEN, 0); ...
Thanks,
Grant Schmick
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Grant,
Unlike Windows' linker, in Linux the "ld" doesn't perform search for undefined symbols back in the libraries specified in command line. It means, that it's better to provide libraries from the left to the right in order of their dependency.
In your case the libippcore must be the last in the list of IPP libraries. I would say, that for image processing the dependency is libippcv->libippi->libipps->libippcore. It will be better if you specify libraries in that order.
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Grant,
You've forgotten to link libippcore.a library - all other IPP libs depend on it.
regards, Igor
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Igor,
Thanks for your response. I'm sure you're correct in that the libippcore.a library is somehow being ignored, but I did specify it in the project the same as all the others, and you can see it in the (very long) gcc command line, where each of the .a files is specified with its full path (I did it that by specifying "Library File" vs. "Library" in the project, and I did it because when I specified "Library" (which generates the compiler line switch "-lippcore", etc., it apparently defaulted to linking the dynamic libraries and caused a runtime error.)
I subsequently tried copying only the .a files into another directory and generating the "-lippcore" type switch. I had exactly the same errors:
gcc -o dist/Debug/GNU-Linux-x86/timingtestipp build/Debug/GNU-Linux-x86/src/CicDownSamp.o build/Debug/GNU-Linux-x86/src/TimingTestIpp.o -L../lib -L/home/sidekiq/IntelMyWay/lib/intel64static -lsidekiq__x86_64 -lippcc -lippch -lippcore -lippcv -lippdc -lippi -lipps -lippvm -lpthread -lm -lrt -ldl /home/sidekiq/IntelMyWay/lib/intel64static/libipps.a(jmp_ippsMul_16sc_Sfs_as.o): In function `ippsMul_16sc_Sfs': /localdisk/buildbot/ipp/8.2-gold/lib_build_l64_st/l64_st/build/.build/linux/obj/intel64/ipps/emerged_smart/pic/dispatcher/jmp_ippsMul_16sc_Sfs_as.s:(.text+0x3): undefined reference to `ippJumpIndexForMergedLibs'
Any ideas as to what's going wrong?
Thanks,
Grant
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Grant,
Unlike Windows' linker, in Linux the "ld" doesn't perform search for undefined symbols back in the libraries specified in command line. It means, that it's better to provide libraries from the left to the right in order of their dependency.
In your case the libippcore must be the last in the list of IPP libraries. I would say, that for image processing the dependency is libippcv->libippi->libipps->libippcore. It will be better if you specify libraries in that order.

- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla