Re: David Grandeffo, United States of America kernel 2.6.22-14-generic

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

 



Marvin Stodolsky wrote:
> 
> Dave,
> 
> My initial instructions were:
> --------
> download the linux-libc-dev and  libc6-dev
> Under Linux both can be installed with
> $ sudo dpkg -i li*.deb
> -------------
> This would have installed both in the correct order.
> But you tried to install the libc6-dev
> which needed prior installation of the linux-libc-dev
> --
> So know only linux-libc-dev has been installed and you still need to
> redo the failed installation of the libc6-dev
> So now do
> $ sudo dpkg -i libc6-dev
> then proceed from there.
> 
> MarvS

Marv,
Thanks for being so patient! Here we go....

1. Install libc6-dev_2.6.1-1ubuntu9_i386.deb:

"dave@Ticon:~/Martian$ sudo dpkg -i libc6-dev_2.6.1-1ubuntu9_i386.deb
[sudo] password for dave:
(Reading database ... 90158 files and directories currently installed.)
Preparing to replace libc6-dev 2.6.1-1ubuntu9 (using
libc6-dev_2.6.1-1ubuntu9_i386.deb) ...
Unpacking replacement libc6-dev ...
Setting up libc6-dev (2.6.1-1ubuntu9) ..."

So far so good.

2. Unpack:

"dave@Ticon:~/Martian$ tar zxf martian-full-20071011.tar.gz

gzip: stdin: unexpected end of file
tar: Skipping to next header
tar: Child returned status 1
tar: Error exit delayed from previous errors"

Something wrong there....

3. Compile - Step 1:

"dave@Ticon:~/Martian/martian-full-20071011$ make clean
make -C kmodule/ clean
make[1]: Entering directory
`/home/dave/Martian/martian-full-20071011/kmodule'
make -C /lib/modules/2.6.22-14-generic/build
M="/home/dave/Martian/martian-full-20071011/kmodule" clean
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CLEAN   /home/dave/Martian/martian-full-20071011/kmodule/.tmp_versions
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: Leaving directory
`/home/dave/Martian/martian-full-20071011/kmodule'
make -C modem/ clean
make[1]: Entering directory
`/home/dave/Martian/martian-full-20071011/modem'
-e     RM       OBJS
-e     RM       BINS
-e     RM       TOOLS
make[1]: Leaving directory
`/home/dave/Martian/martian-full-20071011/modem'"

4. Compile - Step 2:

"dave@Ticon:~/Martian/martian-full-20071011$ make
make -C kmodule/ modules
make[1]: Entering directory
`/home/dave/Martian/martian-full-20071011/kmodule'
make -C /lib/modules/2.6.22-14-generic/build
M="/home/dave/Martian/martian-full-20071011/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/dave/Martian/martian-full-20071011/kmodule/martian.o
In file included from
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:62:
/home/dave/Martian/martian-full-20071011/kmodule/kmartian.h:10:24:
error: ../martian.h: No such file or directory
In file included from
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:62:
/home/dave/Martian/martian-full-20071011/kmodule/kmartian.h:58: error:
field â??icountsâ?? has incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_isrâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:105: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:113: error:
dereferencing pointer to incomplete type
etc. etc.

/home/dave/Martian/martian-full-20071011/kmodule/martian.c:805: error:
â??MARTIAN_DEV_TOSHIBAâ?? undeclared (first use in this function)
make[3]: ***
[/home/dave/Martian/martian-full-20071011/kmodule/martian.o] Error 1
make[2]: *** [_module_/home/dave/Martian/martian-full-20071011/kmodule]
Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/home/dave/Martian/martian-full-20071011/kmodule'
make: *** [all] Error 2"

Sure doesn't look good....


5. Compile - Step 3:

"dave@Ticon:~/Martian/martian-full-20071011$ sudo make install
make -C kmodule/ install
make[1]: Entering directory
`/home/dave/Martian/martian-full-20071011/kmodule'
make -C /lib/modules/2.6.22-14-generic/build
M="/home/dave/Martian/martian-full-20071011/kmodule" modules_install
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  DEPMOD  2.6.22-14-generic
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make[1]: Leaving directory
`/home/dave/Martian/martian-full-20071011/kmodule'
make -C modem/ install
make[1]: Entering directory
`/home/dave/Martian/martian-full-20071011/modem'
make[1]: *** No rule to make target `../martian.h', needed by `main.o'. 
Stop.
make[1]: Leaving directory
`/home/dave/Martian/martian-full-20071011/modem'
make: *** [install] Error 2"

I'm sorry, Marv; I just can't seem to make it work. This is preventing
me from using Ubuntu so I'm going to move on and get an external modem.
Hopefully I'll be able to get that to work.

Thanks again for your help,
-- 
Dave



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

  Powered by Linux