[Debian-med-packaging] Bug#886560: CharLS 2.0.0

Andreas Tille andreas at an3as.eu
Fri Dec 21 10:39:35 GMT 2018


Control: tags -1 help

I've commited charls 2.0 to Git[1].  Unfortunately it does not build
out of the box:

...
[100%] Linking CXX executable charlstest
/usr/bin/cmake -E cmake_link_script CMakeFiles/charlstest.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/build/charls-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -fvisibility-inlines-hidden -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wall -Wextra  -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/charlstest.dir/test/main.cpp.o CMakeFiles/charlstest.dir/test/time.cpp.o CMakeFiles/charlstest.dir/test/util.cpp.o CMakeFiles/charlstest.dir/test/bitstreamdamage.cpp.o CMakeFiles/charlstest.dir/test/compliance.cpp.o CMakeFiles/charlstest.dir/test/performance.cpp.o CMakeFiles/charlstest.dir/test/dicomsamples.cpp.o  -o charlstest -Wl,-rpath,/build/charls-2.0.0+dfsg/obj-x86_64-linux-gnu libCharLS.so.2.0 
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `ScanFile(char const*, std::vector<unsigned char, std::allocator<unsigned char> >*, JlsParameters*)':
./obj-x86_64-linux-gnu/./test/main.cpp:40: undefined reference to `JpegLsReadHeaderStream(ByteStreamInfo, JlsParameters*, char*)'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestFailOnTooSmallOutputBuffer()':
./obj-x86_64-linux-gnu/./test/main.cpp:138: undefined reference to `JpegLsEncode'
/usr/bin/ld: ./obj-x86_64-linux-gnu/./test/main.cpp:143: undefined reference to `JpegLsEncode'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestBgr()':
./obj-x86_64-linux-gnu/./test/main.cpp:166: undefined reference to `JpegLsDecode'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestTooSmallOutputBuffer()':
./obj-x86_64-linux-gnu/./test/main.cpp:185: undefined reference to `JpegLsDecode'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestBadImage()':
./obj-x86_64-linux-gnu/./test/main.cpp:198: undefined reference to `JpegLsDecode'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestDecodeBitStreamWithNoMarkerStart()':
./obj-x86_64-linux-gnu/./test/main.cpp:209: undefined reference to `JpegLsDecode'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestDecodeBitStreamWithUnsupportedEncoding()':
./obj-x86_64-linux-gnu/./test/main.cpp:222: undefined reference to `JpegLsDecode'
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o:./obj-x86_64-linux-gnu/./test/main.cpp:235: more undefined references to `JpegLsDecode' follow
/usr/bin/ld: CMakeFiles/charlstest.dir/test/main.cpp.o: in function `TestDecodeRect()':
...

It would be nice if you could help getting the package you
injected into Debian upgraded.  Thank you

  Andreas.

[1] https://salsa.debian.org/med-team/charls

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list