You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2016 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
When trying to compile the current CVS version of OCaml on AMD64, I
get:
...
gcc -DCAML_NAME_SPACE -O -fno-defer-pop -Wall -Wno-unused
-D_FILE_OFFSET_BITS=64
-D_REENTRANT -c -o prims.o prims.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
-D_REENTRANT -Wl,-E
-o ocamlrun
prims.o libcamlrun.a -lm -ldl -lcurses -lpthread
libcamlrun.a(memory.o)(.text+0x60): In function caml_free_for_heap': : undefined reference to aligned_caml_munmap'
collect2: ld returned 1 exit status
make[1]: *** [ocamlrun] Error 1
It's just a typo in my latest modifications. At line 66 of memory.c,
change "aligned_caml_munmap" to "caml_aligned_munmap". I'll fix it
in the CVS tree very soon.
Original bug ID: 2016
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Aleksey Nogin
Version: CVS - 3.07+11 (2004-01-02)
OS: Fedora Core Development
Submission from: charter-242-037.caltech.edu (131.215.242.37)
When trying to compile the current CVS version of OCaml on AMD64, I get:
...
gcc -DCAML_NAME_SPACE -O -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64
-D_REENTRANT -c -o prims.o prims.c
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wl,-E
-o ocamlrun
prims.o libcamlrun.a -lm -ldl -lcurses -lpthread
libcamlrun.a(memory.o)(.text+0x60): In function
caml_free_for_heap': : undefined reference to
aligned_caml_munmap'collect2: ld returned 1 exit status
make[1]: *** [ocamlrun] Error 1
The text was updated successfully, but these errors were encountered: