Mailing List archive

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

[linux-dvb] 2.4.11/12 compiling



Hi!

Regarding `this_object_must_be_defined_as_export_objs_in_the_Makefile'
error, there was already the suggestion to add a "-DEXPORT_SYMTAB" to
EXTRA_CFLAGS in Makefile. It works obviously.

I think a cleaner solution is

--- driver/Makefile.orig	Wed Aug 22 00:40:02 2001
+++ driver/Makefile	Sun Oct 14 22:54:16 2001
@@ -10,9 +10,9 @@
 	  else echo sh; fi ; fi)
 export TOPDIR=$(KERNEL_LOCATION)
 
-M_OBJS       = saa7146_v4l.o VES1893.o VES1820.o L64781.o dvb.o tuner.o\
 dvbdev.o stv0299.o tda8083.o
-MX_OBJS      = saa7146_core.o dmxdev.o dvb_demux.o dvb_net.o\
 dvb_filter.o dvb_firm.o
-obj-m        = $(MX_OBJS) $(M_OBJS)
+export-objs	:= saa7146_core.o dvbdev.o dmxdev.o
+obj-m	:= saa7146_core.o saa7146_v4l.o tuner.o VES1893.o VES1820.o\
 L64781.o stv0299.o tda8083.o dvbdev.o dmxdev.o dvb_demux.o dvb_net.o\
 dvb_filter.o dvb_firm.o dvb.o
+
 EXTRA_CFLAGS = -I ../ost/include -I . -D__DVB_PACK__ -g -DUSE_OSD $(LIRC_FLAG)
 
 here:
@@ -20,7 +20,7 @@
 	@echo
 
 install:
-	su -c "cp -v $(M_OBJS) $(MX_OBJS) /lib/modules/$(CURRENT)/misc"
+	su -c "cp -v $(obj-m) /lib/modules/$(CURRENT)/misc"
 
 reload:
 	make


(I broke over-long lines here.)


Bye,
     Rolf



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index