I am a beginner on IDA Pro. Recently, I faced some difficulties when trying to establish and develop a plugin using IDA SDK for linux. I do my work with the instruction of the tutorial (idapw.pdf) written by Steve Micallef. In the first phase, I used the example-template.cpp as my first trial, and creat a makefile as the tutorial said. The makefile include that:
1 SRC=template.cpp
2 OBJS=template.o
3 CC=g++
4 LD=g++
5 CFLAGS=-D__IDP__ -D__PLUGIN__ -c -D__LINUX__ \
6 -I /root/idaadv/sdk/include $(SRC)
7 LDFLAGS=--shared $(OBJS) -L /root/idaadv -l ida \
8 --no-undefined -Wl,--version-script=./plugin.script
9
10 all:
11 $(CC) $(CFLAGS)
12 $(LD) $(LDFLAGS) -o myplugin.plx
13 cp myplugin.plx /root/idaadv/plugins
However, when I try to make it, the error was found, which made me confused. I just do it as example, without modifying anything. I need help because I cannot find the problem.






