#4 Troubles compiling with ocaml 3.10+dev24

None
closed
nobody
None
5
2014-09-06
2007-02-28
Mr Lapinot
No

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.

Discussion

  • Mr Lapinot

    Mr Lapinot - 2007-02-28

    make opt : log file

     
  • Mr Lapinot

    Mr Lapinot - 2007-02-28

    netplex_ctrl_aux.ml : corrected version

     
  • Mr Lapinot

    Mr Lapinot - 2007-02-28

    Logged In: YES
    user_id=1354033
    Originator: YES

    File Added: netplex_ctrl_aux.ml

     
  • Mr Lapinot

    Mr Lapinot - 2007-02-28

    netplex_ctrl_aux.mli : corrected version

     
  • Mr Lapinot

    Mr Lapinot - 2007-02-28

    Logged In: YES
    user_id=1354033
    Originator: YES

    File Added: netplex_ctrl_aux.mli

     
  • Mr Lapinot

    Mr Lapinot - 2007-03-05

    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.

     
  • Gerd Stolpmann

    Gerd Stolpmann - 2014-09-06
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks