Error when trying to execute main()

Please read tips for efficient and successful posting and posting code

_ROOT Version:6.16/00
Platform: MacOs
Compiler: Not Provided

Hi . I am trying to execute a main() after having compiled 4 .cxx files with .L filename.cxx++ .
Hi tried the code before with a Linux and it worked.
On MacOs I am getting this error after executing main :
root.exe: pcap_setup_pktap_interface(pktap) fail - ioctl(SIOCIFCREATE): Operation not permitted
In my program I am also using threads (I don’t know if this can be helpful).

Try to rename your “main” into something else.

I solved the problem by compiling the last file (main.cxx) with .x insted of compiling it as .L main.cxx++ and then executing main()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.