Folks, Could some Mandriva User helh Nitin setup for compiling. He needs to install at least gcc. Nitin you could start with the Help Link at http://www.mandriva.com/ My personal knowledge is mostly with the Debian/Ubuntu related Distros. MarvS On Nov 18, 2007 2:41 AM, Nitin Niroula <nisalome@xxxxxxxxx> wrote: > Marvin, > How to get that and install in my distro? > > Waiting for your reply, > Nitin > > > > On Nov 18, 2007 9:31 AM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx > > wrote: > > RE: make[1]: gcc: Command not found > > You have to install a Mandriva supplied gcc package > > > > gcc is the engine that compiles scripts into binary code > > > > MarvS > > > > > > > > > > On Nov 17, 2007 10:16 PM, Nitin Niroula <nisalome@xxxxxxxxx > wrote: > > > Marvin, > > > > > > > > > I have pasted the output of commands below: > > > > > > > > > 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 > > > nisalome@linux-mmdg:~> cd slmodem* > > > nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> sudo make clean > > > root's password: > > > 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> sudo 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 > > > make[1]: gcc: Command not found > > > make[1]: *** [modem_main.o] Error 127 > > > make[1]: Leaving directory `/home/nisalome/slmodem- > 2.9.11-20070813/modem' > > > make: *** [modem] Error 2 > > > nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> sudo make install > > > make -C modem all > > > make[1]: Entering directory `/home/nisalome/slmodem- > 2.9.11-20070813/modem' > > > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c > modem_main.c > > > make[1]: gcc: Command not found > > > make[1]: *** [modem_main.o] Error 127 > > > make[1]: Leaving directory `/home/nisalome/slmodem- > 2.9.11-20070813/modem' > > > make: *** [modem] Error 2 > > > nisalome@linux-mmdg:~/slmodem-2.9.11-20070813> cd .. > > > nisalome@linux-mmdg:~> cd ungrab* > > > nisalome@linux-mmdg:~/ungrab-winmodem> sudo make clean > > > rm -f *.o *.ko *.mod.* .*.cmd *~ > > > rm -f -r .tmp_versions > > > 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> sudo 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_ not found. > > > linux-mmdg:/home/nisalome/ungrab-winmodem # cd .. > > > linux-mmdg:/home/nisalome # cd slmodem* > > > linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # modprobe slamr > > > FATAL: Error inserting slamr > > > (/lib/modules/2.6.22.5-31-default/extra/slamr.ko): Invalid module > > > format > > > linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # su root > > > linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # modprobe slamr > > > FATAL: Error inserting slamr > > > (/lib/modules/2.6.22.5-31-default/extra/slamr.ko): Invalid module > > > format > > > linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # # slmodemd -c USA > > > /dev/slamr0 > > > linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # # slmodemd -c USA > > > /dev/slamr0 > > > linux-mmdg:/home/nisalome/slmodem- 2.9.11-20070813 # > > > linux-mmdg:/home/nisalome/slmodem-2.9.11-20070813 # > > > > > > nisalome@linux-mmdg:~> wvdialconf /etc/wvdial.conf > > > Editing `/etc/wvdial.conf'. > > > > > > Scanning your serial ports for a modem. > > > > > > ttyS0<Info>: Device or resource busy > > > Modem Port Scan<*1>: S0 > > > ttyS1<Info>: Device or resource busy > > > Modem Port Scan<*1>: S1 > > > ttyS2<Info>: Device or resource busy > > > Modem Port Scan<*1>: S2 > > > ttyS3<Info>: Device or resource busy > > > Modem Port Scan<*1>: S3 > > > ttyS4<Info>: Device or resource busy > > > Modem Port Scan<*1>: S4 > > > ttyS5<Info>: Device or resource busy > > > Modem Port Scan<*1>: S5 > > > ttyS6<Info>: Device or resource busy > > > Modem Port Scan<*1>: S6 > > > ttyS7<Info>: Device or resource busy > > > Modem Port Scan<*1>: S7 > > > > > > > > > Sorry, no modem was detected! Is it in use by another program? > > > Did you configure it properly with setserial? > > > > > > Please read the FAQ at http://open.nit.ca/wiki/?WvDial > > > > > > If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>. > > > nisalome@linux-mmdg:~> > > > > > > > > > On Nov 17, 2007 7:30 PM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > wrote: > > > > Nitin > > > > > > > > Do > > > > $ su - root > > > > before using lsmod or modprobe COMMANDs > > > > > > > > MarvS > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Nov 17, 2007 7:42 AM, Nitin Niroula <nisalome@xxxxxxxxx > wrote: > > > > > Marvin, > > > > > > > > > > Still the modem did not work. The command that you told me to see > the > > > > > output didn't gave any, instead it said, command not found. I > checked > > > > > etc/wvdial.conf And I have pasted the result of it here. In windows, > I > > > > > see that the sm56 motorola modem is attached to com3. > > > > > > > > > > nisalome@linux-mmdg:/etc> cat wvdial.conf > > > > > > > > > > [Dialer Defaults] > > > > > Modem = /dev/modem > > > > > Baud = 57600 > > > > > Init1 = ATZ > > > > > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 > > > > > Init3 = > > > > > Area Code = > > > > > Phone = 0 > > > > > Username = > > > > > Password = > > > > > Ask Password = 0 > > > > > Dial Command = ATDT > > > > > Stupid Mode = 1 > > > > > Compuserve = 0 > > > > > Force Address = > > > > > Idle Seconds = 300 > > > > > DialMessage1 = > > > > > DialMessage2 = > > > > > ISDN = 0 > > > > > Auto DNS = 1 > > > > > nisalome@linux-mmdg:/etc> > > > > > > > > > > -- > > > > > nisaiah > > > > > > > > > > > > > > > > > > > > > -- > > > nisaiah > > > > > > > > > -- > nisaiah