标题:[Linker error] undefined reference to `prinf'的问题!
取消只看楼主
feeling4t
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-2-14
 问题点数:0 回复次数:0 
[Linker error] undefined reference to `prinf'的问题!

环境为dev-cpp


日志如下:

编译器: Default compiler
执行 gcc.exe...
gcc.exe "E:\C\ran.c" -o "E:\C\ran.exe" -I"D:\Dev-Cpp\include" -L"D:\Dev-Cpp\lib"
C:\DOCUME~1\administrator\LOCALS~1\Temp/ccy6baaa.o(.text+0x2c1):ran.c: undefined reference to `prinf'
C:\DOCUME~1\administrator\LOCALS~1\Temp/ccy6baaa.o(.text+0x2f9):ran.c: undefined reference to `prinf'
C:\DOCUME~1\administrator\LOCALS~1\Temp/ccy6baaa.o(.text+0x334):ran.c: undefined reference to `prinf'
C:\DOCUME~1\administrator\LOCALS~1\Temp/ccy6baaa.o(.text+0x422):ran.c: undefined reference to `prinf'
C:\DOCUME~1\administrator\LOCALS~1\Temp/ccy6baaa.o(.text+0x45a):ran.c: undefined reference to `prinf'
C:\DOCUME~1\administrator\LOCALS~1\Temp/ccy6baaa.o(.text+0x495):ran.c: more undefined references to `prinf' follow
collect2: ld returned 1 exit status

执行结束


怎么回事?

搜索更多相关主题的帖子: Linker reference prinf undefined 
2007-02-14 17:41



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-120967-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.371804 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved