FATAL: modpost: GPL-incompatible module slusb.ko uses GPL-only symbol 'usb_unlink_urb'

John Summerfield debian at herakles.homelinux.org
Sun Apr 27 09:51:37 UTC 2008


Antonio Olivares wrote:
> Dear all,
> 
> I have a smartlink based winmodem on my computer. 
> This is what I use to connect to the internet from my
> home machine.  I am a little bit concerned because the
> slmodem-2.9.11-20080417 code does not compile under
> kernel-2.6.25.  When I try to compile I see the
> following: 
> 
> for
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/amrlibs.o
>  FATAL: modpost: GPL-incompatible module slusb.ko uses
> GPL-only symbol
>  'usb_unlink_urb'
> 
> Is there a quick fix for this or an alternative that
> will make the compilation succeed so that I and other
> users with these kind of modems can continue using
> Fedora?
> 
> Thank you in Advance,
> 
> Antonio 
> 
> [olivares at localhost slmodem-2.9.11-20080417]$ make
>  KERNEL_VER=/lib/modules/`uname -r`/build
>  make -C modem all
>  make[1]: Entering directory
> 
> `/home/olivares/Downloads/slmodem-2.9.11-20080417/modem'
>  rebuild profile...
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_main.o -c modem_main.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_cmdline.o -c modem_cmdline.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o
> -c modem.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_datafile.o -c
>  modem_datafile.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_at.o -c modem_at.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_timer.o -c modem_timer.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_pack.o -c modem_pack.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_ec.o -c modem_ec.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_comp.o -c modem_comp.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_param.o -c modem_param.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_debug.o -c modem_debug.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> homolog_data.o -c homolog_data.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> dp_sinus.o -c dp_sinus.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> dp_dummy.o -c dp_dummy.c
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> sysdep_common.o -c sysdep_common.c
>  gcc -o slmodemd modem_main.o modem_cmdline.o modem.o
> modem_datafile.o
>  modem_at.o modem_timer.o modem_pack.o modem_ec.o
> modem_comp.o
>  modem_param.o modem_debug.o homolog_data.o dp_sinus.o
> dp_dummy.o
>  dsplibs.o sysdep_common.o
>  gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
> modem_test.o -c modem_test.c
>  gcc -o modem_test modem_test.o modem_cmdline.o
> modem.o
>  modem_datafile.o modem_at.o modem_timer.o
> modem_pack.o modem_ec.o
>  modem_comp.o modem_param.o modem_debug.o
> homolog_data.o dp_sinus.o
>  dp_dummy.o dsplibs.o sysdep_common.o
>  make[1]: Leaving directory
> 
> `/home/olivares/Downloads/slmodem-2.9.11-20080417/modem'
>  make -C drivers
> KERNEL_DIR=/lib/modules/2.6.25-1.fc9.i686/build
>  make[1]: Entering directory
> 
> `/home/olivares/Downloads/slmodem-2.9.11-20080417/drivers'
>  make modules -C /lib/modules/2.6.25-1.fc9.i686/build
> 
> SUBDIRS=/home/olivares/Downloads/slmodem-2.9.11-20080417/drivers
>  make[2]: Entering directory
> `/usr/src/kernels/2.6.25-1.fc9.i686'
>   CC [M] 
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/amrmo_init.o
>   CC [M] 
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/sysdep_amr.o
>   CC [M] 
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/st7554.o
>   LD [M] 
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/slamr.o
>   LD [M] 
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/slusb.o
>    Building modules, stage 2.
>   MODPOST 2 modules
>  WARNING: could not find
> 
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/.amrlibs.o.cmd
>  for
> /home/olivares/Downloads/slmodem-2.9.11-20080417/drivers/amrlibs.o
>  FATAL: modpost: GPL-incompatible module slusb.ko uses
> GPL-only symbol
>  'usb_unlink_urb'

You should take that back to the slmodem folk. It's the sort of thing 
you can (given the skills) fix for yourself, but you are forbidden (by 
licence conflicts) to distribute the results.

>  make[3]: *** [__modpost] Error 1
>  make[2]: *** [modules] Error 2
>  make[2]: Leaving directory
> `/usr/src/kernels/2.6.25-1.fc9.i686'
>  make[1]: *** [all] Error 2
>  make[1]: Leaving directory
> 
> `/home/olivares/Downloads/slmodem-2.9.11-20080417/drivers'
>  make: *** [drivers] Error 2
>  
>  
>  I downloaded latest slmodem-2.9.11-20080417.tar.gz
>  
> 
> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080417.tar.gz
>  
>  No problems yet, only when Fedora 9 comes out, as of
> right now all is ok.
> 
> 
>       ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 


-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the fedora-test-list mailing list