Hi, Cindy Huyser <chuyser@xxxxxx> writes: > Now, I need to link an additional library into my plug-in. I built a > makefile, setting CFLAGS to the include directories called by gimptool > and LDFLAGS to gimptool's library calls (I did not yet add in the > desired additial library). When I ran the makefile against my > plug-in, I received the following error: > > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x18): undefined reference to `main' > /usr/lib/libgimp.so: undefined reference to `PLUG_IN_INFO' > collect2: ld returned 1 exit status looks as if your plug-in doesn't specify PLUG_IN_INFO. Every plug-in needs to setup a global array of function pointers like this: GimpPlugInInfo PLUG_IN_INFO = { NULL, /* init_proc */ NULL, /* quit_proc */ query, /* query_proc */ run /* run_proc */ }; Salut, Sven