[R-sig-Debian] R3.4 on Debian12

Tomas Kalibera tom@@@k@||ber@ @end|ng |rom gm@||@com
Thu Dec 12 17:10:51 CET 2024


On 12/12/24 16:50, Quinones, Jose M. wrote:
> Hello,
>
> Looking for guidance on compiling R version 3.4 on Debian 12. I�m encountering the following error on compiling:
>
> /usr/bin/ld: ../unix/system.o:(.bss+0x0): multiple definition of `R_OutputCon'; CommandLineArgs.o:(.bss+0x0): first defined here
> /usr/bin/ld: ../unix/sys-unix.o:(.bss+0x0): multiple definition of `R_OutputCon'; CommandLineArgs.o:(.bss+0x0): first defined here
> /usr/bin/ld: ../unix/sys-unix.o:(.bss+0x8): multiple definition of `ptr_R_ProcessEvents'; ../unix/system.o:(.bss+0xa8): first defined here
> /usr/bin/ld: ../unix/X11.o:(.bss+0x0): multiple definition of `R_OutputCon'; CommandLineArgs.o:(.bss+0x0): first defined here

Perhaps you can try building with -fcommon.

Tomas
> /usr/bin/ld: connections.o: warning: relocation against `R_OutputCon' in read-only section `.text'
> /usr/bin/ld: connections.o: relocation R_X86_64_PC32 against symbol `R_OutputCon' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: bad value
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:177: libR.so] Error 1
> make[3]: Leaving directory '/mnt/vast/hpc/homes/branch/Software_BUILD/R-3.4.2/src/main'
> make[2]: *** [Makefile:135: R] Error 2
> make[2]: Leaving directory '/mnt/vast/hpc/homes/branch/Software_BUILD/R-3.4.2/src/main'
> make[1]: *** [Makefile:28: R] Error 1
> make[1]: Leaving directory '/mnt/vast/hpc/homes/branch/Software_BUILD/R-3.4.2/src'
> make: *** [Makefile:61: R] Error 1
>
> Thanks,
> Jose
>
> 	[[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian



More information about the R-SIG-Debian mailing list