Hi,
two problems when i try compiling ocamlnet with ocaml 3.10 (still beta - dev24) :
./configure --enable-ssl (no problem)
make all : i had to manually edit two files (netplex_ctrl_aux.ml and netplex_ctrl_aux.mli), which are generated by ocamlrpcgen (from netplex_ctrl.x). The syntax :
type foo = [ |`a |`b ]
must be changed to :
type foo = [ `a |`b ]
everywhere it's used. Corrected files are attached, but i guess ocamlrpcgen should rather be modified accordingly.
make opt : i get the following error message
File "netaccel.ml", line 8, characters 14-62:
An external function with more than 5 arguments requires second stub function for native-code compilation
make[1]: *** [netaccel.cmx] Erreur 2
I don't know how to correct this. Full log file is attached.
If you think these are ocaml 3.10 bugs, please let me know, i'll report it to the caml team.
Thanks a lot.
make opt : log file
netplex_ctrl_aux.ml : corrected version
Logged In: YES
user_id=1354033
Originator: YES
File Added: netplex_ctrl_aux.ml
netplex_ctrl_aux.mli : corrected version
Logged In: YES
user_id=1354033
Originator: YES
File Added: netplex_ctrl_aux.mli
Logged In: YES
user_id=1354033
Originator: YES
This was a Caml bug, solved in CVS : http://caml.inria.fr/mantis/view.php?id=4216
I didn't check. My mistake.