============================================
roland@logikaldesktop:~$ cd /usr/src
roland@logikaldesktop:/usr/src$ sudo tar jxvf sl-modem.tar.bz2
[sudo] password for roland:
tar: Record size = 8 blocks
modules/
modules/sl-modem/
modules/sl-modem/ungrab-winmodem/
modules/sl-modem/ungrab-winmodem/Readme.txt
modules/sl-modem/ungrab-winmodem/ungrab-winmodem.c
modules/sl-modem/ungrab-winmodem/Makefile
modules/sl-modem/modem/
modules/sl-modem/modem/modem_param.h
modules/sl-modem/modem/modem_debug.h
modules/sl-modem/modem/modem_dp.h
modules/sl-modem/modem/modem_defs.h
modules/sl-modem/modem/modem.h
modules/sl-modem/modem/modem_timer.h
modules/sl-modem/modem/modem_homolog.h
modules/sl-modem/drivers/
modules/sl-modem/drivers/amrmo_init.c
modules/sl-modem/drivers/st7554.c
modules/sl-modem/drivers/amrlibs.o
modules/sl-modem/drivers/Makefile
modules/sl-modem/drivers/sysdep_amr.c
modules/sl-modem/drivers/kernel-ver.c
modules/sl-modem/drivers/old_st7554.c
modules/sl-modem/debian/
modules/sl-modem/debian/control.modules.in
modules/sl-modem/debian/changelog
modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst.modules.in
modules/sl-modem/debian/compat
modules/sl-modem/debian/control
modules/sl-modem/debian/copyright
modules/sl-modem/debian/rules
modules/sl-modem/patches/
modules/sl-modem/patches/alsa-linux-2.6.0.patch
roland@logikaldesktop:/usr/src$ cd modules/sl-modem
roland@logikaldesktop:/usr/src/modules/sl-modem$ sudo debian/rules kdist
KVERS=`uname -r` KSRC=/usr/src/kernel-headers-`uname -r`
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/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]: Entering directory `/usr/src/modules/sl-modem'
make[2]: *** No rule to make target `clean'. Stop.
make[2]: Leaving directory `/usr/src/modules/sl-modem'
make[1]: [clean] Error 2 (ignored)
cd modem; /usr/bin/make clean SUPPORT_ALSA=1
make[2]: Entering directory `/usr/src/modules/sl-modem/modem'
make[2]: *** No rule to make target `clean'. Stop.
make[2]: Leaving directory `/usr/src/modules/sl-modem/modem'
make[1]: [clean] Error 2 (ignored)
dh_clean
/usr/bin/make -C drivers clean
make[2]: Entering directory `/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[2]: Leaving directory `/usr/src/modules/sl-modem/drivers'
for templ in /usr/src/modules/sl-modem/debian/sl-modem-modules-
_KVERS_.postinst /usr/src/modules/sl-modem/debian/sl-modem-modules-
_KVERS_.postinst.modules.in; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-9-generic/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.31-9-generic/g ;s/#KVERS#/2.6.31-9-generic/g ;
s/_KVERS_/2.6.31-9-generic/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g '
< $templ > ${templ%.modules.in}; \
done
dh_clean -k
dh_installdirs lib/modules/2.6.31-9-generic/misc usr/lib/sl-modem
if ! test -e drivers/Makefile ; then echo "Please update the package, extract
the tarball!"; exit 1 ; fi
/usr/bin/make -C drivers KERNEL_DIR=/usr/src/kernel-headers-2.6.31-9-generic
KVERS=2.6.31-9-generic
make[2]: Entering directory `/usr/src/modules/sl-modem/drivers'
gcc -I/usr/src/kernel-headers-2.6.31-9-generic/include -o kernel-ver kernel-
ver.c
kernel-ver.c: In function ‘main’:
kernel-ver.c:11: error: ‘UTS_RELEASE’ undeclared (first use in this function)
kernel-ver.c:11: error: (Each undeclared identifier is reported only once
kernel-ver.c:11: error: for each function it appears in.)
make[2]: *** [kernel-ver] Error 1
make[2]: Leaving directory `/usr/src/modules/sl-modem/drivers'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/sl-modem'
make: *** [kdist_build] Error 2
roland@logikaldesktop:/usr/src/modules/sl-modem$
============================================
After trying that I tried make only to find out the following:
roland@logikaldesktop:/usr/src/modules/sl-modem$ make clean
make: *** No rule to make target `clean'. Stop.
roland@logikaldesktop:/usr/src/modules/sl-modem$ make
make: *** No targets specified and no makefile found. Stop.
roland@logikaldesktop:/usr/src/modules/sl-modem$ dir
debian drivers modem patches ungrab-winmodem
roland@logikaldesktop:/usr/src/modules/sl-modem$
On Tuesday 01 September 2009 08:30:43 am أحمد المحمودي (Ahmed El-Mahmoudy)
wrote:
> On Tue, Sep 01, 2009 at 12:24:14PM -0000, seasoned_geek wrote:
> > Do I need to do a build then, or just install the source package?
>
> ---end quoted text---
>
> After install sl-modem-source package, you'll then need to build
> following the instructions in
> /usr/share/doc/sl-modem-source/README.Debian
>
First attempt:
======= ======= ======= ======= ======= ======= == logikaldesktop: ~$ cd /usr/src logikaldesktop: /usr/src$ sudo tar jxvf sl-modem.tar.bz2 sl-modem/ ungrab- winmodem/ sl-modem/ ungrab- winmodem/ Readme. txt sl-modem/ ungrab- winmodem/ ungrab- winmodem. c sl-modem/ ungrab- winmodem/ Makefile sl-modem/ modem/ sl-modem/ modem/modem_ param.h sl-modem/ modem/modem_ debug.h sl-modem/ modem/modem_ dp.h sl-modem/ modem/modem_ defs.h sl-modem/ modem/modem. h sl-modem/ modem/modem_ timer.h sl-modem/ modem/modem_ homolog. h sl-modem/ drivers/ sl-modem/ drivers/ amrmo_init. c sl-modem/ drivers/ st7554. c sl-modem/ drivers/ amrlibs. o sl-modem/ drivers/ Makefile sl-modem/ drivers/ sysdep_ amr.c sl-modem/ drivers/ kernel- ver.c sl-modem/ drivers/ old_st7554. c sl-modem/ debian/ sl-modem/ debian/ control. modules. in sl-modem/ debian/ changelog sl-modem/ debian/ sl-modem- modules- _KVERS_ .postinst. modules. in sl-modem/ debian/ compat sl-modem/ debian/ control sl-modem/ debian/ copyright sl-modem/ debian/ rules sl-modem/ patches/ sl-modem/ patches/ alsa-linux- 2.6.0.patch logikaldesktop: /usr/src$ cd modules/sl-modem logikaldesktop: /usr/src/ modules/ sl-modem$ sudo debian/rules kdist src/kernel- headers- `uname -r` modules/ sl-modem' modules/ sl-modem' modules/ sl-modem' modules/ sl-modem/ modem' modules/ sl-modem/ modem' modules/ sl-modem/ drivers' modules/ sl-modem/ drivers' modules/ sl-modem/ debian/ sl-modem- modules- modules/ sl-modem/ debian/ sl-modem- modules- .postinst. modules. in; do \ /2.6.31- 9-generic/ g'` ; \ *.modules. in` ; do \ .modules. in}.backup || cp ${templ% .modules. in} .modules. in}.backup 2>/dev/null || true; \ #/2.6.31- 9-generic/ g ;s/#KVERS# /2.6.31- 9-generic/ g ; /2.6.31- 9-generic/ g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g ' .modules. in}; \ 2.6.31- 9-generic/ misc usr/lib/sl-modem DIR=/usr/ src/kernel- headers- 2.6.31- 9-generic 6.31-9- generic modules/ sl-modem/ drivers' src/kernel- headers- 2.6.31- 9-generic/ include -o kernel-ver kernel- modules/ sl-modem/ drivers' modules/ sl-modem' logikaldesktop: /usr/src/ modules/ sl-modem$
roland@
roland@
[sudo] password for roland:
tar: Record size = 8 blocks
modules/
modules/sl-modem/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
modules/
roland@
roland@
KVERS=`uname -r` KSRC=/usr/
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/
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]: Entering directory `/usr/src/
make[2]: *** No rule to make target `clean'. Stop.
make[2]: Leaving directory `/usr/src/
make[1]: [clean] Error 2 (ignored)
cd modem; /usr/bin/make clean SUPPORT_ALSA=1
make[2]: Entering directory `/usr/src/
make[2]: *** No rule to make target `clean'. Stop.
make[2]: Leaving directory `/usr/src/
make[1]: [clean] Error 2 (ignored)
dh_clean
/usr/bin/make -C drivers clean
make[2]: Entering directory `/usr/src/
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[2]: Leaving directory `/usr/src/
for templ in /usr/src/
_KVERS_.postinst /usr/src/
_KVERS_
cp $templ `echo $templ | sed -e 's/_KVERS_
done
for templ in `ls debian/
test -e ${templ%
${templ%
sed -e 's/##KVERS#
s/_KVERS_
< $templ > ${templ%
done
dh_clean -k
dh_installdirs lib/modules/
if ! test -e drivers/Makefile ; then echo "Please update the package, extract
the tarball!"; exit 1 ; fi
/usr/bin/make -C drivers KERNEL_
KVERS=2.
make[2]: Entering directory `/usr/src/
gcc -I/usr/
ver.c
kernel-ver.c: In function ‘main’:
kernel-ver.c:11: error: ‘UTS_RELEASE’ undeclared (first use in this function)
kernel-ver.c:11: error: (Each undeclared identifier is reported only once
kernel-ver.c:11: error: for each function it appears in.)
make[2]: *** [kernel-ver] Error 1
make[2]: Leaving directory `/usr/src/
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/
make: *** [kdist_build] Error 2
roland@
======= ======= ======= ======= ======= ======= ==
After trying that I tried make only to find out the following:
roland@ logikaldesktop: /usr/src/ modules/ sl-modem$ make clean logikaldesktop: /usr/src/ modules/ sl-modem$ make logikaldesktop: /usr/src/ modules/ sl-modem$ dir logikaldesktop: /usr/src/ modules/ sl-modem$
make: *** No rule to make target `clean'. Stop.
roland@
make: *** No targets specified and no makefile found. Stop.
roland@
debian drivers modem patches ungrab-winmodem
roland@
On Tuesday 01 September 2009 08:30:43 am أحمد المحمودي (Ahmed El-Mahmoudy) doc/sl- modem-source/ README. Debian
wrote:
> On Tue, Sep 01, 2009 at 12:24:14PM -0000, seasoned_geek wrote:
> > Do I need to do a build then, or just install the source package?
>
> ---end quoted text---
>
> After install sl-modem-source package, you'll then need to build
> following the instructions in
> /usr/share/
>
-- www.theminimumy ouneedtoknow. com www.infiniteexp osure.net www.logikalsolu tions.com
Roland Hughes, President
Logikal Solutions
(630)-205-1593 (cell)
http://
http://
http://