On 27 November 2010 16:35, shan chak <[email protected]> wrote: > Hi, > I started reading the introduction page on plugin development: > > http://www.geany.org/manual/reference/howto.html > > I copy pasted the program and fired a shell to compile it , this is what I > got: > > shan...@shankhs:~/geany/shankhs$ gcc -c plugin.c -fPIC `pkg-config --cflags > geany` > > shan...@shankhs:~/geany/shankhs$ gcc plugin.o -o plugin.so-shared
I assume you actually have a space between the plugin.so and -shared in the line above?? Cheers Lex > `pkg-config --libs geany` > /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/crt1.o: In function > `_start': > (.text+0x18): undefined reference to `main' > collect2: ld returned 1 exit status > > The last error was a show stopper , I wasn't able to go forward :( . > I am not great with pkg-config, so can anybody please help me in finding a > solution to this problem? > > Where is geany's lib folder exactly installed? and where should I put my > plugin to let geany know? > > Thank you > shankhs > > > > _______________________________________________ > Geany-devel mailing list > [email protected] > http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel > > _______________________________________________ Geany-devel mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
