Sorry, previous two letters from me seems to be broken
I found this: 
http://lists.freebsd.org/pipermail/freebsd-questions/2010-August/220250.html
Maybe the problem is with system headers, that are not 32bit aware on FreeBSD 
x64
I will try other ways.

Btw, what about x64 version of picoLisp on FreeBSD? Is this possible and how I 
can help with it?

Best regards, 
Mansur


Вторник,  1 января 2013, 9:19 +01:00 от Alexander Burger <a...@software-lab.de>:
> Hi Mansur,
> 
> > Happy New year to all!
> 
> A happy New Year to you, and to all readers! :)
> 
> 
> > but I get runtime errors:
> > [/root/.pil/history:1] File lock: Invalid argument
> 
> This must be the fcntl() call in lockFile() (in "src/io.c"). It gets
> passed the constant arguments F_SETLKW and F_RDLCK. What might be goes
> wrong here?
> 
> 
> > # ./pil app/main.l -main -go
> > DB write: Invalid argument
> > ...
> > -rw-r--r--  1 root  wheel  2885162388670120960 Jan  1 11:57 1     <------- 
> > Look at file size:
> 
> It seems that the runtime system can't handle 64-bit file offsets.
> 
> When a PicoLisp database is created, the first two blocks are written.
> In case of the demo application, the first DB file has a block size (see
> "app/er.l") of 512 bytes:
> 
>    (3 +Role +User +Sal)                         # 512 Prevalent objects
> 
> Thus, two blocks have a size of 1024 bytes, which is 0x400 in hex. If we
> look at the above file size
> 
>    : (hex 2885162388670120960)
>    -> "280A27E800000400"
> 
> we see that the upper 32 bits of the size contain garbage. This
> indicates that either 'off_t' isn't 64-bits wide, or the library can't
> handle 64-bit file offsets.
> 
> ♪♫ Alex
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
> 

Reply via email to