Hi, I think into vdr.pc is parameter includedir= missed, if $(INCDIR) not a standard directory. After a recreating of a new PLUGIN Makefile, building from vdr root directory work, but i can't build plugin from own directory. #> cd PLUGINS/src/dvdswitch/ #> make all g++ -g -O0 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"dvdswitch"' -o dvdswitch.o dvdswitch.c dvdswitch.c:10:24: fatal error: vdr/plugin.h: No such file or directory compilation terminated. make: *** [dvdswitch.o] Error 1 Andreas
--- Makefile.org 2013-01-12 14:45:01.000000000 +0100 +++ Makefile 2013-01-20 19:51:31.000000000 +0100 @@ -149,8 +149,9 @@ @echo "locdir=$(LOCDIR)" >> $@ @echo "plgcfg=$(PLGCFG)" >> $@ @echo "apiversion=$(APIVERSION)" >> $@ - @echo "cflags=$(CFLAGS) $(CDEFINES) $(CINCLUDES) $(HDRDIR)" >> $@ - @echo "cxxflags=$(CXXFLAGS) $(CDEFINES) $(CINCLUDES) $(HDRDIR)" >> $@ + @echo "includedir=$(DESTDIR)$(INCDIR)" >> $@ + @echo "cflags=$(CFLAGS) $(CDEFINES) $(CINCLUDES) $(HDRDIR) -I\$${includedir}" >> $@ + @echo "cxxflags=$(CXXFLAGS) $(CDEFINES) $(CINCLUDES) $(HDRDIR) -I\$${includedir}" >> $@ @echo "" >> $@ @echo "Name: VDR" >> $@ @echo "Description: Video Disk Recorder" >> $@
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr