obliv-c icon indicating copy to clipboard operation
obliv-c copied to clipboard

Tutorial, linear regression implementation

Open havron opened this issue 10 years ago • 1 comments

obliv-c/tutorial/olinReg has not been able to compile when using the newest CIL version; it has only successfully compiled and ran using the older CIL version that my fork is using.

havron avatar Aug 06 '15 21:08 havron

Unfortunately, I cannot merge code into the new version if it does not compile with the new version. The errors right now are caused by two issues:

  • Obliv-C no longer supports the use of yaoGateCount() after the protocol has finished. So just disabling that one line fixes the "Undefined function" error.
  • CIL seems to be generating "goto" commands whenever you use logical &&, which is causing problems. This is a bug on my side, which I will fix. But for now, you can just change the Makefile to compile linReg.c separately with gcc -c linReg.c and just link it in.

This will fix the issue for now.

samee avatar Aug 08 '15 02:08 samee