• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






編譯時的錯誤信息
#1
新會員
新會員


查看用戶資訊
大家好:
小弟利用MPLAB X IDE v5.45 + \HI-TECH Software\PICC-18\9.80\bin\picc18.exe 編譯程式,出現以下錯誤信息,請問這是什麼現象? 如何解決? 謝謝

make[2]: *** [dist/default/production/TestB.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
:0: error: (1347) can't find 0x26C words (0x26c withtotal) for psect "text6" in class "CODE" (largest unused contiguous range 0x17A)
:0: error: (1347) can't find 0x24A words (0x24a withtotal) for psect "text71" in class "CODE" (largest unused contiguous range 0x17A)
:0: error: (1347) can't find 0x23C words (0x23c withtotal) for psect "text48" in class "CODE" (largest unused contiguous range 0x17A)
:0: error: (1347) can't find 0x1D2 words (0x1d2 withtotal) for psect "text41" in class "CODE" (largest unused contiguous range 0x17A)
:0: error: (1347) can't find 0x1BC words (0x1bc withtotal) for psect "text37" in class "CODE" (largest unused contiguous range 0x17A)
:0: error: (1347) can't find 0x166 words (0x166 withtotal) for psect "text0" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x158 words (0x158 withtotal) for psect "text87" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x148 words (0x148 withtotal) for psect "text89" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x146 words (0x146 withtotal) for psect "text30" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x13E words (0x13e withtotal) for psect "text98" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x13A words (0x13a withtotal) for psect "text31" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x13A words (0x13a withtotal) for psect "text17" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x136 words (0x136 withtotal) for psect "cinit" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x134 words (0x134 withtotal) for psect "text59" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x130 words (0x130 withtotal) for psect "text99" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x11A words (0x11a withtotal) for psect "intcode_body" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x116 words (0x116 withtotal) for psect "text33" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x10A words (0x10a withtotal) for psect "text7" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x10A words (0x10a withtotal) for psect "text25" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x106 words (0x106 withtotal) for psect "text5" in class "CODE" (largest unused contiguous range 0x10)
:0: error: (1347) can't find 0x104 words (0x104 withtotal) for psect "text95" in class "CODE" (largest unused contiguous range 0x10)
:0: advisory: (1) too many errors (21)
nbproject/Makefile-default.mk:131: recipe for target 'dist/default/production/TestB.X.production.hex' failed
make[2]: Leaving directory 'C:/Users/HoyaYang/Desktop/Test_B/TestB.X'
nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/HoyaYang/Desktop/Test_B/TestB.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 12s)

發表於: 2021/1/26 17:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 編譯時的錯誤信息
#2
版主
版主


查看用戶資訊
現在幾乎沒有人使用 HI-TECH PICC18 的 C Compiler,請在 X IDE 的專案下改用 XC8 v2.31 的編譯器。

http://www.microchip.com.tw/RTC/RTC_DVD/
這裡可以下載。

發表於: 2021/1/28 16:21
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


謝謝版主,謝謝大家
#3
新會員
新會員


查看用戶資訊
謝謝版主.

發表於: 2021/1/29 9:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------