Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prims.o missing in libcamlrun.a #2931

Closed
vicuna opened this issue Jul 13, 2004 · 3 comments
Closed

prims.o missing in libcamlrun.a #2931

vicuna opened this issue Jul 13, 2004 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 13, 2004

Original bug ID: 2931
Reporter: administrator
Status: closed (set by @xavierleroy on 2006-06-17T08:59:40Z)
Resolution: unable to duplicate
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Christoph Bauer
Version: 3.08-CVS
OS: Window/MinGW
Submission from: 212.43.68.201 (212.43.68.201)

I'm not quite sure about this. I got a link error on building lablgtk2 with
ocaml 308. Some symbols from prims.c are missed. So
I changed in byterun/Makefile.nt the line

SOBJS=$(COMMONOBJS:.o=.$(SO)) main.$(SO)
to
SOBJS=$(COMMONOBJS:.o=.$(SO)) main.$(SO) prims.$(SO)

which seems to solve my problem

@vicuna
Copy link
Author

vicuna commented Aug 6, 2004

Comment author: administrator

Full_Name: Christoph Bauer
Version: 3.08-CVS
OS: Window/MinGW
Submission from: 212.43.68.201 (212.43.68.201)

I'm not quite sure about this. I got a link error on building lablgtk2 with
ocaml 308. Some symbols from prims.c are missed. So
I changed in byterun/Makefile.nt the line

SOBJS=$(COMMONOBJS:.o=.$(SO)) main.$(SO)
to
SOBJS=$(COMMONOBJS:.o=.$(SO)) main.$(SO) prims.$(SO)

which seems to solve my problem

I would need more context as to where the linking error occurs during
the lablgtk2 build.

The intended usage for libcamlrun.a is through ocamlc -custom and
ocamlc -output-obj, both of which generate a "prims.o" file
specialized for the application and therefore do not need the default
"prims.o" from byterun/.

Maybe Jacques has a clearer idea of what's going on.

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Aug 6, 2004

Comment author: administrator

Need more context.

@vicuna
Copy link
Author

vicuna commented Jun 17, 2006

Comment author: @xavierleroy

Not enough info, I'm closing this PR.

@vicuna vicuna closed this as completed Jun 17, 2006
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant