Error building 1.16.2

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
marcelk
Posts: 6
Joined: Fri May 22, 2020 4:09 pm

Error building 1.16.2

#1 Post by marcelk » Wed Mar 17, 2021 11:50 pm

I'm unable to build 1.16.2, relevant output:

Code: Select all

/usr/bin/ld: /tmp/ccX6gZ7M.o:(.bss+0x10): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccX6gZ7M.o:(.bss+0x30): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccPuXrh8.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccPuXrh8.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/cce30VtV.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/cce30VtV.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccq56xnp.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccq56xnp.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccWIWFHX.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccWIWFHX.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/cchHSjGe.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/cc5e3KzP.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/cchHSjGe.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/cc5e3KzP.o:(.bss+0x20): first defined here
/usr/bin/ld: /tmp/cchHSjGe.o:(.bss+0x610): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/cchHSjGe.o:(.bss+0x630): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccjsUSif.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccjsUSif.o:(.bss+0x40): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccniWHrM.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/cc5e3KzP.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/ccniWHrM.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/cc5e3KzP.o:(.bss+0x20): first defined here
/usr/bin/ld: /tmp/ccniWHrM.o:(.bss+0x610): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccniWHrM.o:(.bss+0x630): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/cc5buEJ0.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/cc5buEJ0.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccN4L6ff.o:(.bss+0x10): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccN4L6ff.o:(.bss+0x30): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccrVkSC5.o:(.bss+0x30): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccrVkSC5.o:(.bss+0x50): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/cciHM9YH.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/cc5e3KzP.o:(.bss+0x20): first defined here
/usr/bin/ld: /tmp/cciHM9YH.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/cc5e3KzP.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/cciHM9YH.o:(.bss+0x610): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/cciHM9YH.o:(.bss+0x630): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccKORHlj.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccKORHlj.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccBnbh41.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccBnbh41.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/cc7mFh7b.o:(.bss+0x0): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/cc7mFh7b.o:(.bss+0x20): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
/usr/bin/ld: /tmp/ccl0XSUC.o:(.bss+0x10): multiple definition of `ccx_dtvcc_default_pen_attribs'; /tmp/cc5e3KzP.o:(.bss+0x610): first defined here
/usr/bin/ld: /tmp/ccl0XSUC.o:(.bss+0x30): multiple definition of `ccx_dtvcc_default_pen_color'; /tmp/cc5e3KzP.o:(.bss+0x630): first defined here
collect2: error: ld returned 1 exit status

schoetti
Posts: 2
Joined: Thu Mar 18, 2021 12:00 pm

Re: Error building 1.16.2

#2 Post by schoetti » Thu Mar 18, 2021 12:04 pm

Hi,

I have the same problem.
Is there a chance to download older versions for Linux?

schoetti

Woodstock
Posts: 10329
Joined: Sun Jul 24, 2011 11:21 pm

Re: Error building 1.16.2

#3 Post by Woodstock » Thu Mar 18, 2021 12:40 pm


mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Error building 1.16.2

#4 Post by mike admin » Thu Mar 18, 2021 4:05 pm

This comes from ccextractor now included in oss. It is better to disable mmccextr target in makefile.

EDIT: The 1.16.3 oss was just updated to fix these.

But, what system are you getting this error on?

schoetti
Posts: 2
Joined: Thu Mar 18, 2021 12:00 pm

Re: Error building 1.16.2

#5 Post by schoetti » Thu Mar 18, 2021 4:07 pm

Thanks! MakeMKV 1.16.1 compiles and installs without problems.

schoetti

SupervisedThinking
Posts: 1
Joined: Thu Mar 18, 2021 6:49 pm

Re: Error building 1.16.2

#6 Post by SupervisedThinking » Thu Mar 18, 2021 6:52 pm

I still have trouble to compile makemkv 1.16.3.

full build log:
https://pastebin.com/MRuXt6Et

Code: Select all

/mnt/dev/LibreELEC-RR/build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: /tmp/ccd0bBVX.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/ccPHuPZX.o:(.bss+0x8): first defined here
/mnt/dev/LibreELEC-RR/build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: /tmp/ccd0bBVX.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/ccPHuPZX.o:(.bss+0x20): first defined here
/mnt/dev/LibreELEC-RR/build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: /tmp/ccxmulrY.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/ccPHuPZX.o:(.bss+0x8): first defined here
/mnt/dev/LibreELEC-RR/build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: /tmp/ccxmulrY.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/ccPHuPZX.o:(.bss+0x20): first defined here
/mnt/dev/LibreELEC-RR/build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: /tmp/ccJIrALY.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/ccPHuPZX.o:(.bss+0x20): first defined here
/mnt/dev/LibreELEC-RR/build.LibreELEC-Generic.x86_64-10.0-devel/toolchain/lib/gcc/x86_64-libreelec-linux-gnu/10.2.0/../../../../x86_64-libreelec-linux-gnu/bin/ld: /tmp/ccJIrALY.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/ccPHuPZX.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:115: out/mmccextr.full] Error 1
make: *** Waiting for unfinished jobs....


marcelk
Posts: 6
Joined: Fri May 22, 2020 4:09 pm

Re: Error building 1.16.2

#7 Post by marcelk » Thu Mar 18, 2021 9:35 pm

mike admin wrote:
Thu Mar 18, 2021 4:05 pm
But, what system are you getting this error on?
Sorry, forgot to include in my original post. It's Arch Linux.

When building 1.16.3 with the inclusion of mmccextr I get

Code: Select all

/usr/bin/ld: /tmp/ccoL3UwB.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/cc7QHO6W.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/ccoL3UwB.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/cc7QHO6W.o:(.bss+0x20): first defined here
/usr/bin/ld: /tmp/ccOtiezw.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/cc7QHO6W.o:(.bss+0x8): first defined here
/usr/bin/ld: /tmp/ccOtiezw.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/cc7QHO6W.o:(.bss+0x20): first defined here
/usr/bin/ld: /tmp/cczhKqDo.o:(.bss+0x20): multiple definition of `ccx_options'; /tmp/cc7QHO6W.o:(.bss+0x20): first defined here
/usr/bin/ld: /tmp/cczhKqDo.o:(.bss+0x0): multiple definition of `signal_ctx'; /tmp/cc7QHO6W.o:(.bss+0x8): first defined here
When I comment out

Code: Select all

include mmccextr/mmccextr.mak
I get

Code: Select all

/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
What am I doing wrong?

beta-tester
Posts: 7
Joined: Sun Jun 28, 2015 5:51 pm

Re: Error building 1.16.2

#8 Post by beta-tester » Fri Mar 19, 2021 12:28 pm

i just ran into the same issue with 1.16.3 on Ubuntu 20.10.

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Error building 1.16.2

#9 Post by mike admin » Fri Mar 19, 2021 1:33 pm

Please re-download the oss archive.

marcelk
Posts: 6
Joined: Fri May 22, 2020 4:09 pm

Re: Error building 1.16.2

#10 Post by marcelk » Fri Mar 19, 2021 3:14 pm

Done. 1.16.3 now builds and runs succesfully. Thanks, Mike!

Post Reply