由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] Help! A simple C problem
相关主题
One question in C programming请教如何初始化这个C data structure Steque的object?
C array*** help needed! on MATLAB GUI ***
C程序编译出现问题[collect2: ld returned 1 exit status]求助,thxHow to tell gcc stop compiling.
make 时候遇到 undefined reference 怎么办?inheritence problem
[合集] LINUX下FORTRAN编程疑问A tech question (转载)
A C++ compiler related interview questionAn interesting C++ compile error
C 和 C++ 的区别谁来解释一下这个是compiler问题吗?
问个c++ 编译的问题关于Makefile的一个问题
相关话题的讨论汇总
话题: problem话题: simple话题: use话题: gcc话题: function
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
Viterbi (长岛扛霸的) 于 (Tue Sep 6 18:06:05 2005) 提到:
I'm using C under Linux for the first time. I found something strange. When I
try to use gcc to link (no problem for compile), it gives me the following
error message:
prime_para.o(.text+0xd0): In function `main':
collect2: ld returned 1 exit status
but if I use g++ instead, such problem disappeared.
Then I go on and use some other function, now both gcc and g++ fail, anybody
know why? Thanks a lot!
☆──
1 (共1页)
进入Programming版参与讨论
相关主题
关于Makefile的一个问题[合集] LINUX下FORTRAN编程疑问
这句话是为什么呢?A C++ compiler related interview question
spent a lot of time try to compile boostC 和 C++ 的区别
一个qt3在Windows上的问题问个c++ 编译的问题
One question in C programming请教如何初始化这个C data structure Steque的object?
C array*** help needed! on MATLAB GUI ***
C程序编译出现问题[collect2: ld returned 1 exit status]求助,thxHow to tell gcc stop compiling.
make 时候遇到 undefined reference 怎么办?inheritence problem
相关话题的讨论汇总
话题: problem话题: simple话题: use话题: gcc话题: function