Re: Output after gcc

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

 



Nitin,
  Please send your queries to the List, not directly to me, so others
can provide answers when I am not online
(which is rare). Do register as a List member at www.linmodems.org, if
you haven't already.

Also if you ran scanModem on your new System, it will report what is
lacking for compiling support towards the end of ModemData.txt

RE: `/home/nisalome/slmodem-2.9.11-20070813/drivers'
cc -I/lib/modules/2.6.22.5-31-default/build/include -o kernel-ver kernel-ver.c
kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
make[1]: *** [kernel-ver] Error

Your compile failed because the needed kernel header package is not
installed.  On Mandrive, they are provided (old information) as part
of  kernel-source or linux-source  packages.

Just use your package manager as you did for the gcc install.

MarvS

On Nov 18, 2007 11:58 AM, Nitin Niroula <nisalome@xxxxxxxxx> wrote:
> Marvin,
>
> I was able to install packages from the dvd by using software
> management. I searche gcc and installed it. I have pasted the output
> of commands after installing it:
>
> nisalome@linux-mmdg:~> ls
> bin        public_html              slmodem-2.9.11-20070813.tar.gz
> Desktop    scanModem                ungrab-winmodem
> Documents  scanModem.gz             ungrab-winmodem_20070426.tar.gz
> Modem      slmodem-2.9.11-20070813  Unknown
> nisalome@linux-mmdg:~> cd sl*
> nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> make clean
> make -C modem clean &&  make -C drivers clean &&  echo "done."
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o
> modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o
> modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o
> dp_sinus.o dp_dummy.o sysdep_common.o
> rm -f *~ *.orig *.rej
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/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]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> done.
> nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> make all
> make -C modem all
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> rebuild profile...
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c modem_cmdline.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c
> modem_datafile.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
> modem_pack.c: In function 'modem_async_get_bits':
> modem_pack.c:100: warning: pointer targets in passing argument 2 of
> 'm->get_chars' differ in signedness
> modem_pack.c: In function 'modem_async_put_bits':
> modem_pack.c:148: warning: pointer targets in passing argument 2 of
> 'm->put_chars' differ in signedness
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
> modem_ec.c: In function 'tx_info':
> modem_ec.c:723: warning: pointer targets in passing argument 2 of
> 'l->modem->get_chars' differ in signedness
> modem_ec.c: In function 'push_rest_data':
> modem_ec.c:811: warning: pointer targets in passing argument 2 of
> 'l->modem->put_chars' differ in signedness
> modem_ec.c: In function 'rx_info':
> modem_ec.c:860: warning: pointer targets in passing argument 2 of
> 'l->modem->put_chars' differ in signedness
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c homolog_data.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c sysdep_common.c
> gcc  -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o
> modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o
> modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o
> dsplibs.o sysdep_common.o
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
> gcc  -o modem_test modem_test.o modem_cmdline.o modem.o
> modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
> modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
> dp_dummy.o dsplibs.o sysdep_common.o
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.22.5-31-default/build
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> cc -I/lib/modules/2.6.22.5-31-default/build/include -o kernel-ver kernel-ver.c
> kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
> make[1]: *** [kernel-ver] Error 1
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make: *** [drivers] Error 2
> nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> sudo make install
> root's password:
> make -C modem all
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.22.5-31-default/build
> make[1]: Entering directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> cc -I/lib/modules/2.6.22.5-31-default/build/include -o kernel-ver kernel-ver.c
> kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
> make[1]: *** [kernel-ver] Error 1
> make[1]: Leaving directory `/home/nisalome/slmodem-2.9.11-20070813/drivers'
> make: *** [drivers] Error 2
> nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> cd ..
> nisalome@linux-mmdg:~> cd un*
> nisalome@linux-mmdg:~/ungrab-winmodem> make clean
> rm -f *.o *.ko *.mod.* .*.cmd *~
> rm -f -r .tmp_versions
> nisalome@linux-mmdg:~/ungrab-winmodem> make all
> make modules -C /lib/modules/2.6.22.5-31-default/build
> SUBDIRS=/home/nisalome/ungrab-winmodem
> make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make[1]: *** No rule to make target `modules'.  Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make: *** [all] Error 2
> nisalome@linux-mmdg:~/ungrab-winmodem> sudo make install
> make modules -C /lib/modules/2.6.22.5-31-default/build
> SUBDIRS=/home/nisalome/ungrab-winmodem
> make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make[1]: *** No rule to make target `modules'.  Stop.
> make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
> make: *** [all] Error 2
> nisalome@linux-mmdg:~/ungrab-winmodem> su root
> Password:
> linux-mmdg:/home/nisalome/ungrab-winmodem # modprobe ungrab-winmodem
> FATAL: Module ungrab_winmodem not found.
> linux-mmdg:/home/nisalome/ungrab-winmodem # modeprobe slamr
> bash: modeprobe: command not found
> linux-mmdg:/home/nisalome/ungrab-winmodem # mknod -m 660 /dev/slamr0 c 242 0 2
> mknod: extra operand `2'
> Try `mknod --help' for more information.
> linux-mmdg:/home/nisalome/ungrab-winmodem # slmodemd -c USA /dev/slamr0
> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
> error: cannot setup device `/dev/slamr0'
> linux-mmdg:/home/nisalome/ungrab-winmodem # mknod -m 660 /dev/slamr0 242 0
> mknod: missing operand after `0'
> Try `mknod --help' for more information.
> linux-mmdg:/home/nisalome/ungrab-winmodem # cd ..
> linux-mmdg:/home/nisalome # cd sl*
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # mknod -m 660
> /dev/slamr0c 242 02
> mknod: missing operand after `02'
> Try `mknod --help' for more information.
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # mknoe --help
> bash: mknoe: command not found
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # mknod --help
> Usage: mknod [OPTION]... NAME TYPE [MAJOR MINOR]
> Create the special file NAME of the given TYPE.
>
> Mandatory arguments to long options are mandatory for short options too.
>   -m, --mode=MODE   set file permission bits to MODE, not a=rw - umask
>       --help     display this help and exit
>       --version  output version information and exit
>
> Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they
> must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x or 0X,
> it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal;
> otherwise, as decimal.  TYPE may be:
>
>   b      create a block (buffered) special file
>   c, u   create a character (unbuffered) special file
>   p      create a FIFO
>
> Report bugs to <bug-coreutils@xxxxxxx>.
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 #
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # slmodemd -c USA /dev/slamr0
> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
> error: cannot setup device `/dev/slamr0'
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # ls -|/dev/ttySL0 /dev/pts*
> bash: /dev/ttySL0: No such file or directory
> ls: cannot access -: No such file or directory
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # slmod | grep slamr
> bash: slmod: command not found
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # lsmod | grep slamr
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # lsmod | grep ungrab
> linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 #
>
>
>
> --
> nisaiah
>

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

  Powered by Linux