|
|
#1 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
hi. Pity on me. Cross compile request. Jnotify
Pebcak. Don't suppose some kind fool out there could cross compile these measly two files for me could they? Jni.h hates me. Target Kindle 3 (so java 1.4 blah de blah I guess if that matters) I would be mightily appreciative. (expected output is a shared.so) yours humbly. me.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#2 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
@twobob: Fix the path to your JVM rootdir in Release/subdir.mk (and, actually, fix every gcc call in the few makefiles included, they default to 'gcc', hardcoded).
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
I fixed up the gcc. I link the shortnames.
okay I will give the JVM rootdir thing a fix! perhaps that will fix it.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#4 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
Try this one
.
|
|
|
|
|
|
#5 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#6 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#7 |
|
offline
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,324
Karma: 4935411
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Cool stuff... can you please report back if it actually works to monitor directories under /mnt/us? (And maybe even on the Touch/Paperwhite?)
I intended to use jnotify for JBPatch, but miserably failed and gave up on it. I think it was because some kernel symbols weren't found, or so... or maybe because FAT32 isn't supported... Whatever, can't remember, but it'd be awesome if it could be used. |
|
|
|
|
|
#10 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
^ Insert swear words here.
Didn't even make it past the first hurdle. "Running" Will revist. (and then look at your two's solutions as they actually work)
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#11 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
unknown type name 'loff_t'
I got that far at long last... clues Monsieur Niluje?
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#12 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,255
Karma: 3921779
Join Date: Feb 2012
Device: K0
|
Quote:
Probably has to do with "large file support (64bit file addresses)" Might be missing from your include chain, perhaps optioned out by having "large file support" disabled somewhere.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan - -> JB on BD |
|
|
|
|
|
|
#13 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
gah. : ) Niluje came across this when he built it.
Sadly his skillage exceeds mine to the power "craploads" erm... maybe its a gcc flag? or maybe I need to check #include <sys/types.h> will go dig EDIT: Added types call in headers files and Code:
#elif defined (__arm__) #if !defined (__NR_inotify_init) # define __NR_inotify_init 316 #endif #if !defined (__NR_inotify_add_watch) # define __NR_inotify_add_watch 317 #endif #if !defined (__NR_inotify_rm_watch) # define __NR_inotify_rm_watch 318 #endif
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 12-12-2012 at 11:08 AM. |
|
|
|
|
|
#14 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,255
Karma: 3921779
Join Date: Feb 2012
Device: K0
|
That reads as if your toolchain is picking up the host's sys/types.h rather than the target's sys/types.h
(ARM and most risc are different in a few details) Someone asked on here recently if it made a difference which sys/types.h was used. Answer: (days late) YES, it does. gcc -E ... Will show you the full paths of the include files being picked up.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan - -> JB on BD |
|
|
|
|
|
#15 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
seems like I need to retroweave the released jar to test it in action.
me@dev /usr/local/src/retroweaver-2.0.7 $ java -cp "/usr/local/src/retroweaver-2.0.7/release/retroweaver-2.0.7.jar;/usr/local/src/retroweaver-2.0.7/lib/asm-3.1.jar;/usr/local/src/retroweaver-2.0.7/lib/asm-commons-3.1.jar" net.sourceforge.retroweaver.Weaver -jar ./jnotify-0.94.jar ./out.jar Quote:
/opt/jdk1.5.0_22/bin/java - same deal
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
![]() |
| Tags |
| fail, java, kindle 3, meh, x-compile |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Television Without Pity | xoxojackie | Recipes | 4 | 10-13-2012 12:28 PM |
| Cross Compile c code for K3 on Win 7 or XP | jmseight | Kindle Developer's Corner | 1 | 04-18-2012 12:33 AM |
| The Pity Karma for PilotBob thread | desertgrandma | Lounge | 82 | 10-14-2010 12:14 AM |
| Please have pity on an ignoramus (very long) | ziegl027 | Which one should I buy? | 17 | 10-12-2009 10:58 AM |
| iLiad Anyone able to compile liberregxml? | Adam B. | iRex Developer's Corner | 11 | 10-27-2008 07:08 PM |