Hi, Cosma wrote: > Hello, > > I'm trying to compile the latest v4l from sources, but always getting > those errors: > > WARNING: "__gcov_merge_add" > [/home/cosma/v4l/v4l-dvb-experimental/em28xx.ko] undefined! > WARNING: "__gcov_init" [/home/cosma/v4l/v4l-dvb-experimental/em28xx.ko] > undefined! > > I'm using the 2.7.27 kernel on an ArchLinux box... (also added the > missing dvb headers from the vanilla kernel).
Please apply the attached patch: Remove the accidentally added CFLAGS for code coverage measurements. Regards, Márton Németh
diff -r 4256de334756 Makefile --- a/Makefile Thu Dec 25 12:54:46 2008 +0100 +++ b/Makefile Sun Dec 28 09:32:47 2008 +0100 @@ -56,7 +56,7 @@ EXTRA_CFLAGS += -I$(PWD)/include -I$(SDIR)/drivers/media/video -I$(SDIR)/drivers/media/dvb/frontends -I$(SDIR)/drivers/media/dvb/dvb-core -I$(SDIR)/drivers/media/tuners/ -Iinclude/linux -Idrivers/media/video -Idrivers/media/dvb/frontends -Idrivers/media/dvb/dvb-core -Idrivers/media/tuners/ -Iinclude/linux -Wall -DCONFIG_DVB_ZL10353 -DCONFIG_DVB_DRX3973D -DDRXD_TYPE_B -DDRXD_TYPE_A -DCONFIG_DVB_LGDT3304 -DCONFIG_MEDIA_TUNER_QT1010 -DCONFIG_DVB_TUNER_MT2060 -DCONFIG_DVB_S921 #EXTRA_CFLAGS += $(GCOV_FLAGS) -EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage +#EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage export EXTRA_CFLAGS KDIR := /lib/modules/$(KVER)/build
_______________________________________________ Em28xx mailing list Em28xx@mcentral.de http://mcentral.de/mailman/listinfo/em28xx