Re: Errors in compiling darktable subpackages

2018-07-22 Thread Germano Massullo
A little update: upon FAS misc suggestion I started trying to comment from line 5 to 15 of file https://github.com/darktable-org/darktable/blob/darktable-2.4.x/tools/basecurve/CMakeLists.txt and then the previous error seems to be disappeared.

Re: Errors in compiling darktable subpackages

2018-07-20 Thread Germano Massullo
A user in darktable mailing list [1] said "If you are using -specs=/usr/lib/rpm/redhat/redhat-hardened-ld at link time, you also need to use -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 at compile time, and as you are compiling and linking at the same time, you need either both, or drop the

Re: Errors in compiling darktable subpackages

2018-07-20 Thread Germano Massullo
On 7/19/18 10:15 PM, Fabio Valentini wrote: > I used to get these errors too for some of my packages. It turned out > that upstream made some mistakes in their CMakeLists.txt files: > The errors were usually caused by some CMakeLists.txt file overriding > the system-provided CFLAGS with something

Re: Errors in compiling darktable subpackages

2018-07-19 Thread Fabio Valentini
On Thu, Jul 19, 2018 at 9:28 PM Germano Massullo wrote: > > I am working on adding more features to darktable (basecurve tool and noise > tool subpackages). > > In log [1] from line > > BUILDSTDERR: /usr/bin/ld: CMakeFiles/dt-curve-tool.dir/dt-curve-tool.c.o: > relocation R_X86_64_32S against

Errors in compiling darktable subpackages

2018-07-19 Thread Germano Massullo
I am working on adding more features to darktable (basecurve tool and noise tool subpackages). In log [1] from line BUILDSTDERR: /usr/bin/ld: CMakeFiles/dt-curve-tool.dir/dt-curve-tool.c.o: relocation R_X86_64_32S against symbol `spline_set' can not be used when making a shared object; recompile