Fwd: [PATCH] removed slusb compilation on kernel 2.6.25

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

 



Miguel,
RE: FATAL: modpost: GPL-incompatible module slusb.ko uses GPL-onlysymbol 'usb_unlink_urb'---------------    If you don't need slusb.ko , just apply Gustavo's patch below.And the compile will produce slamr.ko  and slmodemd, bypassing theslusb problem.
This patch will be included in an update slmodem package shortly.
If slusb.ko is needed, there is no solution short or rewriting thedriver, so that the Proprietary license can be removed .
MarvS

---------- Forwarded message ----------From: Gustavo Fernando Padovan <gfpadovan@xxxxxxxxx>Date: Tue, May 13, 2008 at 7:11 PMSubject: [PATCH] removed slusb compilation on kernel 2.6.25To: discuss@xxxxxxxxxxxxx

Hello,
Now, it's possible to compile just slamr.ko module on kernel 2.6.25.This avoids the compilation error of slusb.ko on kernel 2.6.25. TheMakefile excludes kernel 2.6.25, but we need to exclude kernel greaterthan or equal 2.6.25. I don't have enough knowledge to construct thisusing Makefiles in a smart way.
--- slmodem-2.9.11-20080417/drivers/Makefile    2008-04-1723:56:46.000000000 -0300+++ slmodem-2.9.11-20080417-mod/drivers/Makefile        2008-05-1319:43:24.000000000 -0300@@ -23,9 +23,10 @@ EXTRA_CFLAGS = -I$(obj) -I$(obj)/../mode ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64)
 ifeq ($(ARCH64), 0)-obj-m:= slamr.o slusb.o-else-obj-m:= slusb.o+obj-m:= slamr.o+endif+ifneq ($(findstring 2.6.25, $(KERNEL_VER)),2.6.25)+obj-m+= slusb.o endif
 slamr-objs:= amrmo_init.o sysdep_amr.o amrlibs.o

------------------------------------------------Gustavo Fernando PadovanEngenharia de Computação 2006LAS - Laboratório de Administração e Segurança de SistemasInstituto de Computação - UNICAMP
gfpadovan@xxxxxxxxxxxxxxxxx@students.ic.unicamp.brpao@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Seja Livre, use Software Livre

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux