Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] Building csound6

Victor Lazzarini <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
Did you try a new build off tree? I find it easier because if something goes wrong and I can't recover, I just remove the build directory and start again.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 4 Nov 2023, at 14:40, John ff <[email protected]> wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> I seem to be in a mess.  Tried removing the cache and I still get lots of
> stuff I do not understand
> 
> How do I recover?
> 
> ==John ffitch
> 
> ....
> CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:82 (message):
>  Policy CMP0075 is not set: Include file check macros honor
>  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
>  details.  Use the cmake_policy command to set the policy and suppress this
>  warning.
> 
>  CMAKE_REQUIRED_LIBRARIES is set to:
> 
>    /usr/local/lib/libsndfile.so;pthread
> 
>  For compatibility with CMake 3.11 and below this check is ignoring it.
> Call Stack (most recent call first):
>  CMakeLists.txt:563 (check_include_file)
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> ....
> Consolidate compiler generated dependencies of target src_conv
> [ 14%] Building C object InOut/CMakeFiles/rtjack.dir/alphanumcmp.c.o
> Consolidate compiler generated dependencies of target sdif2ad
> [ 15%] Linking C executable ../src_conv
> [ 16%] Built target sdif2ad
> [ 16%] Built target pofile_it
> [ 16%] Built target pofile_de
> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libportaudio.a(pa_front.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: failed to set dynamic section sizes: bad value
> collect2: error: ld returned 1 exit status
> make[2]: *** [InOut/CMakeFiles/rtpa.dir/build.make:98: librtpa.so] Error 1
> make[1]: *** [CMakeFiles/Makefile2:1103: InOut/CMakeFiles/rtpa.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 22%] Built target stdutil
> [ 22%] Built target pofile_fr
> [ 22%] Built target pofile_en_US
> [ 22%] Built target pofile_ru
> [ 22%] Built target pmidi
> [ 22%] Built target src_conv
> [ 22%] Linking C shared module ../librtjack.so
> [ 22%] Built target rtjack
> [ 83%] Built target csound64
> make: *** [Makefile:166: all] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.