Core dump message as follows:
g++ -o common/ptypes2tcl common/ptypes2tcl.o
./common/ptypes2tcl > gen/ptypes.cc
10 [main] ptypes2tcl 3604 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
/bin/sh: line 1: 3604 Segmentation fault (core dumped) ./common/ptypes2tcl > gen/ptypes.cc
make: *** [gen/ptypes.cc] Error 139
Solution: re-modify the file "common/packet.h"
If you add new type in "enum packet_t", you should add "name_[XXX]" in "class p_info" related to the new type.
No comments:
Post a Comment