public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with latest version of the ocaml package
@ 2013-06-09 14:20 Per Larsson
  2013-06-15  7:45 ` [Fix] " 0b1kn00b
  0 siblings, 1 reply; 5+ messages in thread
From: Per Larsson @ 2013-06-09 14:20 UTC (permalink / raw)
  To: cygwin

Hi,

The latest version of the ocaml  (4.00.1) package seems broken. It is the linking phase using the native code compiler that do not work. Example output:

ocamlopt -o mlok2hll-1 str.cmxa util.cmx error.cmx id.cmx mlok.cmx parse.cmx lex.cmx hll.cmx compile.cmx main.cmx

** Cannot resolve symbols for /usr/lib/ocaml/libasmrun.a(freelist.o):
___chkstk_ms
** Cannot resolve symbols for /usr/lib/ocaml/libasmrun.a(md5.o):
___chkstk_ms
** Cannot resolve symbols for /usr/lib/ocaml/libasmrun.a(sys.o):
___chkstk_ms
File "caml_startup", line 1:
Error: Error during linking


There is nothing special with the inputs above, I get the same error on all of my ocaml projects.

Per

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Fix] Problems with latest version of the ocaml package
  2013-06-09 14:20 Problems with latest version of the ocaml package Per Larsson
@ 2013-06-15  7:45 ` 0b1kn00b
  2013-06-17 11:26   ` Damien Doligez
  0 siblings, 1 reply; 5+ messages in thread
From: 0b1kn00b @ 2013-06-15  7:45 UTC (permalink / raw)
  To: cygwin

It's placing the library files in /lib but libdir is configured to /usr/lib,
although in the patch file in the source, there are /usr/lib prefixed files.



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Problems-with-latest-version-of-the-ocaml-package-tp99376p99625.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Fix] Problems with latest version of the ocaml package
  2013-06-15  7:45 ` [Fix] " 0b1kn00b
@ 2013-06-17 11:26   ` Damien Doligez
  2013-06-17 13:24     ` 0b1kn00b
  0 siblings, 1 reply; 5+ messages in thread
From: Damien Doligez @ 2013-06-17 11:26 UTC (permalink / raw)
  To: cygwin

Hello,

On 2013-06-15, at 09:45, 0b1kn00b wrote:

> It's placing the library files in /lib but libdir is configured to /usr/lib,
> although in the patch file in the source, there are /usr/lib prefixed files.

Are you sure? I re-checked the tar files and they have everything in
/usr/{bin,lib,share}. I don't see how setup could put them in /lib.

-- Damien


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Fix] Problems with latest version of the ocaml package
  2013-06-17 11:26   ` Damien Doligez
@ 2013-06-17 13:24     ` 0b1kn00b
  2013-07-13  9:46       ` towa
  0 siblings, 1 reply; 5+ messages in thread
From: 0b1kn00b @ 2013-06-17 13:24 UTC (permalink / raw)
  To: cygwin

I've really no experience with cygwin packages, I saw afterward that the
windows directory /lib is the cygwin directory /usr/lib and threw my toys
out the pram.

Something somewhere is busted and it gives errors of the same form as the
original post, beyond that, I really can't say atm.

regards,
Laurence

On Mon, Jun 17, 2013 at 1:27 PM, Damien Doligez [via Cygwin] <
ml-node+s1069669n99702h88@n5.nabble.com> wrote:

> Hello,
>
> On 2013-06-15, at 09:45, 0b1kn00b wrote:
>
> > It's placing the library files in /lib but libdir is configured to
> /usr/lib,
> > although in the patch file in the source, there are /usr/lib prefixed
> files.
>
> Are you sure? I re-checked the tar files and they have everything in
> /usr/{bin,lib,share}. I don't see how setup could put them in /lib.
>
> -- Damien
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cygwin.1069669.n5.nabble.com/Problems-with-latest-version-of-the-ocaml-package-tp99376p99702.html
>  To unsubscribe from Problems with latest version of the ocaml package, click
> here<http://cygwin.1069669.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=99376&code=cG9seXNlbWFudGljQGdtYWlsLmNvbXw5OTM3NnwyMTA5MTQxNzg1>
> .
> NAML<http://cygwin.1069669.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cygwin.1069669.n5.nabble.com/Problems-with-latest-version-of-the-ocaml-package-tp99376p99709.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Fix] Problems with latest version of the ocaml package
  2013-06-17 13:24     ` 0b1kn00b
@ 2013-07-13  9:46       ` towa
  0 siblings, 0 replies; 5+ messages in thread
From: towa @ 2013-07-13  9:46 UTC (permalink / raw)
  To: cygwin

I could fix this problem by installing gcc.  Please check if gcc is installed
on your system.



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Problems-with-latest-version-of-the-ocaml-package-tp99376p100755.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-13  7:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-09 14:20 Problems with latest version of the ocaml package Per Larsson
2013-06-15  7:45 ` [Fix] " 0b1kn00b
2013-06-17 11:26   ` Damien Doligez
2013-06-17 13:24     ` 0b1kn00b
2013-07-13  9:46       ` towa

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 read-only IMAP folder(s) and NNTP newsgroup(s).