Re: martain code update

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

 



Doug

Install the package libc6-dev if not already on your System.

Within the martian folder then run:
$ make clean
or if necessary
$ sudo make clean
Always do such a precautionary "make clean" in a code package,
or old components can mislead during a new run.

Left us know it there is still a problem afterward.

MarvS


On 3/13/07, Douglass Morin <douglass.morin@xxxxxxxxx> wrote:
I did run into a problem with installing the martain code, but then
someone directed that I needed to install the latest kernal header.
After that, the problem went away, only pulling another one in its
wake.

With the Readme install that is provided, I am able to get about half
of the way before recieving an error.  I can run the make all, make
install (under root), but then when i go to load the modprobe
martain_dev it gives me an error.  The specifics are listed below.


Thanks,
Doug

|---------------------------------------------------------------------------------|
me@me-desktop:~$ su me
Password:
me@me-desktop:~$ cd /home/me/myMartain
me@me-desktop:~/myMartain$ make all
make -C kmodule/ modules
make[1]: Entering directory `/home/me/myMartain/kmodule'
make -C /lib/modules/2.6.15-28-386/build M="/home/me/myMartain/kmodule" modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-28-386'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-28-386'
make[1]: Leaving directory `/home/me/myMartain/kmodule'
make -C modem/ all
make[1]: Entering directory `/home/me/myMartain/modem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/me/myMartain/modem'
me@me-desktop:~/myMartain$ su root
Password:
root@me-desktop:/home/me/myMartain# make install
make -C kmodule/ install
make[1]: Entering directory `/home/me/myMartain/kmodule'
make -C /lib/modules/2.6.15-28-386/build
M="/home/me/myMartain/kmodule" modules_install
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-28-386'
  INSTALL /home/me/myMartain/kmodule/martian_dev.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-28-386'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make[1]: Leaving directory `/home/me/myMartain/kmodule'
make -C modem/ install
make[1]: Entering directory `/home/me/myMartain/modem'
    INSTALL     /usr/sbin/martian_modem
    INSTALL     /usr/lib/debug/usr/sbin/martian_modem.debug
make[1]: Leaving directory `/home/me/myMartain/modem'
root@me-desktop:/home/me/myMartain# modprobe martain_dev
FATAL: Module martain_dev not found.
root@me-desktop:/home/me/myMartain# modprobe martain_dev.ko
FATAL: Module martain_dev.ko not found.
root@me-desktop:/home/me/myMartain# modprobe martain_dev
FATAL: Module martain_dev not found.
root@me-desktop:/home/me/myMartain# modprobe /home/me/modem/martain_dev
FATAL: Module /home/me/modem/martain_dev not found.
root@me-desktop:/home/me/myMartain# martain_modem
bash: martain_modem: command not found
|---------------------------------------------------------------------------------------|


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

  Powered by Linux