I'm compiling the source code with some modification. Before running, my source was built several times successfully, but today when I run it again , there are some errors that I don't know what the reason is. I commented out new modification I made today but still failed. I modified a lot in the code so, it is quite difficult to comment out all of them, one by one to know where the error is. So, I post the messages got from screen to this web, if you have any idea about the reason, or any clue, please suggest me to find out the problem. Thank you very much. Here is the error:
asked 25 Sep '13, 03:56 hoangsonk49 |
2 Answers:
Presumably you're working from trunk, and have also updated your working copy? There is currently an effort underway to switch over the memory allocator to the newer wmem allocator, and "ephemeral" is the older type so you may have fallen foul of the changeover. Have a look at the recent developer mailing list archives for references to wmem. answered 25 Sep '13, 04:04 grahamb ♦ |
You can really easily change your code to adapt to the new API:
And you are done! answered 25 Sep '13, 09:39 Pascal Quantin problem solved. I checked out the branch 1.10 and no more similar errors. Thanks! (25 Sep '13, 18:49) hoangsonk49 |
Yes, i'm using trunk, so is it possible to handle this problem by using an older source code to ignore the changeover?
Yes, switch your working copy to the trunk-1.10 branch. That will only get bugfixes, not current development.
I found a link on the website :link text . is it useful in this case?
There are two basic ways of working with the Wireshark source code as discussed in the Developers Guide Sect 3.3: