这个在eclipse debug 快捷键运行中出现的,一直不懂,求个大神解解决下。

dos7.1 不支持debug吗?我输入debug,显示不支持此命令,如何才能解决呢?大神求帮助_百度知道共有 51 人关注过本帖
标题:用DEV编写的一个c程序运行却总是出现Makefile.win的文件 搞不懂 求大神解
等 级:新手上路
结帖率:100%
&&已结贴√
&&问题点数:20&&回复次数:2&&&
用DEV编写的一个c程序运行却总是出现Makefile.win的文件 搞不懂 求大神解
- makefile处理器: D:\Program Files (x86)\Dev-Cpp\MinGW64\bin\mingw32-make.exe
- 命令: mingw32-make.exe -f &G:\作业\Dev工程\Makefile.win& all
gcc.exe -c main.c -o main.o -I&D:/Program Files (x86)/Dev-Cpp/MinGW64/include& -I&D:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include& -I&D:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include&
gcc.exe main.o -o 项目1.exe -L&D:/Program Files (x86)/Dev-Cpp/MinGW64/lib& -L&D:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib& -static-libgcc
main.o:main.c:(.text+0x26): undefined reference to `por'
collect2.exe: error: ld returned 1 exit status
G:\作业\Dev工程\Makefile.win:25: recipe for target '项目1.exe' failed
mingw32-make.exe: *** [项目1.exe] Error 1
编译结果...
- 编译时间: 0.66s
附件: 您没有浏览附件的权限,请
搜索更多相关主题的帖子:
&&&&&&&&&&
等 级:黑侠
帖 子:176
专家分:509
&&得分:20&
编译器的提示很清楚了啊,在main.c文件中,函数&por&没有定义!!!
~~~~~~我的明天我知道~~~。
等 级:新手上路
回复 2楼 xufan
谢谢&&找到原因了
版权所有,并保留所有权利。
Powered by , Processed in 0.023731 second(s), 8 queries.
Copyright&, BCCN.NET, All Rights Reserved跪求大神解决一下小弟在debug时产生的这个问题!折磨我一上午了_java吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:527,083贴子:
跪求大神解决一下小弟在debug时产生的这个问题!折磨我一上午了收藏
问题如图所示,不debug只运行的话一点问题没有,但是只要一debug就产生这个问题,跪求大神解决。小弟初学者!
java,就业薪资高,发展前景好,零基础入学,120天入门到精通.线上线下学习任你选,先就业后付款,学员尊享-名企入职通道.先就业后付款!
问题如图所示,不debug只运行的话一点问题没有,但是只要一debug就产生这个问题,跪求大神解决。小弟初学者!
没有一个懂怎么解决这个问题的吗?
你这个不是代码出问题,可能是你导入了什么包,调试时找不到这段代码,你要把它导入到调试中,我说的不专业,意思是找不到你要调试的那段代码,
可以把代码贴上来看看
找不到资源文件是你项目没弄进去,用的是默认的。。
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或后使用快捷导航没有帐号?
查看: 1390|回复: 0
STM8s使用STVD编译时出现的奇葩问题,哪位大神解答一下
在线时间18 小时
TA的帖子TA的资源
一粒金砂(中级), 积分 10, 距离下一级还需 190 积分
一粒金砂(中级), 积分 10, 距离下一级还需 190 积分
问题如标题所述,问题出现在stm8_interrupt_vector.c中,将相同的代码与变量移到main.c中则没有问题。太奇怪了!
出现的错误提示如下:
#error clnk Debug\123.lkf:1 symbol c_idiv not defined (Debug\stm8_interrupt_vector.o )
#error clnk Debug\123.lkf:1 symbol c_sdivx not defined (Debug\stm8_interrupt_vector.o )
The command: &clnk -m Debug\123.map -l&D:\Program Files\Cosmic\Lib&&&-o Debug\123.sm8 Debug\123.lkf & has failed, the returned value is: 1
exit code=1.
错误提示貌似和除法命令有关,所以我就把代码中的除法换成了加法,结果居然编译通过!好奇怪。本人初学者。
stm8_interrupt_vector.c文件中的代码如下:
#include &stm8s903k3.h&
unsigned char rx_buffer[21];//接收缓存
unsigned char RSSI_//RSSI寄存器中的值
signed int RSSI_dBm&&= 0;//接收信号的强度
signed int RSSI_sum = 0; //3次的RSSI_dBm和
signed int RSSI_//3次的RSSI_dBm的平均值
signed int RSSI_buffer[3];//最近三次的RSSI_dBm值
typedef void
(*interrupt_handler_t)(void);
struct interrupt_vector {
& && &&&unsigned char interrupt_
& && &&&interrupt_handler_t interrupt_
void NonHandledInterrupt (void)
& && &&&/* in order to detect unexpected events during development,
& && && &&&it is recommended to set a breakpoint on the following instruction
& && &&&*/
extern void _stext();& &&&/* startup routine */
extern @far @interrupt void EXTI2_Interrupt(void);
struct interrupt_vector const _vectab[] = {
& && &&&{0x82, (interrupt_handler_t)_stext}, /* reset */
& && &&&{0x82, NonHandledInterrupt}, /* trap&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq0&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq1&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq2&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq3&&*/
& && &&&{0x82, EXTI2_Interrupt}, /* irq4&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq5&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq6&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq7&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq8&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq9&&*/
& && &&&{0x82, NonHandledInterrupt}, /* irq10 */
& && &&&{0x82, NonHandledInterrupt}, /* irq11 */
& && &&&{0x82, NonHandledInterrupt}, /* irq12 */
& && &&&{0x82, NonHandledInterrupt}, /* irq13 */
& && &&&{0x82, NonHandledInterrupt}, /* irq14 */
& && &&&{0x82, NonHandledInterrupt}, /* irq15 */
& && &&&{0x82, NonHandledInterrupt}, /* irq16 */
& && &&&{0x82, NonHandledInterrupt}, /* irq17 */
& && &&&{0x82, NonHandledInterrupt}, /* irq18 */
& && &&&{0x82, NonHandledInterrupt}, /* irq19 */
& && &&&{0x82, NonHandledInterrupt}, /* irq20 */
& && &&&{0x82, NonHandledInterrupt}, /* irq21 */
& && &&&{0x82, NonHandledInterrupt}, /* irq22 */
& && &&&{0x82, NonHandledInterrupt}, /* irq23 */
& && &&&{0x82, NonHandledInterrupt}, /* irq24 */
& && &&&{0x82, NonHandledInterrupt}, /* irq25 */
& && &&&{0x82, NonHandledInterrupt}, /* irq26 */
& && &&&{0x82, NonHandledInterrupt}, /* irq27 */
& && &&&{0x82, NonHandledInterrupt}, /* irq28 */
& && &&&{0x82, NonHandledInterrupt}, /* irq29 */
extern @far @interrupt void EXTI2_Interrupt(void)
& && &&&unsigned char i,j,k;
& && &&&_asm(&sim&);
& && &&&RSSI_ave = rx_buffer[19];
& && &&&if(RSSI_value&=128)& &//AGC控制
& && && && && & RSSI_dBm =( RSSI_value-256)/2-72;
& && &&&else
& && && && && & RSSI_dBm = RSSI_value/2-72;
& && &&&for(i=0;i&2;i++)
& && && && && & RSSI_buffer = RSSI_buffer[i+1];
& && &&&RSSI_buffer[2] = RSSI_dBm;
& && && && && && && && && && && && && &
& && &&&k = 0;
& && &&&RSSI_sum = 0;
& && &&&for(j=0;j&3;j++)
& && && && && & if(RSSI_buffer[j])
& && && && && & {
& && && && && && && && &RSSI_sum += RSSI_buffer[j] ;
& && && && && && && && &k++;
& && && && && & }
& && &&&RSSI_ave = RSSI_sum/k;
& && &&&_asm(&rim&);
&&&&&&&&&&
Powered by
逛了这许久,何不进去瞧瞧?java学习笔记(13)
Javaweb学习笔记(2)
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building cmis 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] &&& maven-jetty-plugin:6.1.22:run (default-cli) @ cmis &&&
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cmis ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 22 resources
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cmis ---
[INFO] Nothing to compile - all classes are up to date
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cmis ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ cmis ---
[INFO] Nothing to compile - all classes are up to date
[INFO] &&& maven-jetty-plugin:6.1.22:run (default-cli) @ cmis &&&
[INFO] --- maven-jetty-plugin:6.1.22:run (default-cli) @ cmis ---
[INFO] Configuring Jetty for project: cmis
[INFO] Webapp source directory = C:\workSpace\LABSys3.0\src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = C:\workSpace\LABSys3.0\target\classes
[INFO] Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] Context path = /
[INFO] Tmp directory =
determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =
[INFO] web.xml file = C:\workSpace\LABSys3.0\src\main\webapp\WEB-INF\web.xml
[INFO] Webapp directory = C:\workSpace\LABSys3.0\src\main\webapp
[INFO] Starting jetty 6.1.22 ...
[INFO] jetty-6.1.22
[INFO] No Transaction manager found - if your webapp requires one, please configure one.
[INFO] Initializing Spring root WebApplicationContext
INFO ContextLoader:285 - Root WebApplicationContext: initialization started
INFO XmlWebApplicationContext:513 - Refreshing Root WebApplicationContext: startup date [Tue Mar 15 17:22:12 CST 2016]; root of context hierarchy
INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [context.xml]
INFO XmlBeanDefinitionReader:316 - Loading XML bean definitions from class path resource [hibernate.xml]
INFO PropertySourcesPlaceholderConfigurer:172 - Loading properties file from class path resource [jdbc.properties]
INFO AutowiredAnnotationBeanPostProcessor:141 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
INFO MLog:80 - MLog clients using log4j logging.
INFO C3P0Registry:204 - Initializing c3p0-0.9.1.2 [built 21-May-:56; debug? trace: 10]
INFO Version:37 - Hibernate Commons Annotations 3.2.0.Final
INFO Environment:603 - Hibernate 3.6.9.Final
INFO Environment:636 - hibernate.properties not found
INFO Environment:814 - Bytecode provider name : javassist
INFO Environment:695 - using JDK 1.4 java.sql.Timestamp handling
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.auth.model.Function
INFO EntityBinder:530 - Bind pc.base.auth.model.Function on table auth_function
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.auth.model.FunctionFilter
INFO EntityBinder:530 - Bind pc.base.auth.model.FunctionFilter on table auth_functionFilter
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.auth.model.Role
INFO EntityBinder:530 - Bind pc.base.auth.model.Role on table auth_role
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.auth.model.RoleFunction
INFO EntityBinder:530 - Bind pc.base.auth.model.RoleFunction on table auth_roleFunction
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.auth.model.UserRole
INFO EntityBinder:530 - Bind pc.base.auth.model.UserRole on table auth_userRole
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.dict.model.Dict
INFO EntityBinder:530 - Bind pc.base.dict.model.Dict on table base_dict
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.file.model.SysFile
INFO EntityBinder:530 - Bind pc.base.file.model.SysFile on table base_file
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.org.model.Org
INFO EntityBinder:530 - Bind pc.base.org.model.Org on table base_org
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.position.model.OrgPosition
INFO EntityBinder:530 - Bind pc.base.position.model.OrgPosition on table BASE_ORG_POSITION
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.position.model.Position
INFO EntityBinder:530 - Bind pc.base.position.model.Position on table BASE_POSITION
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.position.model.UserPosition
INFO EntityBinder:530 - Bind pc.base.position.model.UserPosition on table USER_POSITION
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.Merchant
INFO EntityBinder:530 - Bind pc.base.user.model.Merchant on table USER_Merchant
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.Resident
INFO EntityBinder:530 - Bind pc.base.user.model.Resident on table USER_RESIDENT
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.UserHome
INFO EntityBinder:530 - Bind pc.base.user.model.UserHome on table USER_HOME
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.UserImage
INFO EntityBinder:530 - Bind pc.base.user.model.UserImage on table user_image
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.UserInfo
INFO EntityBinder:530 - Bind pc.base.user.model.UserInfo on table USER_INFO
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.UserOnLine
INFO EntityBinder:530 - Bind pc.base.user.model.UserOnLine on table USER_ONLINE
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.base.user.model.UserSetting
INFO EntityBinder:530 - Bind pc.base.user.model.UserSetting on table USER_SETTING
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.munityAdvice
INFO EntityBinder:530 - Bind pc.munityAdvice on table Community_Advice
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.munityNotice
INFO EntityBinder:530 - Bind pc.munityNotice on table Community_Notice
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.AcademicMetting
INFO EntityBinder:530 - Bind pc.dailymgt.model.AcademicMetting on table daily_academicMetting
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.BigEvent
INFO EntityBinder:530 - Bind pc.dailymgt.model.BigEvent on table daily_bigevent
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.InnerMeeting
INFO EntityBinder:530 - Bind pc.dailymgt.model.InnerMeeting on table daily_innermetting
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.Internation
INFO EntityBinder:530 - Bind pc.dailymgt.model.Internation on table daily_intermetting
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.InviteReport
INFO EntityBinder:530 - Bind pc.dailymgt.model.InviteReport on table daily_invitereport
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.LabAdjustReport
INFO EntityBinder:530 - Bind pc.dailymgt.model.LabAdjustReport on table daily_labadjust
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.OtherDocument
INFO EntityBinder:530 - Bind pc.dailymgt.model.OtherDocument on table dailymgt_otherDocument
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.Visit
INFO EntityBinder:530 - Bind pc.dailymgt.model.Visit on table daily_manageVisit
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.dailymgt.model.WorkSummary
INFO EntityBinder:530 - Bind pc.dailymgt.model.WorkSummary on table dailymgt_workSummary
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.demo.model.JIANG
INFO EntityBinder:530 - Bind pc.demo.model.JIANG on table demo_jiang
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.demo.model.Song
INFO EntityBinder:530 - Bind pc.demo.model.Song on table demo_song
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.demo.model.WYING
INFO EntityBinder:530 - Bind pc.demo.model.WYING on table demo_wying
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.demo.model.ZHL
INFO EntityBinder:530 - Bind pc.demo.model.ZHL on table zhl_jiang
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.framework.query.model.QueryConfig
INFO EntityBinder:530 - Bind pc.framework.query.model.QueryConfig on table query_config
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.labinit.model.SampReportTemplate
INFO EntityBinder:530 - Bind pc.labinit.model.SampReportTemplate on table samp_reportTemplate
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.labinit.model.SampTestItem
INFO EntityBinder:530 - Bind pc.labinit.model.SampTestItem on table samp_testItem
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.labinit.model.SampTestStandard
INFO EntityBinder:530 - Bind pc.labinit.model.SampTestStandard on table samp_testStandard
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.message.model.Message
INFO EntityBinder:530 - Bind pc.message.model.Message on table sys_message
INFO AnnotationBinder:532 - Binding entity from annotated class: pc.message.model.Receiver
INFO EntityBinder:530 - Bind pc.message.model.Receiver on table sys_message_receiver
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1896次
排名:千里之外
原创:14篇
(1)(1)(2)(9)(3)(3)}

我要回帖

更多关于 debug error怎么解决 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信