Syntax error at each compile
Posted: Wed Jan 05, 2011 7:03 pm
Hello, I recently followed the tutorial here: http://devkitpro.org/wiki/Getting_Started/devkitARM to install devkitARM on my Ubuntu Netbook 10.10 netbook, and followed it to the letter. Once it was set up, I went to test some of the examples, and so opened the directory in terminal, chose hello_world, and typed "make", it doesn't compile, and gives me this:
I get this error with all the examples I try too, e.g.
Now chances are I'm doing it wrong, I haven't done anything like this since my PSP died, so could somebody please shed some light on my problem? Thanks
Code: Select all
fuyuri@fuyuri-1001HA:/opt/devkitpro/examples/nds/hello_world$ make
main.cpp
arm-eabi-g++ -MMD -MP -MF /opt/devkitpro/examples/nds/hello_world/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/opt/devkitpro/examples/nds/hello_world/include -I/opt/devkitpro/examples/nds/hello_world/build -I/opt/devkitpro/libnds/include -I/opt/devkitpro/libnds/include -I/opt/devkitpro/examples/nds/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /opt/devkitpro/examples/nds/hello_world/source/main.cpp -o main.o
/opt/devkitpro/devkitARM/bin/arm-eabi-g++: 1: Syntax error: "(" unexpected
make[1]: *** [main.o] Error 2
make: *** [build] Error 2
fuyuri@fuyuri-1001HA:/opt/devkitpro/examples/nds/hello_world$
Code: Select all
fuyuri@fuyuri-1001HA:/opt/devkitpro/examples/nds/audio$ make
make[1]: Entering directory `/opt/devkitpro/examples/nds/audio/maxmod'
make[2]: Entering directory `/opt/devkitpro/examples/nds/audio/maxmod/audio_modes'
/opt/devkitpro/devkitARM/bin/mmutil: 1:
@8@@@B�
B�
: not found
/opt/devkitpro/devkitARM/bin/mmutil: 1: ELF: not found
/opt/devkitpro/devkitARM/bin/mmutil: 1: ����?H��1�I��^H��H���PTI��AH��0AH�ǰ+@�����H�H��+H��t��H�Ð������������UH��SH��=�+u_�H�kH�: not found
/opt/devkitpro/devkitARM/bin/mmutil: 2: �+H-8�kH��H�X�H9�s%�H�BH���+��8�kH���+H9�r��P6GH��t: not found
/opt/devkitpro/devkitARM/bin/mmutil: 3: Syntax error: ")" unexpected
make[3]: *** [soundbank.bin] Error 2
make[2]: *** [build] Error 2
make[2]: Leaving directory `/opt/devkitpro/examples/nds/audio/maxmod/audio_modes'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/opt/devkitpro/examples/nds/audio/maxmod'
make: *** [all] Error 1
fuyuri@fuyuri-1001HA:/opt/devkitpro/examples/nds/audio$