Re: Plugin compilation

Nick Schermer <[email protected]>
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]>
Is this for the new panel?
Look if you plugin is internal or external and @
http://xfce.loculus.nl/documentation/API/

Gr. Nick

Greets, Nick

2005/9/28, Hennie Muller <[email protected]>:
>
> Hi all,
>
> I've got a small problem. I'm new to linux, new to C
> programming, and now I've decided to write a plugin for
> xfce.
> When trying to compile the sample plugin I get the
> following error:
>
> /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../crt1.o(.text+0x18):
> In function `_start':
> ../sysdeps/i386/elf/start.S:115: undefined reference to
> `main'
> /tmp/ccwgsehR.o(.text+0x56): In function
> `xfce_control_class_init':
> sample.c: undefined reference to `control_class_set_unique'
> /tmp/ccwgsehR.o(.text+0x60):sample.c: undefined reference
> to `control_class_set_unloadable'
> /tmp/ccwgsehR.o(.text+0x8b):sample.c: undefined reference
> to `control_class_set_icon'
> /tmp/ccwgsehR.o(.text+0xc): In function
> `g_module_check_init':
> sample.c: undefined reference to
> `xfce_plugin_check_version'
> collect2: ld returned 1 exit status
>
> I use the following command to compile:
> gcc -Wall -O2 `pkg-config xfce4-panel-1.0 --libs --cflags`
> sample.c -o sample
>
> Can someone please point me in the right direction?
> _____________________________________________________________________
> For super low premiums, click here http://www.dialdirect.co.za/quote
>
> http://www.webmail.co.za the South African FREE email service
> _______________________________________________
> xfce-goodies-dev mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.