This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

isinfo


Hi,

Why does the compilation of b.c fail, while that of a.c succeeds?

% gcc a.c
% gcc b.c
Undefined			first referenced
 symbol  			    in file
isinf                               /tmp/ccSOxuGb.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

Here is my enviroment:

% gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.9
Configured with: ../gcc/configure --disable-nls --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.0.2 20050707 (prerelease)

Attachment: a.c
Description: Binary data

Attachment: b.c
Description: Binary data

-- 
Hiroshi Fujishima

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]