Not build on feisty

Bug #103705 reported by DjMix
6
Affects Status Importance Assigned to Milestone
sl-modem (Ubuntu)
New
Undecided
Unassigned

Bug Description

It won't compile on feisty (2.6.20-14). Package from debian sid compile ok

Revision history for this message
bleuvoss (bleuvoss-deactivatedaccount) wrote :

Could you post more explicitly how did that? I have a problem with sl-modem (bugs 92777 and/or 103072): ungrab_winmodem not found.
I did sudo module-assistant auto-install sl-modem but I got an error (see those bug reports). Now I see your bug report saying package from debian sid compiles ok and I want to test that but I don't know how so your help will be appreciated. Thank you

Revision history for this message
DjMix (ilario-gottardello) wrote :

Sure! First, add in your /etc/apt/sources.list a reference to debian source archive:
deb-src ftp://ftp.it.debian.org/debian unstable main contrib non-free
Choose another mirror if you prefer. Now, update apt index:
apt-get update
Probably you have to instruct apt to take the debian version (older than feisty's), to do so add this to your /etc/apt/preferences:
Package: sl-modem-source
Pin: version 2.9.9d+e-pre2-8
Pin-Priority: 1001
Now you can use module-assistant to build up your module:
m-a a-i sl-modem
On my system it compile and work, but sl-modem-daemon is very unstable. Probably you should backport it, too. To do this:
apt-get build-dep sl-modem-daemon
apt-get source -b sl-modem-daemon
I hope it works...

PS I don't have tried this because the computer wasn't mine, I have done it in a hurry..

Revision history for this message
bleuvoss (bleuvoss-deactivatedaccount) wrote :

Thanks for your quickly answer but I've no lucky, I get the same error that I got with ubuntu sl-modem-source (bug 103072/92777): UTS_RELEASE undeclared.
If I edit kernel-ver.c and change the line #include <linux/version.h> to #include <linux/utsrelease.h> I get a lot of new error and I don't have more ideas to try ;-)

In any case, thanks again for your answer

Revision history for this message
DjMix (ilario-gottardello) wrote :

Mmm I had switched to the debian package exactly for these problem.. no idea what else to do :(

Revision history for this message
hamacker (sirhamacker) wrote :
Download full text (6.1 KiB)

I confirm this bug on my Feisty 7.04 with lastests updates.

try :
sudo module-assistant auto-install sl-modem-source

Other methods also fail, i try too :
method 1 : make and make install (FAIL)
method 2 : fakeroot ./debian/rules kdist KVERS=`uname -r` KSRC=/usr/src/linux-headers-`uname -r` (FAIL)

All with the same error report :
dh_testdir ↑
 │ dh_testroot ▮
 │ rm -f build-arch-stamp build-indep-stamp configure-stamp ▒
 │ # Add here commands to clean up after the build process. ▒
 │ /usr/bin/make clean SUPPORT_ALSA=1 ▒
 │ make[1]: Entrando no diretório `/usr/src/modules/sl-modem' ▒
 │ make[1]: Saindo do diretório `/usr/src/modules/sl-modem' ▒
 │ cd modem; /usr/bin/make clean SUPPORT_ALSA=1 ▒
 │ make[1]: Entrando no diretório `/usr/src/modules/sl-modem/modem' ▒
 │ make[1]: Saindo do diretório `/usr/src/modules/sl-modem/modem' ▒
 │ dh_clean ▒
 │ /usr/bin/make -C drivers clean ▒
 │ make[1]: Entrando no diretório `/usr/src/modules/sl-modem/drivers' ▒
 │ rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o ▒
 │ amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
rm -f -r .tmp_versions ↑
 │ make[1]: Saindo do diretório `/usr/src/modules/sl-modem/drivers' ▒
 │ hostname: Unknown host ▒
 │ /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules ▒
 │ hostname: Unknown host ▮
 │ make[1]: Entrando no diretório `/usr/src/modules/sl-modem' ▒
 │ dh_testdir ▒
 │ dh_testroot ▒
 │ rm -f build-arch-stamp build-indep-stamp configure-stamp ▒
 │ # Add here commands to clean up after the build process. ▒
 │ /usr/bin/make clean SUPPORT_ALSA=1 ▒
 │ make[2]: Entrando no diretório `/usr/src/modules/sl-modem' ▒
 │ make[2]: *** Sem regra para processar o alvo `clean'. Pare. ▒
 │ make[2]: Saindo do diretório `/usr/src/modules/sl-modem' ▒
 │ make[1]: [clean] Erro 2 (ignorado)
cd modem; /usr/bin/make clean SUPPORT_ALSA=1 ↑
 │ make[2]: Entrando no diretório `/usr/src/modules/sl-modem/modem' ▒
 │ make[2]: *** Sem regra para processar o alvo `clean'. Pare. ▒
 │ make[2]: Saindo do diretório `/usr/src/modules/sl-modem/modem' ▒
 │ make[1]: [clean] Erro 2 (ignorado) ▒
 │ dh_clean ▒
 │ /usr/bin/make -C dr...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.