ld error multiple definitions

2007-10-13 Thread Joël Krähemann
hello I get strange errors like

/home/link/ags/file/ags_file.o: In function `ags_file_class_init':
/home/link/ags/file/ags_file.c:32: multiple definition of `ags_file_class_init'
/home/link/ags/file/ags_file.o:/home/link/ags/file/ags_file.c:32:
first defined here
...

the application with full error output is in
http://mitglied.lycos.de/joel2001k/ags/mailing_list/ags_list.tar.bz2

I don't know what's going on I don't do anything else than in other
files I believe so
please help soon

greets
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: ld error multiple definitions

2007-10-13 Thread Yeti
On Sat, Oct 13, 2007 at 11:50:17AM +0200, Joël Krähemann wrote:
 hello I get strange errors like
 
 /home/link/ags/file/ags_file.o: In function `ags_file_class_init':
 /home/link/ags/file/ags_file.c:32: multiple definition of 
 `ags_file_class_init'
 /home/link/ags/file/ags_file.o:/home/link/ags/file/ags_file.c:32:
 first defined here

If you get definitions from the very same file and line
clashing, you are trying to link this file twice -- one way
or another.  Also, I wonder why ags_file_class_init() is
exported; it should be static.

Yeti

--
http://gwyddion.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list