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
COmpilation de libunix en Caml Light 0.74 sous RedHat 7.2 #3193
Comments
Comment author: administrator
As-tu bien refait le make configure ? Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ |
Comment author: administrator Il faut enlever le #define memmove qui doit trainer dans un -- Damien |
Comment author: administrator
Problème connu et résolu pour OCaml (cf. bug report 209). La même /* Library dependencies */ #ifdef HAS_MEMMOVE par /* Library dependencies */ #ifdef HAS_BCOPY
|
Original bug ID: 875
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: Valérie Ménissier-Morain
Version: Caml Light 0.74d
OS: Linux 2.4.7-10
Submission from: realarith.lip6.fr (132.227.66.34)
Bonjour,
J'installe Caml Light (mais oui, c,a sert encore) sur une nouvelle machine sous
RedHat 7.2, la compilation et le bootstrap de src se passe bien, mais quand je
passe aux contribs, j'obtiens un message d'erreur étrange: un include C standard
ne serait pas syntaxiquement correct, comme le montre la trace ci-dessous. Que
faire?
Valérie.
[root@realarith contrib]# make all
/bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin
LIBDIR=/usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1
X11_INCLUDES=/usr/X11R6/include X11_LIB=/usr/X11R6/lib BIGNUM_ARCH=C
TEXINPUTDIR=/usr/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/lib/emacs/site-lisp
TCLINCLDIR=/usr/local/lib/tcl7.4/include TKINCLDIR=/usr/local/lib/tk4.0/include
TKLIBDIR=/usr/local/lib/tk4.0/lib TCLLIBDIR=/usr/local/lib/tcl7.4/lib
'TKLIBS=-ltk -ltcl -lX11' all
make[1]: Entering directory
/usr/local/lib/cl74/contrib/libunix' gcc -I../../src/runtime -O -c -o accept.o accept.c In file included from /usr/include/sys/un.h:38, from socketaddr.h:4, from accept.c:8: /usr/include/string.h:242: parse error before
('/usr/include/string.h:242: conflicting types for
memmove' /usr/include/string.h:42: previous declaration of
memmove'/usr/include/string.h:242: parse error before
__const' make[1]: *** [accept.o] Error 1 make[1]: Leaving directory
/usr/local/lib/cl74/contrib/libunix'The text was updated successfully, but these errors were encountered: