Error Compiling... #499

Closed
opened 2026-10-05 04:25:22 +02:00 by adam · 4 comments
Owner

Building ZNC Perl bindings library...
modperl/ZNC.cpp: In function ‘void wrap_new_CPerlModule(PerlInterpreter, CV_)’:
modperl/ZNC.cpp:99568:105: error: no matching function for call to ‘CPerlModule::CPerlModule(CUser_&, CIRCNetwork_&, const CString&, const CString&, SV_&)’
result = (CPerlModule *)new CPerlModule(arg1,arg2,(CString const &)arg3,(CString const &)arg4,arg5);
^
modperl/ZNC.cpp:99568:105: note: candidate is:
In file included from modperl/ZNC.cpp:1751:0:
./modperl/module.h:32:2: note: CPerlModule::CPerlModule(CUser
, CIRCNetwork
, const CString&, const CString&, CModInfo::EModuleType, SV_)
CPerlModule(CUser* pUser, CIRCNetwork* pNetwork, const CString& sModName, const CString& sDataPath,
^
./modperl/module.h:32:2: note: candidate expects 6 arguments, 5 provided
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-reserved-user-defined-literal" [enabled by default]
make[1]: *** [modperl/ZNC.o] Error 1

Building ZNC Perl bindings library... modperl/ZNC.cpp: In function ‘void _wrap_new_CPerlModule(PerlInterpreter_, CV_)’: modperl/ZNC.cpp:99568:105: error: no matching function for call to ‘CPerlModule::CPerlModule(CUser_&, CIRCNetwork_&, const CString&, const CString&, SV_&)’ result = (CPerlModule *)new CPerlModule(arg1,arg2,(CString const &)_arg3,(CString const &)_arg4,arg5); ^ modperl/ZNC.cpp:99568:105: note: candidate is: In file included from modperl/ZNC.cpp:1751:0: ./modperl/module.h:32:2: note: CPerlModule::CPerlModule(CUser_, CIRCNetwork_, const CString&, const CString&, CModInfo::EModuleType, SV_) CPerlModule(CUser\* pUser, CIRCNetwork\* pNetwork, const CString& sModName, const CString& sDataPath, ^ ./modperl/module.h:32:2: note: candidate expects 6 arguments, 5 provided At global scope: cc1plus: warning: unrecognized command line option "-Wno-reserved-user-defined-literal" [enabled by default] make[1]: **\* [modperl/ZNC.o] Error 1 <!-- github-sync-id:61074060 -->
adam closed this issue 2026-10-05 04:25:22 +02:00
Author
Owner

This looks like a build from the latest master. Are you doing an incremental update ie. did you just pull in the latest changes? Make sure to do a clean build, so get rid of all old intermediate files from previous builds. If you have a git clone, do git clean -xdf to start from clean table.

This looks like a build from the latest master. Are you doing an incremental update ie. did you just pull in the latest changes? Make sure to do a clean build, so get rid of all old intermediate files from previous builds. If you have a git clone, do `git clean -xdf` to start from clean table. <!-- github-comment-id:78996125 -->
Author
Owner

That did the trick thanks.

That did the trick thanks. <!-- github-comment-id:79019699 -->
Author
Owner

np :)

np :) <!-- github-comment-id:79026099 -->
Author
Owner

This might be related to #420

This might be related to #420 <!-- github-comment-id:79314255 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#499