#46668 - rcb80 - Tue Jun 28, 2005 10:25 pm
Code: |
$ make
arm-elf-g++ -g -mthumb-interwork -mno-fpu -specs=ds_arm7.specs arm7_main.o -L/c/devkitPro/libnds -lnds7 -oarm7.elf
c:\devkitPro\devkitARM\bin\..\lib\gcc\arm-elf\3.4.4\..\..\..\..\arm-elf\bin\ld.exe: cannot find -lnds7
collect2: ld returned 1 exit status
make: *** [arm7.elf] Error 1
|
I have the last devkitpro and the last libnds. And I think my environment variables are set correctly.
Why this error?
Thanks
#46672 - strager - Tue Jun 28, 2005 10:53 pm
Are you SURE you put your libnds in /c/debkitPro/libnds ? That might be the problem.
rcb80 wrote: |
Code: | -L/c/devkitPro/libnds |
|
#46673 - rcb80 - Tue Jun 28, 2005 11:16 pm
Yes, libnds is in devkitpro directory...
#46677 - doublec - Tue Jun 28, 2005 11:51 pm
Should that be:
-L/c/devkitPro/libnds/lib
ie. have '/lib' appended to it? That's where the libraries are stored, not in the libnds directory.
#46678 - rcb80 - Wed Jun 29, 2005 12:05 am
Thanks I got it now.
I changed the makefile and now it works ok.