Re: ld error multiple definitions



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/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]