Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] "No bytecode specified"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] "No bytecode specified"

On Sun, 25 Aug 2002, Oliver Bandel wrote:

> Hello,
> 
> What does this message (see subject)
> mean?
[...]

OK, no answers, that has helped,
so I now come with more details:

(An older linux-distribution, where I anted to install it.)

$ ocamlmktop unix.cma -o toplevel
$ ./toplevel
$ No bytecode file specified.
$ strace ./toplevel 2> ERR.toplevel

And here it comes:

################ ERR.toplevel (strace output) ################ 
############################################################## 
execve("./toplevel", ["./toplevel"], [/* 52 vars */]) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40006000
mprotect(0x40000000, 17824, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x8048000, 94725, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=3866, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
mmap(0, 3866, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000
close(3)                                = 0
open("/lib/libm.so.5.0.5", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 32768, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40008000
mmap(0x40008000, 23588, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40008000
mmap(0x4000e000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x4000e000
close(3)                                = 0
open("/lib/libdl.so.1.7.14", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40010000
mmap(0x40010000, 4183, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40010000
mmap(0x40012000, 360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40012000
close(3)                                = 0
mprotect(0x40010000, 4183, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libncurses.so.3.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 249856, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
mmap(0x40013000, 192214, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40013000
mmap(0x40042000, 38192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2e000) = 0x40042000
mmap(0x4004c000, 12844, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4004c000
close(3)                                = 0
mprotect(0x40013000, 192214, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
open("/lib/libc.so.5.2.18", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 708608, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40050000
mmap(0x40050000, 479678, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40050000
mmap(0x400c6000, 18776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x75000) = 0x400c6000
mmap(0x400cb000, 203456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400cb000
close(3)                                = 0
munmap(0x40007000, 3866)                = 0
mprotect(0x8048000, 94725, PROT_READ|PROT_EXEC) = 0
mprotect(0x40010000, 4183, PROT_READ|PROT_EXEC) = 0
mprotect(0x40013000, 192214, PROT_READ|PROT_EXEC) = 0
mprotect(0x40000000, 17824, PROT_READ|PROT_EXEC) = 0
personality(PER_LINUX)                  = 0
readlink("/proc/self/exe", "[0303]:2916", 1024) = 11
brk(0x80663b4)                          = 0x80663b4
brk(0x8067000)                          = 0x8067000
brk(0x8068000)                          = 0x8068000
brk(0x8069000)                          = 0x8069000
brk(0x806a000)                          = 0x806a000
brk(0x806b000)                          = 0x806b000
stat("/usr/local/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
stat("/usr/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
stat("/bin/[0303]:2916", 0xbffff24c)    = -1 ENOENT (No such file or directory)
stat(ptrace: umoven: I/O error
0x806afc0, 0xbffff24c)             = -1 ENOENT (No such file or directory)
stat("/usr/openwin/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
stat("/home/oliver/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
brk(0x806c000)                          = 0x806c000
stat("./[0303]:2916", 0xbffff24c)       = -1 ENOENT (No such file or directory)
stat("/usr/local/teTeX/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
stat("/usr/local/lout/bin/[0303]:2916", 0xbffff24c) = -1 ENOENT (No such file or directory)
open(ptrace: umoven: I/O error
0x806bff0, O_RDONLY)               = -1 ENOENT (No such file or directory)
write(2, "No bytecode file specified.\n", 28No bytecode file specified.
) = 28
_exit(2)                                = ?
############################################################## 


Ciao,
   Oliver

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners