caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] "No bytecode specified"
Date: Tue, 3 Sep 2002 14:32:44 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.LNX.3.95.1020903142359.9857A-100000@first.in-berlin.de> (raw)
In-Reply-To: <Pine.LNX.3.95.1020825224800.13238A-100000@first.in-berlin.de>


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


  parent reply	other threads:[~2002-09-03 12:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-25 20:50 Oliver Bandel
2002-08-25 23:39 ` Stefano Zacchiroli
2002-08-26  7:32 ` malc
2002-08-26  8:38   ` Sven LUTHER
2002-08-26 10:00     ` Xavier Leroy
2002-08-26 12:53       ` Sven LUTHER
2002-08-26 11:03     ` malc
2002-08-26 12:32   ` Oliver Bandel
2002-08-26 12:36   ` Oliver Bandel
     [not found]   ` <Pine.LNX.3.95.1020826143546.418B-100000@first.in-berlin.de >
2002-08-27  1:52     ` Chris Hecker
2002-09-03 12:32 ` Oliver Bandel [this message]
2002-09-03 13:16   ` Xavier Leroy
2002-09-03 13:34     ` Oliver Bandel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.3.95.1020903142359.9857A-100000@first.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).