I am going to install DCAP On my linux server with Kernel : Intel(R) Xeon(R) Platinum 8370C CPU # 2.80GHz
when I run sudo ./sgx_linux_x64_driver_1.36.2.bin I get error :
'make' KDIR=/lib/modules/5.15.0-1023-azure/build....(bad exit status: 2)
ERROR (dkms apport): binary package for sgx: 1.36.2 not found
Error! Bad return status for module build on kernel: 5.15.0-1023-azure (x86_64)
Consult /var/lib/dkms/sgx/1.36.2/build/make.log for more information.
Does any one knows the reason?
cat /var/lib/dkms/sgx/1.36.2/build/make.log
DKMS make.log for sgx-1.36.2 for kernel 5.15.0-1023-azure (x86_64)
Wed 14 Dec 2022 11:57:05 AM UTC
make -C /lib/modules/5.15.0-1023-azure/build M=/var/lib/dkms/sgx/1.36.2/build CFLAGS_MODULE="-I/var/lib/dkms/sgx/1.36.2/build -I/var/lib/dkms/sgx/1.36.2/build/include" modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-1023-azure'
CC [M] /var/lib/dkms/sgx/1.36.2/build/encl.o
CC [M] /var/lib/dkms/sgx/1.36.2/build/main.o
/var/lib/dkms/sgx/1.36.2/build/main.c: In function ‘sgx_init’:
/var/lib/dkms/sgx/1.36.2/build/main.c:792:9: note: #pragma message: kernel version may not be supported
792 | #pragma message "kernel version may not be supported"
| ^~~~~~~
CC [M] /var/lib/dkms/sgx/1.36.2/build/driver.o
CC [M] /var/lib/dkms/sgx/1.36.2/build/ioctl.o
LD [M] /var/lib/dkms/sgx/1.36.2/build/intel_sgx.o
MODPOST /var/lib/dkms/sgx/1.36.2/build/Module.symvers
ERROR: modpost: "kallsyms_lookup_name" [/var/lib/dkms/sgx/1.36.2/build/intel_sgx.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:134: /var/lib/dkms/sgx/1.36.2/build/Module.symvers] Error 1
make[2]: *** Deleting file '/var/lib/dkms/sgx/1.36.2/build/Module.symvers'
make[1]: *** [Makefile:1818: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-1023-azure'
make: *** [Makefile:22: default] Error 2
On export .ipa file I am getting below error:
ipatool failed with an exception: #<CmdSpec::NonZeroExcitException: /Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool exited with pid 45488 exit 1
Stdout:
Debug: SDK path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk
Debug: PATH: ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin', '/Applications/Xcode.app/Contents/Developer/usr/bin']
Debug: Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo
MachoInfo: cd /
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo" "-info" "/var/folders/54/vkh5d7bx5s3cq3yb4_zshfmh0000gn/T/ipatool20180623-43023-bh0irk/thinned/armv7/Payload/test.app/Frameworks/Quickblox.framework/Quickblox"
I when run server i get above error i try to install 'gem install web-console,byebug,tzinfo-data' i get this error :
C:\Users\RaminFP>gem install web-console
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
C:\RubyDevKit\bin\rm.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:\RubyDevKit\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
C:\RubyDevKit\bin\echo.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
ERROR: Error installing web-console:
ERROR: Failed to build gem native extension.
C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160212-7132-1g0f7us.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x290000, State 0x10000
C:\RubyDevKit\bin\rm.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
makefile:187: recipe for target 'clean-static' failed
make: [clean-static] Error 1 (ignored)
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x290000, State 0x10000
C:\RubyDevKit\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
makefile:170: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
make "DESTDIR="
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60E90000, RegionSize 0x290000, State 0x10000
C:\RubyDevKit\bin\echo.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
makefile:260: recipe for target 'debug_inspector-x64-mingw32.def' failed
make: *** [debug_inspector-x64-mingw32.def] Error 1
make failed, exit code 2
Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/debug_inspector-0.0.2 for inspection.
Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/x64- mingw32/2.2.0/debug_inspector-0.0.2/gem_make.out
i use IDE intellij for runserver and get error , not find,
what happen here?
i believe you need to rebase dlls in your bin directory by doing:-
rebase.exe -b 0x50000000 msys-1.0.dll
reference: http://jakob.engbloms.se/archives/1403
I'm trying to install opencv with homebrew on OS 10.5.8 but I'm totally stumped by this error:
brew install -v opencv
/tmp/opencv-Qk23/opencv-2.4.6.1/modules/core/src/parallel.cpp:106:39: error: dispatch/dispatch.h: No such file or directory
/tmp/opencv-Qk23/opencv-2.4.6.1/modules/core/src/parallel.cpp: In function 'void cv::parallel_for_(const cv::Range&, const cv::ParallelLoopBody&, double)':
/tmp/opencv-Qk23/opencv-2.4.6.1/modules/core/src/parallel.cpp:267: error: 'dispatch_queue_t' was not declared in this scope
/tmp/opencv-Qk23/opencv-2.4.6.1/modules/core/src/parallel.cpp:267: error: expected `;' before 'concurrent_queue'
/tmp/opencv-Qk23/opencv-2.4.6.1/modules/core/src/parallel.cpp:268: error: 'concurrent_queue' was not declared in this scope
/tmp/opencv-Qk23/opencv-2.4.6.1/modules/core/src/parallel.cpp:268: error: 'dispatch_apply_f' was not declared in this scope
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [all] Error 2
Any suggestions?
When compiling MobileVlc for IOS-Simulator on my MacMini I get the following errors:
I start building MobileVlc using the following command: ./buildMobileVLC.sh -s
Last output is:
mkdir -p -- /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal && cd a52dec && autoreconf -fiv -I/Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin/autoconf --include=/Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/share/aclocal --force
**configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/bin/autoconf failed with exit status: 1**
make: *** [.a52] Error 1
Can somebody help me?
After closer looking at the problem I must say, that the above is always the output of the second try. On the first try I always get this:
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cmake-commands.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cmake-compatcommands.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ctest.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ctest.docbook
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cpack.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/cpack.docbook
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ccmake.txt
-- Installing: /Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/doc/cmake-2.8/ccmake.docbook
-- Installing: **/Users/theo/Projects/compile/vlc/MobileVLC/ImportedSources/vlc/extras/tools/build/share/aclocal/cmake.m4**
0 0 0 0 0 0 0 0 --:--:-- 0:05:21 --:--:-- 0touch .cmake
0 0 0 0 0 0 0 0 --:--:-- 0:11:00 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:11:10 --:--:-- 0^Cmake: *** Deleting file `yasm-1.2.0.tar.gz'
make: *** [yasm-1.2.0.tar.gz] Interrupt: 2
The output stops at Installing cmake.m4 never ending. I have to interrupt it with ^C.
AC_LIBTOOL_WIN32_DLL configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf:
sudo apt-get install libtool