fix compilation and linking issues. use __cxa_demangle for now so depend
on libstdc++
This commit is contained in:
@@ -49,7 +49,7 @@ SRC = $(shell find . -name '*.cpp')
|
|||||||
#OBJ = $(patsubst %.cpp,%.o,$(addprefix $(BUILD_DIR)/,$(notdir $(SRC))))
|
#OBJ = $(patsubst %.cpp,%.o,$(addprefix $(BUILD_DIR)/,$(notdir $(SRC))))
|
||||||
OBJ = $(BUILD_DIR)/main.o
|
OBJ = $(BUILD_DIR)/main.o
|
||||||
|
|
||||||
LIBS = -L./ -lpthread -luuid -ldl -ldw -lunwind -lunwind-x86_64
|
LIBS = -L./ -lpthread -luuid -ldl -ldw -lunwind -lunwind-x86_64 -lstdc++
|
||||||
ATR_LIBS = ./build/libframework.a
|
ATR_LIBS = ./build/libframework.a
|
||||||
|
|
||||||
INCS = -I./ \
|
INCS = -I./ \
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dwarf.h>
|
#include <dwarf.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <cxxabi.h>
|
#include <cxxabi.h>
|
||||||
|
|
||||||
#include "dwarf_function.h"
|
#include "dwarf_function.h"
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#define SC_SYSUTILS_H_
|
#define SC_SYSUTILS_H_
|
||||||
|
|
||||||
//system
|
//system
|
||||||
#include <string>
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user