首页 > 其他分享 >train_logReg_param.o:train_logReg_param.cc:(.text+0x3407): more undefined references to `std::__thro

train_logReg_param.o:train_logReg_param.cc:(.text+0x3407): more undefined references to `std::__thro

时间:2023-11-11 18:11:06浏览次数:40  
标签:gcc logReg train 报错 param 版本

 

001、make 编译 报错:train_logReg_param.o:train_logReg_param.cc:(.text+0x3407): more undefined references to `std::__throw_out_of_range_fmt(char const*, ...)' follow

 

002、解决方法(可能是gcc 版本的问题)

a、gcc当前版本:

(py38) [root@pc1 Augustus-3.5.0]# gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

b、升级gcc版本至11,升级后版本: gcc升级过程:https://www.cnblogs.com/liujiaxin2018/p/17808659.html

(base) [root@pc1 Augustus-3.5.0]# gcc --version
gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

003、编译测试

(base) [root@pc1 Augustus-3.5.0]# make    ## 再次编译测试,果然之前的报错消失,证明了前边的报错就是gcc版本的问题造成的。

 

 

 。

参考:

01、https://github.com/tgac/kat/issues/68

 

标签:gcc,logReg,train,报错,param,版本
From: https://www.cnblogs.com/liujiaxin2018/p/17826159.html

相关文章

  • PreTrainedModel 中 from_pretrained 和 load_state_dict 的关联
    from_pretrainedAutoTokenizer.from_pretrained:从path/vocab.json中加载tokenizerAutoConfig.from_pretrained:从path/config.json中加载模型配置信息更新模型配置信息:model=Model(config)PreTrainedModel.from_pretrained:加载模型结构和模型参数load_checkpoint......
  • v$parameter v$system_parameter v$spparameter v$parameter2 v$system_parameter2
    v$parameter当前会话生效参数(showparameter)altersessionsetxxxxx;显示的内容会变化altersystemsetxxxxxx;显示的内容会变化v$system_parameter表示实例级别的参数信息,在没有在线修改参数的情况下showparameter与之相同,每开启一个新会话的时候,会话使用所有的参数都......
  • Required request parameter 'numbers' for method parameter type String[] is not p
    报错就是这个,然后报错的信息再给点详细的 org.springframework.web.bind.MissingServletRequestParameterException:Requiredrequestparameter'numbers'formethodparametertypeString[]isnotpresent atorg.springframework.web.method.annotation.RequestParam......
  • [论文阅读] Dist-GAN: An Improved GAN using Distance Constraints
    [1803.08887]Dist-GAN:AnImprovedGANusingDistanceConstraints(arxiv.org)TranNT,BuiTA,CheungNM.Dist-gan:Animprovedganusingdistanceconstraints[C]//ProceedingsoftheEuropeanconferenceoncomputervision(ECCV).2018:370-385.引用:102原......
  • 论文阅读:Point-BERT: Pre-training 3D Point Cloud Transformers with Masked Point M
    Point-BERT:Pre-training3DPointCloudTransformerswith MaskedPointModelingPoint-BERT:基于掩码建模的点云自注意力模型预训练摘要我们提出了Point-BERT,一个学习自注意力的新范式,将BERT[8]的概念推广到三维点云。受BERT的启发,我们设计了一个掩蔽点建模(MPM)任务来预训练点云......
  • 执行完又报这个错误ALTER TABLE sys_export_file_msg MODIFY EXPORT_PARAMS CLOB > OR
    报这个错误ALTERTABLEsys_export_file_msgMODIFYEXPORT_PARAMSCLOB>ORA-22858:invalidalterationofdatatype在Oracle中,你不能直接将列的数据类型从非LOB类型更改为LOB类型,因为这样的操作会导致数据的重建,可能会造成数据丢失。如果你需要将一个非LOB类型的列更改为CLOB类......
  • BindException、ConstraintViolationException、MethodArgumentNotValidException入参
    Springvalidation验证框架注解Springvalidation验证框架提供了大量接口入参检验注解,注意三个非空注解:@NotNull:验证对象是否不为null,无法查检长度为0的字符串@NotBlank:检查约束(字符串)是不是Null还有被Trim的长度是否大于0,只对字符串,且会去掉前后空格@NotEmpty:检查(集合)......
  • python--------------paramiko远程控制模块学习
    importparamikodefsshExeCMD():ssh_client=paramiko.SSHClient()ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())ssh_client.connect(hostname="192.168.8.200",port=22,username="root",password="123")stdi......
  • [论文阅读] [WGAN-GP] Improved Training of Wasserstein GANs
    [1704.00028]ImprovedTrainingofWassersteinGANs(arxiv.org)GulrajaniI,AhmedF,ArjovskyM,etal.Improvedtrainingofwassersteingans[J].Advancesinneuralinformationprocessingsystems,2017,30.代码:igul222/improved_wgan_training:Codeforrepr......
  • Params(参数量)、Model_size(模型大小)和Flops(计算量)
    Params(参数量)、Model_size(模型大小)和Flops(计算量)参数量(params):参数的数量,通常以M为单位。params=Kh×Kw×Cin×Cout模型大小(模型大小):在一般的深度学习的框架中(如PyTorch),一般是32位存储,即一个参数用32个bit来存储。所以,一个拥有1M(这里的M是数量单位一百万)参......