gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Odd make output- 1st Compile

#87053 - j14rk1n - Sun Jun 11, 2006 7:09 pm

I'm fairly new to GBA development, and I'm trying out devkitARM after my experiments with devkitadv a few years ago. I'd like to work my way up to DS tests eventually, but I can't seem to get things compiled to GBA format at the moment. I've tried to compile my own code, as well as the example code included with the installation, but I keep getting strange output when I try to compile. Here's the mess of jargon I get:

bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
pcx_view.c
arm-eabi-gcc -MMD -MP -MF /c/devkitPro/examples/gba/graphics/PCXView/build/pcx_view.d -g -Wall -O0 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb-interwork -I/c/devkitPro/libgba/include -I/c/devkitPro/examples/gba/graphics/PCXView/build -c /c/devkitPro/examples/gba/graphics/PCXView/src/pcx_view.c -o pcx_view.o

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
make[1]: *** [pcx_view.o] Error 3
"make": *** [build] Error 2

Thanks in advance for the help!

#87273 - j14rk1n - Tue Jun 13, 2006 12:49 am

Ah! Can someone help, please! I'd appreciate it!

#87276 - wintermute - Tue Jun 13, 2006 1:27 am

The TMP variable in your environment is either missing or set to a directory which doesn't exist. Check your environment variables and add TMP if it's missing or fix the directory it points to.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#87393 - j14rk1n - Tue Jun 13, 2006 7:30 pm

Hmm... what directory should the TMP variable point to?

EDIT:
YES! It finally works. Thanks a lot, wintermute!