You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile zimg as prerequisite for some other softwares on Debian 11. Since the minimal required version is newer than the newest version apt provides, I have no other choices but compiling it from source. I followed https://github.com/buaazp/zimg and http://zimg.buaa.us/documents/install/ to install zimg, and I have no clue how to proceed.
[100%] Linking C executable zimg
/usr/bin/ld: CMakeFiles/zimg.dir/zaccess.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zaccess.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zcache.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zcache.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zdb.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zdb.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zhttpd.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zhttpd.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zimg.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zimg.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zlog.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zlog.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zlscale.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zlscale.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zscale.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zscale.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zspinlock.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zspinlock.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zutil.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/zutil.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/root/vs/build/zimg/zimg-3.1.0/deps/libevhtp/evthr.c.o:(.bss+0x0): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/root/vs/build/zimg/zimg-3.1.0/deps/libevhtp/evhtp.c.o:(.bss+0x0): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/root/vs/build/zimg/zimg-3.1.0/deps/multipart-parser-c/multipart_parser.c.o:(.bss+0x0): multiple definition of `settings'; CMakeFiles/zimg.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/zimg.dir/root/vs/build/zimg/zimg-3.1.0/deps/multipart-parser-c/multipart_parser.c.o:(.bss+0xda8): multiple definition of `thread_key'; CMakeFiles/zimg.dir/main.c.o:(.bss+0xdc8): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/zimg.dir/build.make:394: zimg] Error 1
make[3]: Leaving directory '/root/vs/build/zimg/zimg-3.1.0/build/zimg'
make[2]: *** [CMakeFiles/Makefile2:95: CMakeFiles/zimg.dir/all] Error 2
make[2]: Leaving directory '/root/vs/build/zimg/zimg-3.1.0/build/zimg'
make[1]: *** [Makefile:103: all] Error 2
make[1]: Leaving directory '/root/vs/build/zimg/zimg-3.1.0/build/zimg'
cp: cannot stat 'zimg': No such file or directory
make: *** [Makefile:9: all] Error 1
The text was updated successfully, but these errors were encountered:
I am trying to compile zimg as prerequisite for some other softwares on Debian 11. Since the minimal required version is newer than the newest version apt provides, I have no other choices but compiling it from source. I followed https://github.com/buaazp/zimg and http://zimg.buaa.us/documents/install/ to install zimg, and I have no clue how to proceed.
The text was updated successfully, but these errors were encountered: