Forum
    • Categories
    • Register
    • Login

    EXPORT ERROR: Makefile:132: recipe for target 'build/DJRangklung.so' failed

    Scheduled Pinned Locked Moved Bug Reports
    7 Posts 2 Posters 720 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djrecycle
      last edited by djrecycle

      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/deflate.h:96:16: warning: type ‘struct internal_state’ violates one definition rule [-Wodr]
       typedef struct internal_state {
                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:1347:12: note: a different type is defined in another translation unit
           struct internal_state {int dummy;}; /* hack for buggy compilers */
                  ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/deflate.h:97:15: note: the first difference of corresponding definitions is field ‘strm’
           z_streamp strm;      /* pointer back to this zlib stream */
                     ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:1347:32: note: a field with different name is defined in another translation unit
           struct internal_state {int dummy;}; /* hack for buggy compilers */
                                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/zlib.h:83:16: warning: type ‘struct z_stream_s’ violates one definition rule [-Wodr]
       typedef struct z_stream_s {
                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:83:16: note: a different type is defined in another translation unit
       typedef struct z_stream_s {
                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/zlib.h:93:32: note: the first difference of corresponding definitions is field ‘state’
           struct internal_state FAR *state; /* not visible by applications */
                                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:93:32: note: a field of same name but different type is defined in another translation unit
           struct internal_state FAR *state; /* not visible by applications */
                                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/deflate.h:96:16: note: type ‘struct internal_state’ should match type ‘struct internal_state’ that itself violate one definition rule
       typedef struct internal_state {
                      ^
      /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:1347:12: note: the incompatible type is defined here
           struct internal_state {int dummy;}; /* hack for buggy compilers */
                  ^
      In function ‘__poll_alias’,
          inlined from ‘sleepUntilEvent.constprop’ at /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_events/native/juce_linux_Messaging.cpp:130:78,
          inlined from ‘dispatchNextMessageOnSystemQueue’ at /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_events/native/juce_linux_Messaging.cpp:244:42:
      /usr/include/x86_64-linux-gnu/bits/poll2.h:41:60: warning: call to ‘__poll_chk_warn’ declared with attribute warning: poll called with fds buffer too small file nfds entries
        return __poll_chk (__fds, __nfds, __timeout, __bos (__fds));
                                                                  ^
      /tmp/ccwTKLr6.ltrans10.ltrans.o: In function `hise::FrontendProcessor::FrontendProcessor(juce::ValueTree&, juce::AudioDeviceManager*, juce::AudioProcessorPlayer*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::ValueTree*, juce::ValueTree*)':
      <artificial>:(.text+0x46593): undefined reference to `hise::FrontendProcessor::createPresetRaw()'
      collect2: error: ld returned 1 exit status
      Makefile:132: recipe for target 'build/DJRangklung.so' failed
      make: *** [build/DJRangklung.so] Error 1
      Compiling finished. Cleaning up...
      
      

      How to fix this?

      1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey
        last edited by David Healey

        Could you post the whole console output from the beginning of the compile process?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 0
        • D
          djrecycle
          last edited by

          root@djrecycle-X453SA:/home/djrecycle/DJRECYCLE95/Binaries# ./batchCompileLinux.sh
          Re-saving file: /home/djrecycle/DJRECYCLE95/Binaries/AutogeneratedProject.jucer
          Finished saving: Visual Studio 2017
          Finished saving: Xcode (MacOSX)
          Finished saving: Xcode (iOS)
          Finished saving: Linux Makefile
          Compiling Instrument plugin DJRangklung ...
          Compiling include_juce_audio_plugin_client_VST2.cpp
          Compiling CopyProtection.cpp
          Compiling Plugin.cpp
          Compiling PresetData.cpp
          Compiling BinaryData.cpp
          Compiling include_hi_components.cpp
          Compiling include_hi_core.cpp
          Compiling include_hi_dsp.cpp
          Compiling include_hi_dsp_library.cpp
          Compiling include_hi_frontend.cpp
          Compiling include_hi_lac.cpp
          Compiling include_hi_modules.cpp
          Compiling include_hi_sampler.cpp
          Compiling include_hi_scripting_01.cpp
          Compiling include_hi_scripting_02.cpp
          Compiling include_hi_streaming.cpp
          Compiling include_hi_tools.cpp
          Compiling include_hi_zstd_1.cpp
          Compiling include_hi_zstd_2.cpp
          Compiling include_hi_zstd_3.cpp
          Compiling include_juce_audio_basics.cpp
          Compiling include_juce_audio_devices.cpp
          Compiling include_juce_audio_formats.cpp
          Compiling include_juce_audio_plugin_client_utils.cpp
          Compiling include_juce_audio_processors.cpp
          Compiling include_juce_audio_utils.cpp
          Compiling include_juce_core.cpp
          Compiling include_juce_cryptography.cpp
          Compiling include_juce_data_structures.cpp
          Compiling include_juce_dsp.cpp
          Compiling include_juce_events.cpp
          Compiling include_juce_graphics.cpp
          Compiling include_juce_gui_basics.cpp
          Compiling include_juce_gui_extra.cpp
          Compiling include_juce_opengl.cpp
          Compiling include_juce_product_unlocking.cpp
          Linking DJRangklung - Shared Code
          Linking DJRangklung - VST
          
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/deflate.h:96:16: warning: type ‘struct internal_state’ violates one definition rule [-Wodr]
           typedef struct internal_state {
                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:1347:12: note: a different type is defined in another translation unit
               struct internal_state {int dummy;}; /* hack for buggy compilers */
                      ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/deflate.h:97:15: note: the first difference of corresponding definitions is field ‘strm’
               z_streamp strm;      /* pointer back to this zlib stream */
                         ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:1347:32: note: a field with different name is defined in another translation unit
               struct internal_state {int dummy;}; /* hack for buggy compilers */
                                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/zlib.h:83:16: warning: type ‘struct z_stream_s’ violates one definition rule [-Wodr]
           typedef struct z_stream_s {
                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:83:16: note: a different type is defined in another translation unit
           typedef struct z_stream_s {
                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/zlib.h:93:32: note: the first difference of corresponding definitions is field ‘state’
               struct internal_state FAR *state; /* not visible by applications */
                                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:93:32: note: a field of same name but different type is defined in another translation unit
               struct internal_state FAR *state; /* not visible by applications */
                                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_core/zip/zlib/deflate.h:96:16: note: type ‘struct internal_state’ should match type ‘struct internal_state’ that itself violate one definition rule
           typedef struct internal_state {
                          ^
          /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_graphics/image_formats/../../juce_core/zip/zlib/zlib.h:1347:12: note: the incompatible type is defined here
               struct internal_state {int dummy;}; /* hack for buggy compilers */
                      ^
          In function ‘__poll_alias’,
              inlined from ‘sleepUntilEvent.constprop’ at /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_events/native/juce_linux_Messaging.cpp:130:78,
              inlined from ‘dispatchNextMessageOnSystemQueue’ at /home/djrecycle/HISE-2.1.0/JUCE/modules/juce_events/native/juce_linux_Messaging.cpp:244:42:
          /usr/include/x86_64-linux-gnu/bits/poll2.h:41:60: warning: call to ‘__poll_chk_warn’ declared with attribute warning: poll called with fds buffer too small file nfds entries
            return __poll_chk (__fds, __nfds, __timeout, __bos (__fds));
                                                                      ^
          /tmp/cc9SZK0V.ltrans10.ltrans.o: In function `hise::FrontendProcessor::FrontendProcessor(juce::ValueTree&, juce::AudioDeviceManager*, juce::AudioProcessorPlayer*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::ValueTree*, juce::ValueTree*)':
          <artificial>:(.text+0x46593): undefined reference to `hise::FrontendProcessor::createPresetRaw()'
          collect2: error: ld returned 1 exit status
          Makefile:132: recipe for target 'build/DJRangklung.so' failed
          make: *** [build/DJRangklung.so] Error 1
          Compiling finished. Cleaning up...
          
          
          1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey
            last edited by David Healey

            So it's failing at the linking stage. What is the build time of your HISE version? Click on the HISE logo to check.

            daa0ca7a-d5e9-43f4-ab46-ee4aa0d52211-image.png

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey
              last edited by

              Have you enabled Use Raw Frontend in the project's preferences?

              6ee6c05a-e8c1-4bb2-a1f9-5f1c545c6936-image.png

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              1 Reply Last reply Reply Quote 0
              • D
                djrecycle
                last edited by

                Screenshot_2020-01-05_04-19-27.png
                this my screenshot ,,

                but now, I have new problem

                root@djrecycle-X453SA:/home/djrecycle/DJRECYCLE95/Binaries# ./batchCompileLinux.sh
                Re-saving file: /home/djrecycle/DJRECYCLE95/Binaries/AutogeneratedProject.jucer
                Finished saving: Visual Studio 2017 - Builds/VisualStudio2017/
                Finished saving: Xcode (MacOSX)
                Finished saving: Linux Makefile
                Compiling Standalone application DJR ...
                Compiling Plugin.cpp
                In file included from /home/djrecycle/HISE-2.1.0/hi_core/../hi_tools/hi_tools.h:64:0,
                                 from /home/djrecycle/HISE-2.1.0/hi_core/hi_core.h:74,
                                 from ../../JuceLibraryCode/JuceHeader.h:17,
                                 from ../../Source/Plugin.cpp:2:
                /home/djrecycle/HISE-2.1.0/hi_core/../hi_tools/../hi_streaming/hi_streaming.h:69:17: fatal error: ipp.h: No such file or directory
                compilation terminated.
                Makefile:120: recipe for target 'build/intermediate/Release/Plugin_124bbd3c.o' failed
                make: *** [build/intermediate/Release/Plugin_124bbd3c.o] Error 1
                Compiling finished. Cleaning up...
                root@djrecycle-X453SA:/home/djrecycle/DJRECYCLE95/Binaries# 
                
                
                1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey
                  last edited by

                  You're not meant to have that check box enabled.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  33

                  Online

                  2.1k

                  Users

                  13.0k

                  Topics

                  113.0k

                  Posts