未定义参考 [英] undefined reference

查看:145
本文介绍了未定义参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我刚刚升级到GCC 3.2并尝试了一个基本的C程序。它说我有未定义的错误。我知道我有正确的头文件,代码来自参考手册。代码以前工作过。任何帮助表示赞赏。


================================= =

海报的IP地址:65.238.53.13

发表于 http://nodevice.com

Linux程序员网站


I just upgraded to GCC 3.2 and tried a basic C program. It said I had undefined errors. I know I had the correct header files, the code was taken from a reference manual. The code had worked before. Any help is appreciated.

==================================
Poster''s IP address: 65.238.53.13
Posted via http://nodevice.com
Linux Programmer''s Site

推荐答案

65.238 .53.13 [phil8401]写道:
65.238.53.13 [phil8401] writes:
我刚刚升级到GCC 3.2并尝试了一个基本的C程序。它说
我有未定义的错误。我知道我有正确的头文件,
代码来自参考手册。之前的代码已经工作了。感谢任何帮助。
I just upgraded to GCC 3.2 and tried a basic C program. It said
I had undefined errors. I know I had the correct header files,
the code was taken from a reference manual. The code had worked
before. Any help is appreciated.




请在涵盖GCC的新闻组中询问有关GCC的问题。

这里我们仅讨论标准C编程语言。

-

如果它没有给出新的含义,那就不是新的C标准了静态这个词。"

- C99上的彼得·塞巴赫



Please ask questions about GCC in a newsgroup that covers GCC.
Here we discuss the standard C programming language only.
--
"It wouldn''t be a new C standard if it didn''t give a
new meaning to the word `static''."
--Peter Seebach on C99


这篇关于未定义参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆