PIC Vietnam

PIC Vietnam (http://www.picvietnam.com/forum/index.php)
-   Lỗi lập trình ngôn ngữ cấp cao (http://www.picvietnam.com/forum/forumdisplay.php?f=65)
-   -   Lỗi khi compile source code PIC webserver bằng HTPICC18 (http://www.picvietnam.com/forum/showthread.php?t=13339)

tieuthienho 21-02-2012 09:57 PM

Lỗi khi compile source code PIC webserver bằng HTPICC18
 
Mình mới mua bộ kit phát triển Ethernet EP1 của công ty hlab. Nhưng khi mình compile code demo của bộ kit sang file hex bằng HTPICC18 v9.65 và MPLAB v8.73 thì không build được. Output như sau:

---------------------------
Build E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\hlab_ep1_firmware for device 18F4680
Using driver C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe
Make: The target "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MainDemo.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe" --pass1 "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MainDemo.c" -q --chip=18F4680 -P --runtime=default --opt=default -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [111] C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\include\stdlib.h; 8.50 redefining preprocessor macro "offsetof"
Error [267] E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\string.h; 806.26 bad storage class
Make: The target "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MPFSimg.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe" --pass1 "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MPFSimg.c" -q --chip=18F4680 -P --runtime=default --opt=default -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error [267] E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\stdlib.h; 140.23 bad storage class

********** Build failed! **********

Xin nhờ các cao thủ giúp đỡ vì mình chưa biết nhiều về HTPIC.

tieuthienho 21-02-2012 10:15 PM

1 Attachment(s)
Source code:


Múi giờ GMT. Hiện tại là 01:39 PM.

Tên diễn đàn: vBulletin Version 3.8.11
Được sáng lập bởi Đoàn Hiệp.
Copyright © PIC Vietnam