00:04:41 -!- cmeme has quit ("Client terminated by server"). 00:04:47 -!- cmeme has joined. 00:11:22 -!- lament has quit (Broken pipe). 00:19:18 -!- pgimeno has quit ("This is the default quit message"). 00:19:18 -!- pgimeno_ has joined. 00:19:41 -!- lament has joined. 00:26:24 -!- Sgeper has joined. 00:29:53 -!- ihope has joined. 00:30:39 hi ihope 00:30:51 Hello 00:32:13 Some combinators: ``^ab -> `ba; ```*abc -> `b`ac; ````+abcd -> ``bc``acd 00:40:59 heh, I should learn that kind of crazy functional programming one of those days 00:41:41 Those all perform their respective operations on Church numerals. 00:42:13 As well, they are the reverse application function, the composition function, and the substituted composition function. 01:01:14 Meh. Tried to make jogl work with gcj (it should be possible now, since there's libjawt included), but can't get past http://gehennom.org/~fis/jogl.txt 01:04:43 I'm blaming lindi. Normally I'd have been content enough with Sun's evil proprietary JDK. 01:05:34 -!- lament has changed nick to pau. 01:10:27 ihope: I see 01:17:12 -!- iano has joined. 01:19:06 _Whoa._ Jogl with SWT apparently even seems to work with gcj, provided I give it enough magic. 01:19:44 gcj --classpath ../jogl.jar:./swt.jar -findirect-dispatch -o jtest --main=jtest jtest.java ; export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/i386:.:../jogl-natives ; export CLASSPATH=../jogl.jar:./swt.jar ; ./jtest works. 01:23:01 what's jogl? 01:23:10 OpenGL bindings for Java. 01:23:19 aha 01:23:27 what are you making? 01:23:56 I guess it's not esoteric related... 01:24:46 Not really, no. Our computer graphics course assignments were made with jogl, and I got curious whether it would work with gcj. (And incidentally I have an opengl application to write, and was going to use C++ for it, but compiled Java might suffice. If only it wouldn't be this horrible to write.) 01:25:22 why gcj? 01:25:34 It's GNU. :p 01:25:41 ah, yes 01:25:42 Lindi uses gcj, afaik. :p 01:26:09 Sun's java is much faster than gcj in my experience 01:27:26 But it's an evil soulless corporation. Completely unlike the warm-and-fuzzy-feelings GNU. 01:27:45 hehe 01:28:17 And gcj should be relatively fast, when all the classes are compiled to native code. I understand much of it's slowness is because it needs, for one reason or another, bytecode-interpret things. 01:28:45 Oh well, maybe I'll stick with C++, or plain C. 01:36:09 Well, I decided to make a design for SLOBOL. Programs will be in the form of SHA-1 hashes. 01:36:42 SLOBOL? is that one of the lesser known ones? 01:40:03 Make that SHA-512 hashes. 01:51:29 -!- pgimeno_ has quit (brown.freenode.net irc.freenode.net). 01:51:29 -!- MadBrain2 has quit (brown.freenode.net irc.freenode.net). 01:51:42 -!- pgimeno_ has joined. 01:53:48 -!- iano has quit. 01:56:00 -!- lirthy has quit (Read error: 104 (Connection reset by peer)). 02:01:46 is that the one that it's supposed to take a long time to compile programs ? 02:02:26 * calamari wonders if SHA-512 existed in 1982 02:04:25 err 1984 I guess 02:04:42 actually it was 1982.. okay 02:05:25 my guess: no sha512 in 1982... 02:06:30 * calamari suggests that SLOBOL not include SHA-512 then :) 02:14:14 -!- lirthy has joined. 02:41:19 -!- ihope has quit (Read error: 110 (Connection timed out)). 02:56:58 -!- GregorR has changed nick to GregorR[notHome]. 03:53:19 calamari: hey 03:53:40 ftr, it appears that there is no universal decider. 03:54:12 if by "decider" you mean "a machine which computes only primitive recursive functions" 03:54:20 http://www.math.psu.edu/~clemens/Math459/computability.pdf 03:54:31 gives a proof that there is no universal primitive recursive function 03:55:16 on the other hand... you can take any universal turing machine, and IF you only feed it turing machines that are guaranteed to halt on its input... then (trivially) the UTM will always halt :) 04:00:08 hi Chris 04:01:44 yeah, I incorrectly used the term "universal decider" when I really meant "machine that always halts" 04:01:44 so basically what I was after was a language capable of describing every language that always halts 04:02:01 hi 04:02:03 well 04:02:14 i don't think that can be done 04:02:34 or rather 04:02:53 that language must also be capable of describing languages that don't halt 04:03:03 why is that? 04:03:24 or is it in the pdf? :) 04:03:29 diagonalization 04:03:31 basically 04:03:57 look at it this way: 04:04:10 so to make the lang powerful enough for deciders, it will also need to understand tm's ? 04:04:27 what do you want your machine (/language) to do, if it is given a machine (/language) that doesn't halt, on its input? 04:04:47 that shouldn't be possible 04:04:55 well, how do you plan to stop it? 04:05:08 the syntax of the language would prevent writing programs that wouldn't halt 04:05:25 but there are some programs that won't halt that are undescribable in that language 04:05:46 really? how odd 04:06:00 can you give an example? 04:06:10 oh wait 04:06:12 I misread 04:06:47 I don't wish to run programs that won't halt, I only wish to allow programs that do 04:07:08 so it would not be as powerful as a tm 04:07:48 I thought we decided that PL-{GOTO} was the lnguage I was looking for 04:08:09 -!- kipple has quit (Read error: 110 (Connection timed out)). 04:08:30 and that it boiled down to a language consisting of if-else statements 04:08:37 ok, how to explain this... PL-{GOTO} describes primitive recursive functions; all primitive recursive functions are guaranteed to halt; but not all functions that are guaranteed to halt are primitive recursive 04:08:57 ok 04:09:42 there are some general-recursive functions which could be proven to halt, but which can't be written in PL-{GOTO} 04:10:08 ugh.. that's bad 04:10:19 basically... you can't write a PL-{GOTO} interpreter in PL-{GOTO}. even though the PL-{GOTO} interpreter will always halt. 04:10:33 oh that's okay 04:10:44 I would write the PL-{GOTO} interpreter in a TM language 04:11:34 it doesn't really matter to me what the interpreter is written in 04:11:47 sure. it's not as bad as it sounds; there are lots of interesting prim-rec functions; factorial, for example 04:13:10 let me make sure I understand what you're saying.. are you saying that the language PL-{GOTO} isn't capable of describing all possible deciders? 04:13:57 no, it is capable of that. what it's not capable of is describing a decider which simulates some other decider (like a UTM simulates some other TM.) 04:14:06 * Sgeper sees why... PL-{GOTO}, if it wants to be able to always halt, cannot be turing-complete 04:14:08 s/some/any/ 04:14:09 oh.. okay, no problem then 04:14:16 * Sgeper thinks 04:14:28 PL-{GOTO} is exactly what I was looking for then :) 04:14:32 ok 04:14:35 scared me for a minute hehe 04:15:09 and if I understand correctly, PL-{GOTO} can be implemented with if-else 04:15:26 i was thinking along different lines, a bit. consider: if you want to make a UTM which will only simulate TM's that halt... it has to prove that they halt first, which of course runs smack up against the halting problem 04:15:53 oops I said that wrong 04:15:54 PL-{GOTO} is more than if-else. it contains loops. but the loops are guaranteed to halt 04:16:17 right, so I can unroll the loops 04:17:07 then I'd have a programming language where there was only if-else statements.. or are the loops not unrollable? 04:18:31 "When a LOOP statement is encountered, the value of the LOOP variable specifies the # of times that the group of statements inside the LOOP is to be executed" 04:18:43 the variable doesn't need to be constant 04:18:44 so, no 04:18:48 i don't think you can unroll that. 04:19:07 nice 04:19:15 But LOOP variable's value can't be changed inside the loop? 04:19:23 I guess it assumes that the loop var won't change 04:19:28 Sgep hehehe 04:19:39 Sgeper: looks like it can't 04:20:03 if it can't, then that should mean we could work backwards and discover the value of the loop variable? 04:20:29 if you say: LOOP X ; X <- X + 1 ; END then the loop occurs only the # of times as X originally contained 04:26:56 in other news, i've been trying to read this book: 04:26:58 http://www.amazon.com/gp/product/0387982817/103-0339561-1100666 04:27:17 you can feel the hurting 04:30:29 * calamari guesses that mandelbrot is not discussed anywhere inside the text 04:30:47 oops, it is 04:31:04 wee things that halt 04:31:07 -!- pau has changed nick to lament. 04:31:09 yay.. a non-meaningless graphic used for a book cover 04:31:11 and things that don't 04:31:40 everything that's fun doesn't halt :( 04:32:55 I guess that means you're no fun :( 04:33:57 :( 04:34:13 what is this PL-{goto} you keep talking abouT? 04:35:15 it is a language that Brainerd, et all made up 04:35:24 in a computation theory book 04:35:50 then it subtracts the GOTO statement 04:36:24 wonder when that book will get here... hehe 04:36:42 I looked at it in the school library for a few mins 04:38:10 ah. 04:42:15 -!- Sgep has quit (Success). 04:42:16 -!- Sgeper has quit (Read error: 104 (Connection reset by peer)). 04:44:33 hi lament 04:44:45 PL-{GOTO} actually looks trivial to implement 04:45:42 the GOTO is the most complicated part of PL, by the looks of it 04:46:00 * lament distrusts languages that halt 04:46:40 it's not fun when everything can be optimized to a single instruction :) 04:47:12 i trust them to halt :> unless you give them an infinite amount of input or something pathological like that 04:49:08 i guess one could have fun writing an interpreter for brainfuck-with-limited-running-time in it, or something like that. 04:49:19 Time bomb brainfuck. 04:49:59 (if that can be done at all...) 04:50:57 they should have a complementary langugage with programs guaranteed to not halt. 04:51:29 Solving the halting problem in a neat new way. 04:52:15 lament: something like adding [-]+[] to the end of bf programs? :) 04:53:17 that could work, although i'm sure there're more interesting ways to do this. 04:53:33 For example a language in which the only statement is GOTO. 04:53:43 I'll call it GOTO-{PL} 04:53:55 :P 04:54:08 ah hrm 04:54:21 * calamari tests his Linguine interpreter 04:55:04 * lament meditates on the profound differences between "1. goto 1" and "1. goto 2; 2. goto 1" 04:57:25 Program ::= Instruction [Program] 04:57:25 Instruction ::= (Loop | Assignment) ";" 04:57:25 Loop ::= "LOOP" Name ";" Program "END" 04:57:25 Assignment ::= Name "<-" ("0" | Name ["+" "1"]) 04:57:25 Name ::= <> 04:57:48 that's my renditiion of an EBNF grammar for PL-{GOTO}. 04:58:07 if it didn't have a hundred other things to do, i'd be tempted to implement it 04:58:11 that seems horribly impotent 04:58:45 that's certainly a colourful way to say "not turing complete" :) 04:59:07 well, there's not turing complete and there's not turing complete :) 04:59:23 computers aren't turing-complete but they can still do a lot of stuff. 04:59:36 this thing though... 05:00:07 it almost reminds me of that guy's brainfuck variant ages ago on the mailing list. 05:00:15 that had no loops. 05:00:18 this thing can multiply arbitrarily large integers together... fsa's can't do that. 05:01:02 but can you write a web server in it?? I don't think so!! 05:02:00 is there a name for this class of abilities? 05:02:16 primitive recursive functions? 05:02:49 yep, primitive recursive functions. 05:03:08 awesome. 05:03:49 which godel originally thought represented all computable functions. until ackermann gave a counterexample, which is today slightly famous 05:04:02 right. 05:21:30 1[0=72,0$,0+29,0$,0+7,0$,0$,0+3,0$,1=32,1$,0-24,0$,0+24,0$,0+3,0$,0-6,0$,0-8,0$,1+1,1$,1-23,1$]0 05:21:50 is that too easy? :) 05:43:14 calamari: what on earth is that? 05:50:59 Hello World in Linguine 05:52:14 I made Linguine after implementing BF in Spaghetti and noticing some things that were annoying, but not really esoteric either 05:53:10 so now there are infinite pointers, infinite memory cells, and each cell can hold any integer value 05:53:23 much easier to work with 05:53:43 rather than silly pointer building 05:57:29 also adds negative cell values and line numbers just for fun 05:57:49 err negative cell indices 06:00:00 ah, cool 06:04:26 infinite pointers? 06:04:38 cpressey: do you think i should skip tomorrow's lecture? :) 06:05:30 lament: infinite number of them, vs Spaghetti only having a single pointer 06:05:39 ah 06:07:12 perhaps unlimited is a better term 06:07:56 yes. I thought you'd have actual infinite pointers somehow. 06:08:20 whatever _that_ would mean. 06:10:26 not very much since infinity isn't a number 06:11:29 hehe -1[-2--3]-4 06:12:41 translation: -1: mem[-2] -= -3; goto -4; 06:14:40 my infinities are numbers :) 06:25:07 lament: that's up to you, i suppose :) 06:26:27 we're gonna start objects i think :( 06:26:29 objects suck :( 06:31:19 ah, but we also have course evaluations tomorrow, so if you skip, you won't get the chance to affect steve's funding in the future! 06:31:52 bah 06:31:56 i already had a course with steve 06:32:07 so i wrote he's the best prof ever and too bad he teaches CS and not math :) 06:32:42 that should be enough i think :) 06:45:00 -!- Arrogant has joined. 07:01:21 -!- lirthy has quit (Remote closed the connection). 07:09:23 -!- lirthy has joined. 07:28:36 -!- calamari has quit ("Leaving"). 07:43:21 -!- nooga has joined. 07:43:35 hi 07:47:48 hehe 07:48:10 my bfi for MIDP1.0 crashes even emulator :F 07:52:35 im the best 07:58:26 -!- Arrogant has quit ("Leaving"). 07:59:12 -!- jix has joined. 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:01:50 ji jix 08:02:38 ji? 08:02:39 moin nooga 08:02:44 hi* 08:02:51 08:47 < nooga> my bfi for MIDP1.0 crashes even emulator :F 08:02:51 08:52 < nooga> im the best 08:03:00 haha^^ 08:03:16 midlet programming is cool 08:03:19 i like it 08:03:29 with netBeans (sic) 08:12:25 java isnt so bad under linux 09:09:15 -!- nooga has quit ("Lost terminal"). 10:28:41 -!- pgimeno_ has changed nick to pgimeno. 10:29:03 -!- J|x has joined. 10:36:38 -!- CXI has quit (Read error: 110 (Connection timed out)). 10:39:31 -!- jix has quit (Read error: 110 (Connection timed out)). 11:26:05 fizzie: jogl seems to compile on debian unstable quite easily, http://iki.fi/lindi/build-jogl.txt 11:34:13 -!- J|x has changed nick to jix. 12:09:40 lindi; This is debian unstable, and it just didn't compile (tm) here. 12:10:37 I might retry it to see where it failed. 12:10:41 fizzie: those four symlinks need to be fixed at least 12:10:52 i already reported it as a bug 12:11:08 fizzie: try taking exactly the same steps that i took 12:11:34 Later tonight, perhaps. 12:12:07 Although with gcj probably a CNI-based opengl binding thing (instead of the JNI jogl uses) might make more sense. 12:12:49 Have you tried to run anything with the jogl library you compiled? 12:13:11 this vncserver does not provide GLX extension so nope :/ 12:14:00 Well, I guess I'll try to compile it. 12:14:14 shouldn't take that long "Total time: 22 minutes 4 seconds 12:15:00 I wonder what's with the "needs LD_LIBRARY_PATH=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/i386 to find libjawt" thing, too. 12:24:32 fizzie: https://jogl-demos.dev.java.net/source/browse/jogl-demos/ does not seem to respond so I can't get the source for those demos 12:24:58 BUILD FAILED 12:24:58 /home/fis/prog/java/jogl/make/build.xml:1221: The following error occurred while executing this line: 12:25:01 /home/fis/prog/java/jogl/make/build.xml:506: GlueGen returned: 1 12:25:01 Same as last time. 12:25:04 Total time: 4 minutes 59 seconds 12:25:37 interesting 12:25:49 Seems I missed a symlink. 12:26:21 fizzie: https://jogl-demos.dev.java.net/servlets/ProjectSource says that i need to login to see cvs instructions 12:26:56 Or mispointed, actually. 12:27:27 /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/include/linux/jawt_md.h now points to ../../../gcc/[blah], which is missing one '..'. 12:27:35 hope they'll fix those symlinks soon 12:28:45 oh, indeed. i wrote down those instructions AFTER i had built it :) 12:29:24 BUILD FAILED 12:29:24 /home/fis/prog/java/jogl/make/build.xml:1221: The following error occurred while executing this line: 12:29:28 /home/fis/prog/java/jogl/make/build.xml:635: Compile failed; see the compiler error output for details. 12:29:37 [javac] 565 problems (373 errors, 192 warnings) 12:30:30 can you put the full build log online? i used screen's "^a H" to capture it 12:30:44 Am capturing it now. 12:31:32 fizzie: also, that ant build.xml is seriously broken. if the build fails once you have no way to retry easily :) 12:32:06 fizzie: it sets some variables in build targets. if it considers those build targets done the variables are never set and the build fails later because of that 12:32:35 http://gehennom.org/~fis/jogl-ant.txt (and jtest.java in the same directory is a really minimal test executable, which fails with sigsegv here when used with pre-built jogl.jar) 12:32:39 (alternatively i'm missing something very important) 12:33:48 fizzie: rm -fr and unzip the source again and retry ;) 12:35:19 "Ergh." 12:35:37 Heh, from Gluegen.java: 12:35:38 * You acknowledge that this software is not designed or intended for use 12:35:38 * in the design, construction, operation or maintenance of any nuclear 12:35:38 * facility. 12:35:43 or fix the build.xml 12:36:31 Already rm'd and restarted. This time under ^a-H from the start. 12:43:15 A simple set of opengl bindings shouldn't really take this long to compile. :p 12:43:57 [javac] 344 problems (344 warnings) 12:43:58 Yay. 12:44:02 hmm, awt/swing is broken in gcj, gij and kaffe in debian unstable at the moment 12:44:37 BUILD SUCCESSFUL 12:44:37 Total time: 8 minutes 27 seconds 12:45:05 congrats :) 12:46:07 I'm guessing I'll get the same sigsegv-from-JAWT_GetAWT with this jogl, too. 12:46:45 see above, awt is broken in unstable :/ it works with jamvm and sablevm but i don't know if those can work with jogl 12:47:29 both jamvm and sablevm cause java.lang.UnsatisfiedLinkError: Native library `jawt' not found (as file `libjawt') in gnu.classpath.boot.library.path and java.library.path 12:47:35 Well, SWT (>= 3.2M1 or M2) has an opengl canvas that's usable with jogl, managed to get a black screen with it. 12:47:53 yes, swt works as eclipse uses it :) 12:48:08 But the swt in unstable is 3.1 still. 12:48:16 but try any awt hello world and see it fail with gcj, gij or kaffe 12:49:03 I guess I should get to work now, at least there I'd get paid for having to deal with things that don't work. 12:50:13 Although my Tomcat installation has (knocking-on-a-wooden-surface) miraculously fixed itself, apparently when I upgraded 5.5.9 -> 5.5.12. 12:50:52 It runs on Sun JDK/JRE there. :p 12:51:02 Away now. 12:51:03 i have glx on this 200MHz pentium system but gij seems to take a while to start... 12:52:50 fizzie: ok, i get a window with title "jogl/awt test..." with some random piexls in it 12:54:08 fizzie: i just did export LD_LIBRARY_PATH=/home/lindi/local/jogl/build/obj/; java -cp /home/lindi/local/jogl/build/jogl.jar:. jtest 12:58:04 Wow. I wonder why I don't. 12:58:34 What's that "java" there? 13:03:12 /usr/lib/jvm/java-gcj/bin/java 13:05:22 http://fitzsim.org/blog/ seems to mention jogl working too 13:06:59 let's see if i can retrieve source of jogl-demos with http://iki.fi/lindi/cvsweb-dump.pl 13:08:07 hmm, that's not quite secure .P 14:05:51 But didn't you mention a broken awt? 14:06:07 fizzie: i did, that that's why i'm bit puzzled here 14:06:55 fizzie: swing hello world fails with "** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)" 14:07:01 With your invocation, I get: 14:07:02 Exception in thread "main" java.lang.UnsatisfiedLinkError: libjawt: libjawt.so: cannot open shared object file: No such file or directory 14:07:51 And if I add /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/i386 to LD_LIBRARY_PATH, I.. 14:07:55 Hmm. 14:08:15 I used to get that SIGSEGV I mentioned. 14:08:51 With this gcj-compiled jogl, it doesn't segfault. I might even have a window on my screen now - am not at home, so can't check. 14:09:59 I'd like a native-code-compiled jogl, though. 14:10:47 it's just that gcc is always bit old when it comes to gnu classpath. it's easier to test things with interpreters like jamvm because they can use gnu classpath cvs head directly 14:10:54 i just found netlogo.. pretty cool program 14:12:00 fizzie: also note that /usr/lib/jvm/java-gcj/bin/javac points to ecj 14:15:45 fizzie: i get that UnsatisfiedLinkError if i try to run jtest with jamvm instead of 'java' which is gij 14:16:55 My 'java' is gij too, and I still get it. 14:17:13 Although I'm not sure what I compiled my jtest with, that .class might be old. 14:17:33 note that 'java' needs to be '/usr/lib/jvm/java-gcj/bin/java' which sets some LD_LIBRARY_PATH magic and calls gij 14:19:03 That's what my "java" is, but apparently the problem was the .class was compiled with sun-jdk-javac. 14:19:16 Since my 'javac' symlink wasn't auto-managed by debian. 14:20:00 Or maybe it wasn't the problem - I still have that manually corrected LD_LIBRARY_PATH exported. 14:20:03 jix: netlogo seems non-free :/ 14:20:38 fizzie: my javac points to /usr/bin/jikes-sablevm 14:21:07 lindi-: i have much non-free software on my computer 14:21:27 I get the UnsatisfiedLinkError with /usr/lib/jvm/java-gcj/bin/javac -cp jogl/build/jogl.jar:. jtest.java ; /usr/lib/jvm/java-gcj/bin/java -cp jogl/build/jogl.jar:. jtest unless I manually include /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/i386 to LD_LIBRARY_PATH. 14:21:33 (Horribly long directories.) 14:21:41 jix: i don't 14:22:00 big parts of my system are non-free 14:22:20 jix: i find that uncool :) 14:22:37 fizzie: try jikes-sablevm just in case 14:22:42 i like free-software but i have no problems with not-free software 14:22:51 lindi; Just did. UnsatisfiedLinkError. 14:22:57 hrm 14:23:25 fizzie: i'll put full strace output online so you can figure out where our setups differ 14:26:06 fizzie: http://iki.fi/lindi/javac_jtest.strace 14:27:56 Heh, that's a lot of open() attempts when the gcj classloader attempts load com.sun.opengl.impl.GLContextImpl. It tries to find lib-com-sun-opengl-impl-GlContextImpl.la, .so, lib-com-sun-opengl-impl.{la,so}, lib-com-sun-opengl.{la,so}, lib-com-sun.{la,so}, lib-com.{la,so}, and all these in a dozen directories. 14:30:39 indeed :) 14:34:53 I don't see much differences in the javac straces. 14:35:14 -!- kipple has joined. 14:35:23 I assume your "java" is smarter than mine and knows where to locate libjawt when run, but I'm not sure why's that. 14:35:27 fizzie: apart from the fact that one fails and the other one doesn't? ;) 14:35:40 Oh, I'm able to compile it just fine. 14:36:14 i thought you got UnsatisfiedLinkError with javac too 14:37:01 Maybe I should've been more clear. I get the error on runtime, but not depending what I've compiled it with (tested jikes, ecj, sun-javac). 14:37:47 oh 14:37:53 i'll provide runtime strace too then 14:39:22 but only to the point where it says that i don't have GLX 14:39:39 since it takes forever to run on the pentium system that has GLX 14:40:16 fizzie: try to compare to http://iki.fi/lindi/java_jtest.strace 14:41:48 I get the same UnsatisfiedLinkError when I "gcj -I jogl/build/jogl.jar -o jtest -lgij -findirect-dispatch jtest.java ; ./jtest -cp jogl/build/jogl.jar jtest", but it possibly-works when I manually set LD_LIBRARY_PATH=the-long-path-to-jawt. 14:44:48 fizzie: ok, i'll try to compile it to native then. usually i don't bother to try since gcj is simply much less flexible than the interpreters at the moment 14:45:58 Well, one thing I easily notice is that "/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/lib/i386/" is missing from the open()/access() attempts to locate libs on my system. 14:47:40 hmm 14:51:40 I think gcj is supposed to set it automagically. There's some talk in http://gcc.gnu.org/ml/java-patches/2005-q3/msg00285.html 14:52:15 gcj or gij? 14:52:43 since those straces only use 'jikes' and 'gij', not gcj 14:53:08 "libgcj", it says there. 14:53:24 Here's about jawt: http://gcc.gnu.org/ml/java-patches/2005-q3/msg00295.html 14:54:41 Maybe I should try with 1.0.41-2 of java-gcj-compat instead of 1.0.30-4 I have installed. 14:54:53 (This testing/unstable hybrid is probably worse than unstable. :p) 14:55:10 oh, that's probably it :) 14:55:29 this is completely unstable and has 1.0.41-2 14:57:31 Right, now it works, at least jikes-compiled and with /usr/lib/jvm/java-gcj/bin/java. The gcj-native-compiled (-lgij -findirect-dispatch blahblah) doesn't, but might after recompilation. 14:57:57 Heh, interesting, it doesn't. 14:59:18 As a summary: 14:59:24 fis@colin:~/prog/java$ gcj -I jogl/build/jogl.jar -o jtest -lgij -findirect-dispatch jtest.java 14:59:28 fis@colin:~/prog/java$ ./jtest -cp jogl/build/jogl.jar jtest 14:59:30 Exception in thread "main" java.lang.UnsatisfiedLinkError: libjawt: libjawt.so: cannot open shared object file: No such file or directory 14:59:34 ... 14:59:34 fis@colin:~/prog/java$ jikes-sablevm -cp jogl/build/jogl.jar jtest.java 14:59:35 fis@colin:~/prog/java$ /usr/lib/jvm/java-gcj/bin/java -cp jogl/build/jogl.jar:. jtest 14:59:37 libGL warning: 3D driver claims to not support visual 0x23 14:59:45 (That last warning is perfectly normal.) 15:00:05 ok 15:00:39 Well, I don't think I'll use Java for my opengl application after all, anyway. :p 15:01:17 heh 15:57:26 -!- cmeme has quit (Read error: 104 (Connection reset by peer)). 15:58:21 -!- cmeme has joined. 15:58:48 -!- cmeme has quit (Remote closed the connection). 15:59:23 -!- cmeme has joined. 16:07:52 -!- puzzlet has joined. 16:30:01 -!- Sgep has joined. 16:48:02 -!- puzzlet has quit (Remote closed the connection). 16:51:25 -!- puzzlet has joined. 19:40:41 Bye all; disconnecting for Thanksgiving 19:50:58 haha 19:58:35 -!- Sgep has quit (Connection timed out). 22:08:24 -!- GregorR-L has joined. 22:24:57 OMG HAPPY THXGVNG KTHXBYE 23:16:49 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 23:58:30 -!- GregorR-L has quit ("Turkey > Strange philosophical conversations").