[vlc-devel] Compiling custom access module

Mad Mac madmac2501 at gmail.com
Wed Nov 14 22:17:46 CET 2007


i am developing a new access module for vlc, i have done this:

added a new directory in modules/access
in that directory added Modules.am with the file names.
added in configure.ac a line VLC_ADD_PLUGINS([access_protocol]) and

inside directory protocol i have de following files with the following
access.c -> protocol.h
access.c -> auxiliary.h
auxiliary.c -> auxiliary.h

then i do bootstrap, configure and make.

the files compiles ok but when tries to link into one library it
complains about duplicated symbols. It seems like when compiling
ignores the dependency guards (#ifndef HAVE_AUXILIARY_H #define
HAVE_AUX ...) and because of that there is a conflict between
libraries access.c and auxiliary.c

What i am doing wrong?

Thanks in advance

More information about the vlc-devel mailing list