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

camllight under Debian/Mandrake #8112

Closed
vicuna opened this issue Apr 16, 2003 · 1 comment
Closed

camllight under Debian/Mandrake #8112

vicuna opened this issue Apr 16, 2003 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Apr 16, 2003

Original bug ID: 1646
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for Caml light use https://github.com/camllight/camllight/issues

Bug description

Full_Name: Geert Vernaeve
Version: 0.75
OS: Mandrake, Debian
Submission from: ncgent02.telenet-ops.be (213.224.83.78)

Attempts to compile contrib/libunix under Linux Mandrake (my system is a
8.0/8.1/9.0 or something mix) and Debian 3.0 fail when compiling accept.c,
complaining about conflicting declarations for "memmove" in string.h. The cause
is that src/runtime/config.h #define's bcopy() as memmove() and then the system
include file "string.h" contains a prototype for bcopy(), which is expanded
erroneously to memmove().

A quick fix is to comment out the line "#define bcopy(src,dst,len) memmove(...)"
in config.h (the line just after "#ifdef HAS_MEMMOVE"). A cleaner fix is
probably cleaning up the Makefile but we'll leave that as an exercise for the
interested reader :-)

@vicuna
Copy link
Author

vicuna commented May 5, 2003

Comment author: administrator

Isn't this fixed in Caml Light 0.75?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant