Re: flexdll error: cannot relocate RELOC_REL32

2020-03-06 Thread Cao Qinxiang
Dear Achim and Brian, Thank you very much for you suggestions. And as Achim guessed, I was trying to build a ocaml based library: Menhir. Currently, my problem is still not solved. If I try: --- echo /usr/lib/ocaml/stublibs/ > /var/lib/rebase/dynpath.d/ocaml --- and then rebase, I get

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-02 Thread Achim Gratz
Brian Inglis writes: > Try what's documented in /usr/share/doc/Cygwin/_autorebase.README for DLLs > under > non-standard system paths: …which by some extension means you shouldn't add system paths. > create a file /var/lib/rebase/dynpath.d/ocaml containing your .so directory > path > /usr/lib/

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-02 Thread Achim Gratz
Cao Qinxiang writes: > I use Cygwin-64 on windows and get a fork problem when I try to manually > install menhir package. > > > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by > 'dllunix.so' (0x40) is already occupied > /usr/bin/ocamldep.opt -modules

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-02 Thread Brian Inglis
On 2020-03-02 05:57, Cao Qinxiang wrote: > On Mon, Mar 2, 2020 at 3:58 PM Brian Inglis wrote: >> On 2020-03-01 11:35, Cao Qinxiang wrote: >>> I use Cygwin-64 on windows and get a fork problem when I try to manually >>> install menhir package.>> 0 [main] ocamlrun 1615 child_info_fork::abort: >>>

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-02 Thread Cao Qinxiang
Dear Brian, Thank you for you reply. But it does not solve my problem. When I run "rebase-trigger full", I get the following message: - Note: _autorebase will do a full rebase the next time setup is run. - If I check /var/cache/rebase/fullrebase at this time, it contains the follow infor

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-01 Thread Brian Inglis
On 2020-03-01 11:35, Cao Qinxiang wrote: > Dear Cygwin development team and Cygwin experts, > > I use Cygwin-64 on windows and get a fork problem when I try to manually > install menhir package. > > > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by > '

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-01 Thread Brian Inglis
On 2020-03-01 11:35, Cao Qinxiang wrote: > Dear Cygwin development team and Cygwin experts, > > I use Cygwin-64 on windows and get a fork problem when I try to manually > install menhir package. > > > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by > '