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
> 
> Brad's patch is for the agrsm software package.
> But for
> >    Class 0780: 11c1:044e Communication controller: Agere Systems LT
> > WinModem
> >       Primary PCI_id  11c1:044e
> >  Support type needed or chipset:        Agere.DSP
> it is the martian package which you need from
> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/
> the  martian-full-20071011.tar.gz
> 
> The compiling is EASY.  The major nuisance is the prelimiary downloads.
> >From http://packages.ubuntu.com ,  use the search panel to get
> linux-libc-dev and  libc6-dev
> Under Linux both can be installed with
> $ sudo dpkg -i li*.deb
> 
> That done unpack the  martian-full-20071011.tar.gz ,
> $ tar zxf mar*.tar.gz
>  and move in
> $ cd  martian-full-20071011
> ALL that is then involved in the compiling and installation is:
> $ make clean
> $ make
> $ sudo make install
> 
> Read the included documentation on setting up the modem and dialing out.
> We will help as necessary
> 
> MarvS

Marv,
Thanks for the comprehensive instructions; they were extremely helpful!
I think I made a beginner mistake however. I followed your instructions
to the letter, everything seemed to be working, and then a bunch of
errors showed up. It looks like my "oops" was to not run everything from
root! Instead, I made a file deep into the system and started from
there. I copied the screen and will include it at the end of this email.
So, should I rm the martian-full-20071011 directory and then start over?
Or is there some other way to uninstall or otherwise reverse my mistake?

-----------------------Log of Events Follows---------------------------

dave@Ticon:~/Martian$ sudo dpkg -i libc6-dev_2.6.1-1ubuntu9_i386.deb
[sudo] password for dave:
Selecting previously deselected package libc6-dev.
(Reading database ... 89006 files and directories currently installed.)
Unpacking libc6-dev (from libc6-dev_2.6.1-1ubuntu9_i386.deb) ...
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on linux-libc-dev; however:
  Package linux-libc-dev is not installed.
dpkg: error processing libc6-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
dave@Ticon:~/Martian$ sudo dpkg -i linux-libc-dev_2.6.22-14.52_i386.deb
Selecting previously deselected package linux-libc-dev.
(Reading database ... 89490 files and directories currently installed.)
Unpacking linux-libc-dev (from linux-libc-dev_2.6.22-14.52_i386.deb) ...
Setting up linux-libc-dev (2.6.22-14.52) ...
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
dave@Ticon:~/Martian$ cd martian-full-2007
bash: cd: martian-full-2007: No such file or directory
dave@Ticon:~/Martian$ cd
dave@Ticon:~$ cd martian-full-2007
bash: cd: martian-full-2007: No such file or directory
dave@Ticon:~$ cd /home/dave/Martian/martian-full-20071011
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'
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'
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
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:122: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:122: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:126: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:126: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:129: error:
â??IR_SIGNIFICANTâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:129: error:
(Each undeclared identifier is reported only once
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:129: error:
for each function it appears in.)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:131: error:
â??IRâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:138: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:145: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:146: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:147: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:150: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:153: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:154: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:155: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:160: warning:
value computed is not used
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:165: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:171: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:172: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:172: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:174: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:175: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:184: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:185: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:185: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:194: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_releaseâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:235: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:245: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:262: error:
â??IRâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??dump_core_vars_commonâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:291: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:292: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:294: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:295: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:297: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:298: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:299: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: At top
level:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:304: warning:
â??struct martian_confâ?? declared inside parameter list
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:304: warning:
its scope is only this definition or declaration, which is probably not
what you want
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??fill_martian_confâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:308: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:309: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:310: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:312: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:313: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:314: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:315: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:317: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:319: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: At top
level:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:323: warning:
â??struct martian_irq_stateâ?? declared inside parameter list
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??fill_martian_irqâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:325: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:325: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:325: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:325: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:325: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:326: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:327: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_ioctlâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:371: error:
â??MARTIAN_CONF_GETâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:373: error:
storage size of â??confâ?? isnâ??t known
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:373: warning:
unused variable â??confâ??
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:378: error:
â??MARTIAN_IRQ_STATEâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:380: error:
storage size of â??irq_stateâ?? isnâ??t known
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:380: warning:
unused variable â??irq_stateâ??
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:385: error:
â??MARTIAN_DUMP_VARSâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:389: error:
â??MARTIAN_SERVE_IRQSâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:401: error:
â??MARTIAN_MODEM_READYâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:407: error:
â??MARTIAN_KDEBUGâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:412: error:
â??MARTIAN_TRUE_SMPâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:418: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:418: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:436: error:
â??MARTIAN_CHECK_SMPâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:445: error:
â??MARTIAN_SCREWUP_DCE_RXâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:446: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:450: error:
â??MARTIAN_FIFO_FAULTâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_mmapâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:505: error:
â??MCB_PAGESâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_readâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:559: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_configure_isrâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:615: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:616: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:617: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:619: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:622: error:
â??IRâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_addâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:644: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:653: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:653: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:653: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:653: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:653: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:653: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:660: warning:
â??deprecated_irq_flagâ?? is deprecated (declared at
include/linux/interrupt.h:66)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:660: warning:
â??deprecated_irq_flagâ?? is deprecated (declared at
include/linux/interrupt.h:66)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:663: warning:
passing argument 2 of â??request_irqâ?? from incompatible pointer type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:685: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:692: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:692: error:
â??MARTIAN_SIGNATUREâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:693: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:693: error:
â??MARTIAN_TSIGNATUREâ?? undeclared (first use in this function)
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:694: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:697: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:700: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:700: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:7ic/471/debug_ppp_negotiation.html

---------- end FOLLOW UP STEPS ---------------

/home/dave/Martian/martian-full-20071011/kmodule/martian.c:702: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:702: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:702: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:702: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:704: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:705: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:706: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:708: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:709: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:732: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_delâ??:
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:755: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c:761: error:
dereferencing pointer to incomplete type
/home/dave/Martian/martian-full-20071011/kmodule/martian.c: In function
â??martian_device_gatherinfoâ??:
/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
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
dave@Ticon:~/Martian/martian-full-20071011$ 


-- 
Dave Grandeffo



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

  Powered by Linux