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.

DS development > DevKitARM CVS problems

#53861 - headspin - Mon Sep 12, 2005 8:24 pm

I'm having problems compiling libnds, namely the libnds7.a and libnds9.a files.

I get the following error:

Quote:
c:/devkitPro/New2/libnds/source/arm9/console.c:59:27: error: sys/iosupport.h: No such file or directory


What is sys/iosupport.h and where can I get it?
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game

#53875 - Sebbo - Mon Sep 12, 2005 10:30 pm

i haven't done as much programming as many others in this forum have, but IMO it sounds like sys/iosupport.h is a header file your trying to call from your arm9 code, or that console.c is trying to call *shrugs* i had a quick look and i don't even have the source folder in lidnds
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm

#53903 - headspin - Tue Sep 13, 2005 5:56 am

Thats because the source for libnds is available as a separate download. Namely http://prdownloads.sourceforge.net/devkitpro/libnds-src-20050804.tar.bz2?download

That tarball has an old release of libnds but, the non-source version (libnds-20050804.tar.bz2) contains a directory called "lib" with the pre-compiled libnds7.a and libnds9.a libraries.

I'm trying to compile the CVS versions which don't contain pre-compiled versions of the libs. But I am getting the error as described in my first post.
_________________
Warhawk DS | Manic Miner: The Lost Levels | The Detective Game

#53905 - GPFerror - Tue Sep 13, 2005 6:05 am

according to WntrMute on #dsdev quoting badly from memory -
"stay out of cvs" :)

the latest cvs code requires a newer unreleased toolchain. so be patient :)

Troy

#53918 - xflash - Tue Sep 13, 2005 9:13 am

Yes I got the same problem during august.
Apparently wintermute is implementing a stdio replacement.
You should get the libnds-20050804 version
Otherwise your libnds shouldn't successfully compile.

xf

#54019 - wintermute - Wed Sep 14, 2005 5:51 pm

The best advice is probably for end users to stay out of CVS. The devkitPro toolchains are constantly evolving in various interesting ways which sometimes means new patches to the FSF sources, additional tools and bugfixes in existing tools.

There are stable releases for a reason, please use them. At some points CVS will reflect changes which require the entire toolchain to be rebuilt.