程式無法編譯成功....
|
||||
---|---|---|---|---|
資深會員
|
程式無法編譯成功....
不知道是那邊有問題?? 煩請各位先進指導一下,謝謝 ---------------------------------------------------------------------- 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
|
|||
|