This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Loading native shared-libraries dynamically....


HI again!

I found this interesting lines, but I dont know waht they mean:

> open("29/lib-bte.so", O_RDONLY) = -1 ENOENT (No such file or directory)
> open("lib-bte.so", O_RDONLY) = 6
O.K. this seems to be a found lib-bte.so (I compiled the lib with "gcj bte.java -shared -o lib-bte.so --Classpath..."


But the following lines show, that theres some not working:

open("lib-bte.so", O_RDONLY) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\17\0\000"..., 1024) = 1024
fstat64(6, {st_mode=S_IFREG|0755, st_size=13222, ...}) = 0
getcwd("/home/clemi/Kompilieren/swt/first", 128) = 34
mmap2(NULL, 10604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40a68000
mprotect(0x40a6a000, 2412, PROT_NONE) = 0
mmap2(0x40a6a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x1) = 0x40a6a000
close(6) = 0
mprotect(0x40a68000, 8192, PROT_READ|PROT_WRITE) = 0
munmap(0x40a68000, 10604) = 0
open("./lib-bte.so", O_RDONLY) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\17\0\000"..., 1024) = 1024
fstat64(6, {st_mode=S_IFREG|0755, st_size=13222, ...}) = 0
getcwd("/home/clemi/Kompilieren/swt/first", 128) = 34
mmap2(NULL, 10604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40a68000
mprotect(0x40a6a000, 2412, PROT_NONE) = 0
mmap2(0x40a6a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x1) = 0x40a6a000
close(6) = 0
mprotect(0x40a68000, 8192, PROT_READ|PROT_WRITE) = 0
munmap(0x40a68000, 10604) = 0
open("./lib-bte.so", O_RDONLY) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\17\0\000"..., 1024) = 1024
fstat64(6, {st_mode=S_IFREG|0755, st_size=13222, ...}) = 0
getcwd("/home/clemi/Kompilieren/swt/first", 128) = 34
mmap2(NULL, 10604, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40a68000
mprotect(0x40a6a000, 2412, PROT_NONE) = 0
mmap2(0x40a6a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x1) = 0x40a6a000
close(6) = 0
mprotect(0x40a68000, 8192, PROT_READ|PROT_WRITE) = 0
munmap(0x40a68000, 10604) = 0
open("/lib/lib-bte.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/lib-bte.so", O_RDONLY) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\16\0\000"..., 1024) = 1024
fstat64(6, {st_mode=S_IFREG|0755, st_size=12782, ...}) = 0
mmap2(NULL, 10264, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40a68000
mprotect(0x40a6a000, 2072, PROT_NONE) = 0
mmap2(0x40a6a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x1) = 0x40a6a000
close(6) = 0
mprotect(0x40a68000, 8192, PROT_READ|PROT_WRITE) = 0
munmap(0x40a68000, 10264) = 0
open("./bte.class", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "Class not foundn\n", 22Class not found
) = 22

This write-message is the failure to teh console ;-(
I dont know, whats wrong. But thanks for the tip for this utility, its great!

How can i fund money to the gcj-project?
I´m now only 17, so I dont have much, but I think this as s gehste.....

Mfg Linuxhippy
______________________________________________________________________________
Keine Chance fur Viren! Mit WEB.DE FreeMail sind Sie auf der
sicheren Seite - Virenschutz inklusive! http://freemail.web.de/features/?mc=021129


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]