首页 > 其他分享 >bits/libc-header-start.h: No such file or directory

bits/libc-header-start.h: No such file or directory

时间:2024-02-14 19:14:53浏览次数:30  
标签:start libc No header file include bits

问题出现

在编译一个工程的时候,出现了报错

In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/stdint.h:9,
                 from main.c:1:                                                                                                      
/usr/include/stdint.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory                           
   26 | #include <bits/libc-header-start.h>                                                                                          
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~

解决方法

发现这个工程是要分别编译32位和64位的,因此才会出现这个问题,安装gcc-multilib来解决。

标签:start,libc,No,header,file,include,bits
From: https://www.cnblogs.com/JasenChao/p/18015437

相关文章

  • P1068 [NOIP2009 普及组] 分数线划定
    [NOIP2009普及组]分数线划定题目描述世博会志愿者的选拔工作正在A市如火如荼的进行。为了选拔最合适的人才,A市对所有报名的选手进行了笔试,笔试分数达到面试分数线的选手方可进入面试。面试分数线根据计划录取人数的\(150\%\)划定,即如果计划录取\(m\)名志愿者,则面试分数......
  • Debug: tf distribute strategy parameter server: NOT_FOUND: No such file or dire
    [ERROR:NOT_FOUND:/tfx/tfx_pv/pipelines/detect_anomolies_on_wafer_tfdv_schema/ImportExampleGen/examples/67/Split-train/data_tfrecord-00000-of-00001.gz;Nosuchfileordirectory]logofpodtfx-trainer-component:ERROR:tensorflow:/job:worker/task:0en......
  • Go 100 mistakes - #16: Not using linters
    Alinterisanautomatictooltoanalyzecodeandcatcherrors. Tounderstandwhylintersareimportant,let’stakeoneconcreteexample.Inmistake#1,“Unintendedvariableshadowing,”wediscussedpotentialerrorsrelatedto variableshadowing.Using......
  • Idea--解决character ‘@‘ that cannot start any token. (Do not use @ for indenta
    原文网址:​​Idea--解决character‘@‘thatcannotstartanytoken.(Donotuse@forindentation_IT利刃出鞘的博客-CSDN博客​​简介本文介绍如何解决character‘@‘thatcannotstartanytoken.(Donotuse@forindentation这个问题。分享Java技术星球(自学精灵),网......
  • Debug: tf_ditribute_strategy_worker.yaml: unknown field "spec.template.spec.node
    [ERROR:unknownfield"spec.template.spec.nodeAffinity"](base)maye@maye-Inspiron-5547:~/github_repository/tensorflow_ecosystem/distribution_strategy$kubectlapply-fmaye_template.yamlservice/dist-strat-example-worker-0createdservice/dis......
  • Debug: tf_ditribute_strategy_worker.yaml: resource mapping not found for name:
    [ERROR:resourcemappingnotfoundforname:"dist-strat-example-worker-0"namespace:""from"maye_template.yaml":nomatchesforkind"Deployment"inversion"v1"]apiVersion:apps/v1kind:Deploymentme......
  • P1093 [NOIP2007 普及组] 奖学金
    1.题目介绍[NOIP2007普及组]奖学金题目背景NOIP2007普及组T1题目描述某小学最近得到了一笔赞助,打算拿出其中一部分为学习成绩优秀的前\(5\)名学生发奖学金。期末,每个学生都有\(3\)门课的成绩:语文、数学、英语。先按总分从高到低排序,如果两个同学总分相同,再按语文成绩......
  • P1059 [NOIP2006 普及组] 明明的随机数
    1.题目介绍[NOIP2006普及组]明明的随机数题目描述明明想在学校中请一些同学一起做一项问卷调查,为了实验的客观性,他先用计算机生成了\(N\)个\(1\)到\(1000\)之间的随机整数\((N\leq100)\),对于其中重复的数字,只保留一个,把其余相同的数去掉,不同的数对应着不同的学生的学......
  • NOI真题记录
    NOI真题记录一些做过的NOI真题。NOI2013向量内积题意:有\(n\)个\(d\)为向量,求是否有两对向量的点积是2或3的倍数。思路:先random_shuffle一下,然后一次判断和前面的和的乘积,如果发现出现了不满足全部模起来都不为0就说明出现了答案,与前面的每一个判断一下就可以了。......
  • Go 100 mistakes - #11: Not using the functional options pattern
      Here,WithPortreturnsaclosure.Aclosureisananonymousfunctionthatreferences variablesfromoutsideitsbody;inthiscase,theportvariable.Theclosurerespectsthe Optiontypeandimplementstheport-validationlogic.Eachconfigfieldr......