Skip to content

[Mystique] 测试基于zk协议的操作,编译报错 #124

@Jiahu235

Description

@Jiahu235

rosetta中没有zk(mystique)协议的测试文件,我们想测试基于zk(mystique)协议的操作,例如relu操作
测试文件编译时报错:

/usr/bin/ld: ../../../../lib/libzkp-mystique.so: undefined reference to CheatRecord::put(std::string const&)
/usr/bin/ld: ../../../../lib/libzkp-mystique.so: undefined reference to CheatRecord::message
collect2: error: ld returned 1 exit status
make[2]: *** [modules/protocol/zk/mystique/CMakeFiles/relu-zk.dir/build.make:130:bin/relu-zk] 
make[1]: *** [CMakeFiles/Makefile2:604:modules/protocol/zk/mystique/CMakeFiles/relu-zk.dir/all] 
make: *** [Makefile:136:all] 
cpp make install Elapsed Time (using $SECONDS): 4 seconds

首先,测试文件中并没有调用与CheatRecord相关的内容;其次,'CheatRecord::put(std::string const&)' 和'CheatRecord::message' 在'emp-zk-bool.cpp'文件中有定义。报错的可能原因是什么?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions