What steps will reproduce the problem?
1. export DEVKITARM=/path/to/devkitarm
2. make BUILDFORNDS=1
What is the expected output? What do you see instead?
Should compile :-) Actually fails trying to #include <sys/ioctl.h> in
source/console.cpp. For some reason, dswifi has messed up these headers. It
has the ioctl functions, but they aren't in sys/ioctl.h :-/
What version of the product are you using? On what operating system?
0.7.1, Linux, devkitArm r23
Please provide any additional information below.
Fix is easy:
Index: source/console.cpp
===================================================================
--- source/console.cpp (revision 779)
+++ source/console.cpp (working copy)
@@ -14,7 +14,9 @@
#include <crisscross/console.h>
#ifndef TARGET_OS_WINDOWS
-# include <sys/ioctl.h>
+# ifndef TARGET_OS_NDSFIRMWARE
+# include <sys/ioctl.h>
+# endif
# include <sys/wait.h>
# include <fcntl.h>
# include <signal.h>
Original issue reported on code.google.com by richard.quirk on 8 Sep 2008 at 9:27
Original issue reported on code.google.com by
richard.quirk
on 8 Sep 2008 at 9:27