• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   2 Anonymous Users






Re: 程式無法編譯成功....
#2
版主
版主


查看用戶資訊
參照:
FUZZY-PID.o(.text+0x2b0): In function `_T2Interrupt':
C:\Documents and Settings\kasumi\My Documents\0804\FUZZY-PID.c:233: undefined reference to `uitoa'
Link step failed.


Linker 錯誤,它找不到 uitoa 的宣告,檢查一下 uitoa 的 prototype 的宣告。C30 因為有 PRINTF( ) 所以 uitoa 的轉換就不支援了。

發表於: 2008/8/7 10:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


程式無法編譯成功....
#1
資深會員
資深會員


查看用戶資訊
程式無法編譯成功....
不知道是那邊有問題??
煩請各位先進指導一下,謝謝

----------------------------------------------------------------------
Debug build of project `C:\Documents and Settings\kasumi\My Documents\0804\test.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Thu Aug 07 10:07:00 2008
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Documents and Settings\kasumi\My Documents\0804\FUZZY-PID.o".
Clean: Deleted file "C:\Documents and Settings\kasumi\My Documents\0804\test.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "FUZZY-PID.c" -o"FUZZY-PID.o" -D__DEBUG -g -Wall
FUZZY-PID.c: In function '_T1Interrupt':
FUZZY-PID.c:127: warning: PSV model not specified for '_T1Interrupt';
assuming 'auto_psv' this may affect latency
FUZZY-PID.c: In function '_T2Interrupt':
FUZZY-PID.c:250: warning: suggest parentheses around assignment used as truth value
FUZZY-PID.c:263: warning: suggest parentheses around assignment used as truth value
FUZZY-PID.c:299: warning: suggest parentheses around assignment used as truth value
FUZZY-PID.c:200: warning: PSV model not specified for '_T2Interrupt';
assuming 'auto_psv' this may affect latency
FUZZY-PID.c: In function '_PWMInterrupt':
FUZZY-PID.c:457: warning: PSV model not specified for '_PWMInterrupt';
assuming 'auto_psv' this may affect latency
FUZZY-PID.c: In function '_U1RXInterrupt':
FUZZY-PID.c:481: warning: suggest parentheses around assignment used as truth value
FUZZY-PID.c:485: warning: suggest parentheses around assignment used as truth value
FUZZY-PID.c:489: warning: suggest parentheses around assignment used as truth value
FUZZY-PID.c:467: warning: PSV model not specified for '_U1RXInterrupt';
assuming 'auto_psv' this may affect latency
FUZZY-PID.c: In function 'Show_ADC':
FUZZY-PID.c:749: warning: implicit declaration of function 'ConvertADC10'
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 "FUZZY-PID.o" "C:\Program Files\Microchip\MPLAB C30\lib\dsPIC30F\libp30F4011-coff.a" -o"test.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="..\..\..\..\Program Files\Microchip\MPLAB C30\support\dsPIC30F\gld\p30f4011.gld",--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,-Map="test.map",--report-mem


Program Memory Usage

section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.reset 0 0x4 0x6 (6)
.ivt 0x4 0x7c 0xba (186)
.aivt 0x84 0x7c 0xba (186)
.text 0x100 0x6c0 0xa20 (2592)
.text 0x7c0 0x2862 0x3c93 (15507)
.dinit 0x3022 0x4c 0x72 (114)
.isr 0x306e 0x2 0x3 (3)
__FOSC 0xf80000 0x2 0x3 (3)
__FWDT 0xf80002 0x2 0x3 (3)
__FBORPOR 0xf80004 0x2 0x3 (3)
__FGS 0xf8000a 0x2 0x3 (3)

Total program memory used (bytes): 0x48ae (18606) 37%


Data Memory Usage

section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x800 0 0xea (234)
.ndata 0x8ea 0 0x52 (82)
.nbss 0x93c 0 0x2 (2)

Total data memory used (bytes): 0x13e (318) 15%


Dynamic Memory Usage

region address maximum length (dec)
------ ------- ---------------------
heap 0 0 (0)
stack 0x93e 0x6c2 (1730)

Maximum dynamic memory (bytes): 0x6c2 (1730)

FUZZY-PID.o(.text+0x2b0): In function `_T2Interrupt':
C:\Documents and Settings\kasumi\My Documents\0804\FUZZY-PID.c:233: undefined reference to `uitoa'
Link step failed.
----------------------------------------------------------------------
Debug build of project `C:\Documents and Settings\kasumi\My Documents\0804\test.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Thu Aug 07 10:07:04 2008
----------------------------------------------------------------------
BUILD FAILED

發表於: 2008/8/7 10:10
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... ]

教育訓練中心

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