c library-stddef.h

本文介绍了size_t类型的应用场景,它是sizeof运算符返回值的数据类型,并解释了NULL宏的作用。

此函数定义了


size_t类型,用于sizeof返回的变量


此外还有NULL宏

继续安装之后,再次执行pnpm i 出现新问题node_modules/.pnpm/jpegtran-bin@5.0.2/node_modules/jpegtran-bin: Running postinstall script, failed in 25.3s .../node_modules/jpegtran-bin postinstall$ node lib/install.js │ ⚠ getaddrinfo ENOTFOUND cdn.npmmirror.com │ ⚠ jpegtran pre-build test failed │ ℹ compiling from source │ ✖ Error: Command failed: /bin/sh -c ./configure --disable-shared --prefix="/home/jenkins/pms-web/node_modules/.pnpm/jpegtran-bin@5.0.2/node_modules/jpegtran-bin/vendor" --bindir="/home/jenkins/pms-web/node_modules/.pnpm/jp… │ configure: error: no nasm (Netwide Assembler) found │ checking for a BSD-compatible install... /usr/bin/install -c │ checking whether build environment is sane... yes │ checking for a thread-safe mkdir -p... /usr/bin/mkdir -p │ checking for gawk... gawk │ checking whether make sets $(MAKE)... yes │ checking whether make supports nested variables... yes │ checking whether make supports nested variables... (cached) yes │ checking for style of include used by make... GNU │ checking for gcc... gcc │ checking whether the C compiler works... yes │ checking for C compiler default output file name... a.out │ checking for suffix of executables... │ checking whether we are cross compiling... no │ checking for suffix of object files... o │ checking whether we are using the GNU C compiler... yes │ checking whether gcc accepts -g... yes │ checking for gcc option to accept ISO C89... none needed │ checking whether gcc understands -c and -o together... yes │ checking dependency style of gcc... gcc3 │ checking how to run the C preprocessor... gcc -E │ checking for gcc... (cached) gcc │ checking whether we are using the GNU C compiler... (cached) yes │ checking whether gcc accepts -g... (cached) yes │ checking for gcc option to accept ISO C89... (cached) none needed │ checking whether gcc understands -c and -o together... (cached) yes │ checking dependency style of gcc... (cached) gcc3 │ checking for ar... ar │ checking the archiver (ar) interface... ar │ checking dependency style of gcc... gcc3 │ checking build system type... x86_64-unknown-linux-gnu │ checking host system type... x86_64-unknown-linux-gnu │ checking how to print strings... printf │ checking for a sed that does not truncate output... /usr/bin/sed │ checking for grep that handles long lines and -e... /usr/bin/grep │ checking for egrep... /usr/bin/grep -E │ checking for fgrep... /usr/bin/grep -F │ checking for ld used by gcc... /usr/bin/ld │ checking if the linker (/usr/bin/ld) is GNU ld... yes │ checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B │ checking the name lister (/usr/bin/nm -B) interface... BSD nm │ checking whether ln -s works... yes │ checking the maximum length of command line arguments... 1572864 │ checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop │ checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop │ checking for /usr/bin/ld option to reload object files... -r │ checking for objdump... objdump │ checking how to recognize dependent libraries... pass_all │ checking for dlltool... no │ checking how to associate runtime and link libraries... printf %s\n │ checking for archiver @FILE support... @ │ checking for strip... strip │ checking for ranlib... ranlib │ checking command to parse /usr/bin/nm -B output from gcc object... ok │ checking for sysroot... no │ checking for a working dd... /usr/bin/dd │ checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 │ checking for mt... no │ checking if : is a manifest tool... no │ checking for ANSI C header files... yes │ checking for sys/types.h... yes │ checking for sys/stat.h... yes │ checking for stdlib.h... yes │ checking for string.h... yes │ checking for memory.h... yes │ checking for strings.h... yes │ checking for inttypes.h... yes │ checking for stdint.h... yes │ checking for unistd.h... yes │ checking for dlfcn.h... yes │ checking for objdir... .libs │ checking if gcc supports -fno-rtti -fno-exceptions... no │ checking for gcc option to produce PIC... -fPIC -DPIC │ checking if gcc PIC flag -fPIC -DPIC works... yes │ checking if gcc static flag -static works... no │ checking if gcc supports -c -o file.o... yes │ checking if gcc supports -c -o file.o... (cached) yes │ checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes │ checking dynamic linker characteristics... GNU/Linux ld.so │ checking how to hardcode library paths into programs... immediate │ checking whether stripping libraries is possible... yes │ checking if libtool supports shared libraries... yes │ checking whether to build shared libraries... no │ checking whether to build static libraries... yes │ checking whether ln -s works... yes │ checking for pkg-config... /usr/bin/pkg-config │ checking pkg-config is at least version 0.9.0... yes │ checking size of size_t... 8 │ checking whether compiler supports pointers to undefined structures... yes │ checking whether __SUNPRO_C is declared... no │ checking for ANSI C header files... (cached) yes │ checking stddef.h usability... yes │ checking stddef.h presence... yes │ checking for stddef.h... yes │ checking for stdlib.h... (cached) yes │ checking locale.h usability... yes │ checking locale.h presence... yes │ checking for locale.h... yes │ checking for string.h... (cached) yes │ checking for sys/types.h... (cached) yes │ checking for an ANSI C-conforming const... yes │ checking whether char is unsigned... no │ checking for inline... inline │ checking for size_t... yes │ checking for unsigned char... yes │ checking for unsigned short... yes │ checking if right shift is signed... yes │ checking for memset... yes │ checking for memcpy... yes │ checking libjpeg API version... 6.2 │ checking whether to include in-memory source/destination managers... yes │ checking libjpeg shared library version... 62.2.0 │ checking whether the linker supports version scripts... yes (GNU style) │ checking whether to use version script when building libjpeg-turbo... yes │ checking for inline... inline __attribute__((always_inline)) │ checking whether to include arithmetic encoding support... yes │ checking whether to include arithmetic decoding support... yes │ checking whether to use 12-bit samples... no │ checking whether to build TurboJPEG C wrapper... yes │ checking whether to build TurboJPEG Java wrapper... no │ checking if we have SIMD optimisations for cpu type... yes (x86_64) │ checking for nasm... no │ checking for nasmw... no │ checking for yasm... no │ at /home/jenkins/pms-web/node_modules/.pnpm/execa@0.7.0/node_modules/execa/index.js:231:11 │ at process.processTicksAndRejections (node:internal/process/task_queues:95:5) │ at async Promise.all (index 0) └─ Failed in 25.3s at /home/jenkins/pms-web/node_modules/.pnpm/jpegtran-bin@5.0.2/node_modules/jpegtran-bin 这个怎么解决
最新发布
12-10
annant@annant-Legion-R7000P-ARH7:~/competition_ws/src/nlopt/build$ cmake .. -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- NLopt version 2.10.0 -- Looking for getopt.h -- Looking for getopt.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for getpid -- Looking for getpid - found -- Looking for syscall -- Looking for syscall - found -- Looking for isinf -- Looking for isinf - found -- Looking for isnan -- Looking for isnan - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for qsort_r -- Looking for qsort_r - found -- Looking for time -- Looking for time - found -- Looking for copysign -- Looking for copysign - found -- Looking for getopt -- Looking for getopt - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Check size of unsigned long -- Check size of unsigned long - done -- Looking for fpclassify -- Looking for fpclassify - TRUE -- Performing Test HAVE_THREAD_LOCAL_STORAGE -- Performing Test HAVE_THREAD_LOCAL_STORAGE - Success -- Performing Test HAVE_THREAD_LOCAL_STORAGE -- Performing Test HAVE_THREAD_LOCAL_STORAGE - Failed -- Found Python: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.6") found components: Interpreter Development.Module NumPy -- Could NOT find Guile (missing: GUILE_EXECUTABLE GUILE_ROOT_DIR GUILE_INCLUDE_DIRS GUILE_LIBRARIES) -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (Required is at least version "1.5") -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3") -- Could NOT find Octave (missing: OCTAVE_EXECUTABLE OCTAVE_ROOT_DIR OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES) -- Configuring done -- Generating done -- Build files have been written to: /home/annant/competition_ws/src/nlopt/build
09-05
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值