bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld bug


From: Ted Michno
Subject: ld bug
Date: Mon, 06 Nov 2000 16:18:45 -0800

version 2.9

Win 95 C

Pentium Pro 266 MHz
gcc-2.9

\bse\gnutools\H-i586-cygwin32\bin\powerpc-eabi-gcc "-mcpu=860" -nostdinc
-fdata-sections -ffunction-sections -o domove_2.x
\bse\pkernel\lib\powerpc-eabi-crt0.o -I\bse\pkernel\include\ domove_2.c
fpga.c rbffile.o -L\bse\pkernel\lib -lutil -lnet -lkern -lc -lgcc
-T\bse\pkernel\lib\ipengine1.ld -nostdlib

Result:
C:\windows\temp\cc0010002.o: In function 'main':
C:\windows\temp\cc0010002.o(.text.main+0x0): multiple definition of
'main'
C:\windows\temp\cc0010002.o(.text.main+0x0): first defined here
/bse/gnutools/h-i586~1/bin/../lib/gcc-lib/powerpc-eabi/2.9-ecosSWtools-981021/..

/../../../powerpc-eabi/bin//ld: Warning: size of symbol 'main' changed
from 3888
to 836 in c:\windows\temp\cc0010002.o
\bse\pkernel\lib/libkern.a(traphand.o):  In function 'cpmtimer2vec':
/ddrive/bse/pkernel/src/libmach/ppc/traphand.c:192: undefined reference
to 'csScedule'
collect2: ld returned 1 exit status

The error seems to be in traphand .c.

Attachment: domove_2.c
Description: application/unknown-content-type-c_auto_file

Attachment: fpga.c
Description: application/unknown-content-type-c_auto_file

Attachment: rbffile.o
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]