на котором запускаю докер все прекрасно работает. пытаюсь запустить сборку из докера на макбуке эйр М1, высирает вот что:
                  
                  
                  
                  
                  
                  '''
                  
                  
                  [ 66%] Performing configure step for 'libjansson'
                  
                  
                  -- The C compiler identification is unknown
                  
                  
                  -- Detecting C compiler ABI info
                  
                  
                  -- Detecting C compiler ABI info - failed
                  
                  
                  -- Performing Test HAS_NO_FORMAT_TRUNCATION
                  
                  
                  -- Performing Test HAS_NO_FORMAT_TRUNCATION - Failed
                  
                  
                  C compiler: 
                  
                  
                  -- Looking for include file endian.h
                  
                  
                  -- Looking for include file endian.h - not found
                  
                  
                  -- Looking for include file fcntl.h
                  
                  
                  -- Looking for include file fcntl.h - not found
                  
                  
                  -- Looking for include file sched.h
                  
                  
                  -- Looking for include file sched.h - not found
                  
                  
                  -- Looking for include file unistd.h
                  
                  
                  -- Looking for include file unistd.h - not found
                  
                  
                  -- Looking for include file sys/param.h
                  
                  
                  -- Looking for include file sys/param.h - not found
                  
                  
                  -- Looking for include file sys/stat.h
                  
                  
                  -- Looking for include file sys/stat.h - not found
                  
                  
                  -- Looking for include file sys/time.h
                  
                  
                  -- Looking for include file sys/time.h - not found
                  
                  
                  -- Looking for include file sys/types.h
                  
                  
                  -- Looking for include file sys/types.h - not found
                  
                  
                  -- Looking for close
                  
                  
                  -- Looking for close - not found
                  
                  
                  -- Looking for getpid
                  
                  
                  -- Looking for getpid - not found
                  
                  
                  -- Looking for gettimeofday
                  
                  
                  -- Looking for gettimeofday - not found
                  
                  
                  -- Looking for open
                  
                  
                  -- Looking for open - not found
                  
                  
                  -- Looking for read
                  
                  
                  -- Looking for read - not found
                  
                  
                  -- Looking for sched_yield
                  
                  
                  -- Looking for sched_yield - not found
                  
                  
                  -- Looking for include file stdint.h
                  
                  
                  -- Looking for include file stdint.h - not found
                  
                  
                  -- Looking for stddef.h
                  
                  
                  -- Looking for stddef.h - not found
                  
                  
                  -- Check size of __int64
                  
                  
                  -- Check size of __int64 - failed
                  
                  
                  -- Check size of int64_t
                  
                  
                  -- Check size of int64_t - failed
                  
                  
                  -- Check size of long long
                  
                  
                  -- Check size of long long - failed
                  
                  
                  -- Check size of int32_t
                  
                  
                  -- Check size of int32_t - failed
                  
                  
                  -- Check size of __int32
                  
                  
                  -- Check size of __int32 - failed
                  
                  
                  -- Check size of long
                  
                  
                  -- Check size of long - failed
                  
                  
                  -- Check size of int
                  
                  
                  -- Check size of int - failed
                  
                  
                  CMake Error at CMakeLists.txt:173 (message):
                  
                  
                    Could not detect a valid 32-bit integer type
                  
                  
                  
                  
                  
                  
                  
                  
                  -- Configuring incomplete, errors occurred!
                  
                  
                  See also "/home/misyurov/program/e2/test/platform-ameba-pro2/arlo-bsp/build/libjansson/src/libjansson-build/CMakeFiles/CMakeOutput.log".
                  
                  
                  See also "/home/misyurov/program/e2/test/platform-ameba-pro2/arlo-bsp/build/libjansson/src/libjansson-build/CMakeFiles/CMakeError.log".
                  
                  
                  gmake[3]: *** [CMakeFiles/libjansson.dir/build.make:93: libjansson/src/libjansson-stamp/libjansson-configure] Error 1
                  
                  
                  gmake[2]: *** [CMakeFiles/Makefile2:119: CMakeFiles/libjansson.dir/all] Error 2
                  
                  
                  gmake[1]: *** [CMakeFiles/Makefile2:126: CMakeFiles/libjansson.dir/rule] Error 2
                  
                  
                  gmake: *** [Makefile:124: libjansson] Error 2
                  
                  
                  '''
                  
                  
                  что можно предпринять?
                  
                  
                
почитай почему макбук называется м1 и в чем разница с нормальными пк
Обсуждают сегодня