Open TooTallNate opened 13 years ago
what will be printed out if you run echo $NODE_PATH. It seemed that NODE_PATH is missing. Here on my box, " /var/mobile/node_modules" will be printed.
No I don't think it's related to node. For instance, a simple "hello world" example like below is failing for me (this is still happening even though I just did a fresh re-install of iOS):
#import <Foundation/Foundation.h>
int main() {
return 0;
}
and then trying to compile:
root# gcc -ObjC -framework Foundation -o test test.m
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h:8,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:15,
from test.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:282: error: format string argument follows the args to be formatted
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:284: error: format string argument follows the args to be formatted
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:25,
from test.m:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSException.h:62: error: format string argument follows the args to be formatted
If I remove the #import
statement, then it compiles, so there's something up with the header files. I just haven't figured out what exactly.
OK. have you upgraded your Mac OS X? Lion was just released. if you did that, the header files may be different
I have indeed upgraded to Lion, however I've been experiencing this since before, when I was on Snow Leopard. I was hoping upgrading to Lion and reinstalling to a fresh iPhone OS would do the trick, but sigh...
On Sun, Aug 7, 2011 at 11:32 PM, larryhe < reply@reply.github.com>wrote:
OK. have you upgraded your Mac OS X? Lion was just released. if you did that, the header files may be different
Reply to this email directly or view it on GitHub: https://github.com/TooTallNate/node-iOS/issues/14#issuecomment-1751932
Same issue on iOS 4.3.3 iPad 2 + Lion.
Same issue on armv6 4.2.1 iPod2,1 + Snow Leopard.
Same issue on iPod3,1 5.0 beta 4 and 5. + Lion. Obviously this is not a firmware issue. As it was stated before, it may be a headers issue. Do you remember when the last time you had it working? I don't think it's Lion since it was not working with my Snow Leopard headers either.
I just tried to clean configure and build on my iPad 2( 4.3.3) yesterday. It worked quite well. OK. Let me build it on Mac and see if it works. Will update you
What OS did you copy your header files from?
On Aug 8, 2011, at 11:30 PM, larryhe wrote:
I just tried to clean configure and build on my iPad 2( 4.3.3) yesterday. It worked quite well. OK. Let me build it on Mac and see if it works. Will update you
Reply to this email directly or view it on GitHub: https://github.com/TooTallNate/node-iOS/issues/14#issuecomment-1760693
@larryhe You also would have needed to copy over some private header files. Where did you get those from?
Snow leopard 10.6
do you have a yahoo or msn. i'd like to add you so that we can communite easily
I copied all those files from my Mac OS X 10.6
@innoying @larryhe A point update from Snow Leopard might have changed the header files then. What full version are you guys on? 10.6.x?
@larryhe Easiest place to chat with me is on #node.js on freenode IRC. I'm on there a lot.
10.6.7. OK.
I believe after poking around it has something to do with apples transition to clang...
That's definitely possible. But doesn't really explain how @larryhe's got it working...
On Mon, Aug 8, 2011 at 10:26 PM, innoying < reply@reply.github.com>wrote:
I believe after poking around it has something to do with apples transition to clang...
Reply to this email directly or view it on GitHub: https://github.com/TooTallNate/node-iOS/issues/14#issuecomment-1760900
What headers are you all using? I'm using headers from 3.0... are you all using 5.0?
Honestly I'm nervous to upgrade from leopard, let alone compile against iOS 5.
I sorta have a feeling that using older headers would do the trick, the problem is now I can't get my hand on them!
Here ya go: https://github.com/nst/iOS-Runtime-Headers
I can't figure out why this is happening, but it's been preventing me from making on progress on this module. Both my iPhone 4 and iPad 2 are on 4.3.3 and jailbroken with jailbreakme.com. When my iPhone was on 4.3.1 things worked as expected.
Here's the dump:
This is the first error, but googling it doesn't bring up anything useful:
Thinking about downgrading my iPhone, but I'd rather... not...
/cc @larryhe