isinfo

hiroshi.fujishima@gmail.com hiroshi.fujishima@gmail.com
Sun Jul 10 11:00:00 GMT 2005


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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.c
Type: application/octet-stream
Size: 63 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050710/eaeefa19/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b.c
Type: application/octet-stream
Size: 238 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050710/eaeefa19/attachment-0001.obj>
-------------- next part --------------

-- 
Hiroshi Fujishima


More information about the Gcc-help mailing list