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 = $(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
|
||||
|
||||
INCS = -I./ \
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <dwarf.h>
|
||||
#include <stdlib.h>
|
||||
#include <cxxabi.h>
|
||||
|
||||
#include "dwarf_function.h"
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#define SC_SYSUTILS_H_
|
||||
|
||||
//system
|
||||
#include <string>
|
||||
#include <netdb.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user