Issue 31 in crisscross: [PATCH] Build with BUILDFORNDS=1 fails

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 8, 2008, 5:27:50 PM9/8/08
to crisscr...@googlegroups.com
Issue 31: [PATCH] Build with BUILDFORNDS=1 fails
http://code.google.com/p/crisscross/issues/detail?id=31

New issue report by richard.quirk:
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>

Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Sep 8, 2008, 5:31:52 PM9/8/08
to crisscr...@googlegroups.com
Issue 31: [PATCH] Build with BUILDFORNDS=1 fails
http://code.google.com/p/crisscross/issues/detail?id=31

Comment #1 by steven.noonan:
The change is in SVN now. :)


Issue attribute updates:
Status: Fixed

Reply all
Reply to author
Forward
0 new messages