arm-elf-ld: undefined reference to 'xxx'

2009-01-19 Thread Prez Ahn
Hi everyone, I met an error when I'd like to execute arm-elf-ld. [condition] 1. main() is in main.o 2. func1() is in obj1.o 3. func2() is in obj2.o 4. main() refer to func2() 5. func2() refer to func1() The following command occurs an error(undefined refer

Re: arm-elf-ld: undefined reference to 'xxx'

2009-01-19 Thread Alexandre Pereira Nunes
> [cut] ... > But if I exchange the place of obj1.o with obj2.o, then the command is > successful without any error. > > I want to solve without exchanging objs. (Bcs, I have too many objs.) > If arm-elf-ld has an option related to this problem, it will be possible. > > Is there the way to solve it