*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
时间: 2023-08-15 18:08:33 浏览: 233
Docker push报错 :denied: requested access to the resource is denied
引用\[1\]:*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: ?DT?_TIMER1_DELAY1MS?DELAY LENGTH: 0004H *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: HOUTPUT SEGMENT: ?DT?OUTPUT *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: LEDTICK SEGMENT: ?DT?OUTPUT *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: _INIT_LEDPARA MODULE: .\Output\output.obj (OUTPUT) ADDRESS: 0C35H *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: CTRL_LEDSTATE MODULE: .\Output\output.obj (OUTPUT) ADDRESS: 0C5BH *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: ?_CREATETASK?BYTE SEGMENT: ?DT?_CREATETASK?UXOS *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: ?C_IBP SEGMENT: ?C?LIB_DATA Program Size: data=179.2 xdata=0 code=4545 Target not created.
引用\[2\]:转自VC错误:http://www.vcerror.com/?p=1714 问题描述: 写一个单片机程序,出现这个问题,仔细查看每一句语句,发现逻辑上没有错误,但就是出现这个问题,不能生成目标文件: *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: ?DT?USART_READWRITE LENGTH: 007AH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: USARTREADWAVEDATA MODULE: .\Timer_DAC.obj (TIMER_DAC) ADDRESS: 0367H *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: USARTREADWAVEDATA SEGMENT: ?DT?USART_READWRITE *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: USARTDATACOUNT SEGMENT: ?DT?USART_READWRITE Program Size: data=140.3 xdata=10 code=968 Target not created 解决方法: 具体的解决方法参考文章:http://www.vcerror.com/?p=1714。
引用\[3\]:Small:变量存储在内部ram里; small模式下,再入函数的堆栈是设在idata中的 Compact:变量存储在外部ram里,使用页8位间接寻址; compact模式下,再入函数堆栈是设在pdata中的 Large:变量存储在外部Ram里,使用16位间接寻址。
问题:*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
回答: 这个错误通常是由于引用了被忽略的段(segment)导致的。在编程中,段是用来存储不同类型的数据的一种方式。根据引用\[1\]和引用\[2\]的描述,这个错误可能是由于在代码中引用了被忽略的段导致的。具体的解决方法可以参考引用\[2\]中提供的文章。
#### 引用[.reference_title]
- *1* *3* [PUBLIC REFERS TO IGNORED SEGMENT; ADDRESS SPACE OVERFLOW错误解决](https://blog.csdn.net/qq_32626931/article/details/85692819)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT 的解决办法](https://blog.csdn.net/swanabin/article/details/46912107)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文