Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

How to resolve this multiple definition problem?

Hi!

I make the kerenel only, it works good.

I make the ucd-snmp in user.

The follow is the errors it reports:

/usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/lib/crt0.o: In function '_start':

/usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/lib/crt0.o(.text+0x0): multiple definition of '_start'

/usr/local/arm_tools/arm-elf/lib/crt0.o(.text+0x0): first defined here

collect2: ld returned 1 exit status

in fact:

/usr/local/arm_tools/bin/../lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/lib/crt0.o(.text+0x0): multiple definition of '_start'

/usr/local/arm_tools/arm-elf/lib/crt0.o(.text+0x0): first defined here

,

it's just the same file crt0.o

Can you help me?

Thanks a lot!

Regards,

Alex.

3 Replies