Re: Devinder, India, Ubuntu 7.04 Kernel 2.6.20-15- generic

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

 



Devinder,
There are header files (FileNames.h)  seated during the originalUbuntu install,within /usr/include/ ,The boot kernel version 2.6.20-15-generic is x86_64 capable, thoughnot x86_64 specificBut evident there are some x86_64 specific header files in/usr/include/  , which are needed for overall System functionality.These are used during the compile of slmodemd and the conflict withthe precompiled dsplib.o  are recognized and causes the failure.
Seems we are blocked for x86_64 service
MarvS.



On 7/27/07, D S <dsparmar@xxxxxxxxxx> wrote:>>> Hi  MarvS>> I installed  downloaded linux-kernel-devel along with dependent packages.> However    /slmodem-2.9.11-20070505$ make     came out with errors> pertaining to architecture  of input file dsplibs.o   in addition to other> warnings shown in the output appended below.   Problem is somewhat similar> to that of Louis>> Devinder>>>> devil@deboo-desktop:~$ cd slmodem-2.9.11-20070505>> devil@deboo-desktop:~/slmodem-2.9.11-20070505$ ls>> Changes drivers modem README slamr_compile.txt>> COPYING Makefile patches scripts Smartlink.txt>> devil@deboo-desktop:~/slmodem-2.9.11-20070505$ make clean>> make -C modem clean && make -C drivers clean && echo "done.">> make[1]: Entering directory `/home/devil/slmodem-2.9.11-20070505/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/devil/slmodem-2.9.11-20070505/modem'>> make[1]: Entering directory `/home/devil/slmodem-2.9.11-20070505/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/devil/slmodem-2.9.11-20070505/drivers'>> done.>>>> devil@deboo-desktop:~/slmodem-2.9.11-20070505$ make>> make -C modem all>> make[1]: Entering directory `/home/devil/slmodem-2.9.11-20070505/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>> modem_debug.c: In function '˜modem_debug_log_data'™:>> modem_debug.c:75: warning: cast from pointer to integer of different size>> 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>> /usr/bin/ld: warning: i386 architecture of input file `dsplibs.o' is> incompatible with i386:x86-64 output>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x32480): undefined reference to `__moddi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x324b6): undefined reference to `__divdi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x324d7): undefined reference to `__moddi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x32504): undefined reference to `__divdi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x32527): undefined reference to `__moddi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x32552): undefined reference to `__divdi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x32575): undefined reference to `__moddi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x325a0): undefined reference to `__divdi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x325c1): undefined reference to `__moddi3'>> dsplibs.o: In function `ModulusEncoder::progress(unsigned> char*, unsigned int*)':>> (.text+0x325ee): undefined reference to `__divdi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3dddc): undefined reference to `__moddi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3de04): undefined reference to `__divdi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3de2a): undefined reference to `__moddi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3de52): undefined reference to `__divdi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3de78): undefined reference to `__moddi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3dea0): undefined reference to `__divdi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3dec6): undefined reference to `__moddi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3deee): undefined reference to `__divdi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3df14): undefined reference to `__moddi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3df3e): undefined reference to `__divdi3'>> dsplibs.o: In function> `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':>> (.text+0x3df6f): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x55df3): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x55e23): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x55f6b): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x55fa9): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56100): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56132): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5614a): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x561ac): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56210): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5625a): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x562a5): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x562c9): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x562fe): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56322): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56353): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56379): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x563aa): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x563ce): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56403): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56427): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56458): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5647c): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x564b1): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x564d3): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56506): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5652c): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5655d): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56581): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x565b4): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x565fe): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56626): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56658): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x566b3): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56709): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5672d): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x5684a): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56876): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56909): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56950): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56974): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56a5a): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56a8c): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56aab): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56adf): undefined reference to `__divdi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56b0b): undefined reference to `__moddi3'>> dsplibs.o: In function> `V92ModulusEncoder::progress(unsigned char*, unsigned> int*)':>> (.text+0x56b64): undefined reference to `__divdi3'>> collect2: ld returned 1 exit status>> make[1]: *** [slmodemd] Error 1>> make[1]: Leaving directory `/home/devil/slmodem-2.9.11-20070505/modem'>> make: *** [modem] Error 2>> devil@deboo-desktop:~/slmodem-2.9.11-20070505$>>>>>>>> -----Original Message-----> From: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>> Sent 7/17/2007 4:56:44 PM> To: "D S Parmar" <dsparmar@xxxxxxxxxx>> Cc: Discuss@xxxxxxxxxxxxx> Subject: Re: Devinder, India, Ubuntu 7.04 Kernel 2.6.20-15- generic>> Devinder Re: gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c> modem_main.c modem_main.c:45:20: error: unistd.h: No such file or directory> modem_main.c:46:20: error: stdlib.h: No such file or directory ----------> Usually enough of FileNames.h are installed standardly to support the> compile of first slmodemd and then slamr.ko + slusb.ko. But evidently this> did not occur for your x86_64 system. So there is still needed a package:> linux-kernel-devel If not on your install CD, go to> http://packages.ubuntu.com and search for it, leading to:> http://packages.ubuntu.com/feisty/devel/linux-kernel-devel> Download it and any of the dependent packages your System may need to single> Linux folder. Then they can all be installed from therein with: $ sudo dpkg> -i *.deb After this installation try again within the> :~/slmodem-2.9.11-20070505$ make clean make and if successful, the sudo make> install That done: $ sudo modprobe ungrab-winmodem $ sudo modprobe slamr> etc. MarvS --------- On 7/16/07, D S Parmar wrote: > MarvS, > > I deleted> the old drivers. I tried installing > linux-headers-2.6.20-15-generic and >> linux-headers-2.6.20-15 from install CD. The response was : > >> linux-headers-2.6.20-15-generic is already the newest version. > 0 upgraded,> 0 newly installed, 0 to remove and 0 not upgraded. > Tried installing> separately linux-headers-2.6.20-15 with same response > as above. > >> Checked my gcc support with output as follows: > devil@deboo-desktop:~$ ls> -l /usr/bin/gcc* > lrwxrwxrwx 1 root root 7 2007-07-02 03:53 /usr/bin/gcc ->> gcc-4.1 > -rwxr-xr-x 1 root root 210320 2007-03-03 15:32 /usr/bin/gcc-4.1 >> lrwxrwxrwx 1 root root 10 2007-07-02 03:53 /usr/bin/gccbug -> > gccbug-4.1 >> -rwxr-xr-x 1 root root 16274 2007-03-03 15:29 /usr/bin/gccbug-4.1 >> -rwxr-xr-x 1 root root 2018 2006-12-20 20:13 /usr/bin/gccmakedep > >> Unpacked ungrab-winmodem-20070505.tar.gz and >> slmodem-2.9.11-20070505.tar.gz in my home folder devil@deboo-desktop. > >> Next compiled and installed ungrab-winmodem-20070505 as follows : > >> devil@deboo-desktop:~$ cd ungrab-winmodem-20070505 > >> devil@deboo-desktop:~/ungrab-winmodem-20070505$ ls > Makefile> Modules.symvers Module.symvers Readme.txt ungrab-winmodem.c >> devil@deboo-desktop:~/ungrab-winmodem-20070505$ make clean > rm -f *.o *.ko> *.mod.* .*.cmd *~ > rm -f -r .tmp_versions > >> devil@deboo-desktop:~/ungrab-winmodem-20070505$ make > make modules -C> /lib/modules/2.6.20-15-generic/build >> SUBDIRS=/home/devil/ungrab-winmodem-20070505 > make[1]:> Entering directory `/usr/src/linux-headers-2.6.20-15-generic' > CC [M]> /home/devil/ungrab-winmodem-20070505/ungrab-winmodem.o >> Building modules, stage 2. > MODPOST 1 modules > CC> /home/devil/ungrab-winmodem-20070505/ungrab-winmodem.mod.o> > LD [M]> /home/devil/ungrab-winmodem-20070505/ungrab-winmodem.ko >> make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic' > >> devil@deboo-desktop:~/ungrab-winmodem-20070505$ sudo make install >> Password: > make modules -C> /lib/modules/2.6.20-15-generic/build >> SUBDIRS=/home/devil/ungrab-winmodem-20070505 > make[1]:> Entering directory `/usr/src/linux-headers-2.6.20-15-generic' > Building> modules, stage 2. > MODPOST 1 modules > make[1]: Leaving directory> `/usr/src/linux-headers-2.6.20-15-generic' > install -D -m 644> ungrab-winmodem.ko >> /lib/modules/2.6.20-15-generic/extra/ungrab-winmodem.ko >> /sbin/depmod -a > > > Before repeating this procedure for> slmodem-2.9.11-20070505 I jumped to > loading the driver by $ sudo modprobe> ungrab-winmodem as follows: > >> devil@deboo-desktop:~/ungrab-winmodem-20070505$ sudo modprobe >> ungrab-winmodem > devil@deboo-desktop:~/ungrab-winmodem-20070505$cd ../ > >> Then I did same on slmodem-2.9.11-20070505as follows; > >> devil@deboo-desktop:~$ cd slmodem-2.9.11-20070505 > >> devil@deboo-desktop:~/slmodem-2.9.11-20070505$ ls > Changes drivers modem> README slamr_compile.txt > COPYING Makefile patches scripts Smartlink.txt >> > devil@deboo-desktop:~/slmodem-2.9.11-20070505$ make clean > make -C modem> clean && make -C drivers clean && echo "done." > make[1]: Entering directory> `/home/devil/slmodem-2.9.11-20070505/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/devil/slmodem-2.9.11-20070505/modem' > make[1]: Entering directory >> `/home/devil/slmodem-2.9.11-20070505/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/devil/slmodem-2.9.11-20070505/drivers' > done. > > However problem> started with following : > > devil@deboo-desktop:~/slmodem-2.9.11-20070505$> make > make -C modem all > make[1]: Entering directory> `/home/devil/slmodem-2.9.11-20070505/modem' > rebuild profile... > gcc -Wall> -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c > modem_main.c >> modem_main.c:45:20: error: unistd.h: No such file or directory >> modem_main.c:46:20: error: stdlib.h: No such file or directory >> modem_main.c:47:19: error: stdio.h: No such file or directory >> modem_main.c:48:20: error: string.h: No such file or directory >> modem_main.c:49:19: error: errno.h: No such file or directory >> modem_main.c:50:21: error: termios.h: No such file or directory >> modem_main.c:51:19: error: fcntl.h: No such file or directory >> modem_main.c:52:23: error: sys/types.h: No such file or directory >> modem_main.c:53:22: error: sys/stat.h: No such file or directory >> modem_main.c:54:23: error: sys/ioctl.h: No such file or directory >> modem_main.c:55:22: error: sys/mman.h: No such file or directory >> modem_main.c:56:19: error: sched.h: No such file or directory >> modem_main.c:57:20: error: signal.h: No such file or directory > In file> included from >> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/syslimits.h:7,> > from >> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/limits.h:11, >> from modem_main.c:58: >> /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/limits.h:122:61:> error: > limits.h: No such file or directory > modem_main.c:59:17: error:> grp.h: No such file or directory > In file included from ./modem.h:49, >> from modem_main.c:70: > ./modem_defs.h:50: error: expected â€?=’, â€?,’,> â€?;’, â€?asm’ > or â€?__attribute__’ before â€?u8’ >> ./modem_defs.h:51: error: expected â€?=’, â€?,’, â€?;’, â€?asm’ > or> â€?__attribute__’ before â€?u16’ > ./modem_defs.h:52: error: expected> â€?=’, â€?,’, â€?;’, â€?asm’ > or â€?__attribute__’ before> â€?u32’ > ./modem_defs.h:54: error: expected â€?=’, â€?,’, â€?;’,> â€?asm’ > or â€?__attribute__’ before â€?s8’ > ./modem_defs.h:55:> error: expected â€?=’, â€?,’, â€?;’, â€?asm’ > or> â€?__attribute__’ before â€?s16’ > ./modem_defs.h:56: error: expected> â€?=’, â€?,’, â€?;’, â€?asm’ > or â€?__attribute__’ before> â€?s32’ > In file included from ./modem.h:50, > from modem_main.c:70: >> ./modem_homolog.h:53: error: expected specifier-qualifier-list before >> â€?u8’ > ./modem_homolog.h:103: error: expected â€?:’, â€?,’, â€?;’,> > â€?}’ or â€?__attribute__’ before â€?id’ > In file included from> ./modem.h:51, > from modem_main.c:70: > ./modem_dp.h:82: error: expected> declaration specifiers or â€?...’ > before â€?u8’ > ./modem_dp.h:83:> error: expected declaration specifiers or â€?...’ > before â€?u8’ > In> file included from modem_main.c:70: > ./modem.h:138: error: expected> specifier-qualifier-list before â€?u16’ > ./modem.h:174: error: expected> declaration specifiers or â€?...’ > before â€?u8’ > ./modem.h:175:> error: expected declaration specifiers or â€?...’ > before â€?u8’ >> ./modem.h:191: error: expected specifier-qualifier-list before â€?u16’ >> ./modem.h:219: error: expected specifier-qualifier-list before â€?u8’ >> ./modem.h:263: error: field â€?termios’ has incomplete type >> ./modem.h:319: error: expected specifier-qualifier-list before â€?u8’ >> ./modem.h:340: error: expected specifier-qualifier-list before â€?u32’ >> ./modem.h:342: error: expected declaration specifiers or â€?...’ > before> â€?u8’ > ./modem.h:343: error: expected declaration specifiers or> â€?...’ > before â€?u8’ > ./modem.h:354: error: expected> specifier-qualifier-list before â€?u8’ > ./modem.h:371: error: expected> specifier-qualifier-list before â€?u8’ > ./modem.h:436: error: expected> declaration specifiers or â€?...’ > before â€?u8’ > ./modem.h:437:> error: expected declaration specifiers or â€?...’ > before â€?u8’ >> ./modem.h:439: error: expected declaration specifiers or â€?...’ > before> â€?u8’ > ./modem.h:440: error: expected declaration specifiers or> â€?...’ > before â€?u8’ > ./modem.h:442: error: expected declaration> specifiers or â€?...’ > before â€?u8’ > ./modem.h:443: error: expected> declaration specifiers or â€?...’ > before â€?u8’ > modem_main.c:98:> error: expected â€?=’, â€?,’, â€?;’, â€?asm’ or >> â€?__attribute__’ before â€?modem_perm’ > modem_main.c: In function> â€?modemap_start’: > modem_main.c:555: warning: implicit declaration of> function â€?ioctl’ > modem_main.c:559: warning: implicit declaration of> function â€?memset’ > modem_main.c:559: warning: incompatible implicit> declaration of built-in > function â€?memset’ > modem_main.c:560: warning:> implicit declaration of function â€?write’ > modem_main.c: In function> â€?mdm_device_read’: > modem_main.c:602: warning: implicit declaration of> function â€?read’ > modem_main.c: In function â€?mdm_device_setup’: >> modem_main.c:616: error: storage size of â€?stbuf’ isn’t known >> modem_main.c:618: warning: incompatible implicit declaration of built-in >> function â€?memset’ > modem_main.c:619: warning: implicit declaration of> function â€?stat’ > modem_main.c:621: warning: implicit declaration of> function > â€?fprintf’ > modem_main.c:621: warning: incompatible implicit> declaration of built-in > function â€?fprintf’ > modem_main.c:621: error:> â€?stderr’ undeclared (first use in this > function) > modem_main.c:621:> error: (Each undeclared identifier is reported only > once >> modem_main.c:621: error: for each function it appears in.) >> modem_main.c:621: warning: implicit declaration of function > â€?strerror’> > modem_main.c:621: error: â€?errno’ undeclared (first use in this >> function) > modem_main.c:621: warning: format â€?%s’ expects type â€?char> *’, > but argument 4 has type â€?int’ > modem_main.c:624: warning:> implicit declaration of function > â€?S_ISCHR’ > modem_main.c:625:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:629: warning: implicit declaration of function> â€?open’ > modem_main.c:629: error: â€?O_RDWR’ undeclared (first use in> this > function) > modem_main.c:631: warning: incompatible implicit> declaration of built-in > function â€?fprintf’ > modem_main.c:631:> warning: format â€?%s’ expects type â€?char *’, > but argument 4 has> type â€?int’ > modem_main.c:635: warning: implicit declaration of function> â€?minor’ > modem_main.c:616: warning: unused variable â€?stbuf’ >> modem_main.c: In function â€?mdm_device_release’: > modem_main.c:641:> warning: implicit declaration of function â€?close’ > modem_main.c: At top> level: > modem_main.c:651: error: â€?PATH_MAX’ undeclared here (not in a >> function) > modem_main.c: In function â€?create_pty’: > modem_main.c:655:> error: storage size of â€?termios’ isn’t known > modem_main.c:662:> warning: implicit declaration of function â€?getpt’ > modem_main.c:663:> warning: implicit declaration of function > â€?grantpt’ >> modem_main.c:663: warning: implicit declaration of function > â€?unlockpt’> > modem_main.c:664: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:664: error: â€?stderr’ undeclared> (first use in this > function) > modem_main.c:664: error: â€?errno’> undeclared (first use in this > function) > modem_main.c:664: warning:> format â€?%s’ expects type â€?char *’, > but argument 3 has type> â€?int’ > modem_main.c:672: warning: implicit declaration of function >> â€?tcgetattr’ > modem_main.c:674: warning: implicit declaration of> function > â€?cfmakeraw’ > modem_main.c:675: warning: implicit declaration> of function > â€?cfsetispeed’ > modem_main.c:675: error: â€?B115200’> undeclared (first use in this > function) > modem_main.c:676: warning:> implicit declaration of function > â€?cfsetospeed’ > modem_main.c:679:> warning: implicit declaration of function > â€?tcsetattr’ >> modem_main.c:679: error: â€?TCSANOW’ undeclared (first use in this >> function) > modem_main.c:681: warning: incompatible implicit declaration of> built-in > function â€?fprintf’ > modem_main.c:681: warning: format> â€?%s’ expects type â€?char *’, > but argument 3 has type â€?int’ >> modem_main.c:685: warning: implicit declaration of function â€?fcntl’ >> modem_main.c:685: error: â€?F_SETFL’ undeclared (first use in this >> function) > modem_main.c:685: error: â€?O_NONBLOCK’ undeclared (first use> in this > function) > modem_main.c:687: warning: implicit declaration of> function > â€?ptsname’ > modem_main.c:687: warning: assignment makes> pointer from integer without > a cast > modem_main.c:695: warning: implicit> declaration of function > â€?getgrnam’ > modem_main.c:695: warning:> initialization makes pointer from integer > without a cast >> modem_main.c:697: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:697: warning: format â€?%s’ expects> type â€?char *’, > but argument 4 has type â€?int’ > modem_main.c:701:> warning: implicit declaration of function â€?chown’ > modem_main.c:701:> error: dereferencing pointer to incomplete type > modem_main.c:703: warning:> incompatible implicit declaration of built-in > function â€?fprintf’ >> modem_main.c:703: warning: format â€?%s’ expects type â€?char *’, > but> argument 5 has type â€?int’ > modem_main.c:709: warning: implicit> declaration of function â€?chmod’ > modem_main.c:709: error:> â€?modem_perm’ undeclared (first use in this > function) >> modem_main.c:711: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:711: warning: format â€?%s’ expects> type â€?char *’, > but argument 5 has type â€?int’ > modem_main.c:716:> warning: implicit declaration of function â€?unlink’ > modem_main.c:717:> warning: implicit declaration of function > â€?symlink’ >> modem_main.c:718: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:718: warning: format â€?%s’ expects> type â€?char *’, > but argument 5 has type â€?int’ > modem_main.c:723:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:655: warning: unused variable â€?termios’ >> modem_main.c: At top level: > modem_main.c:743: error: expected â€?=’,> â€?,’, â€?;’, â€?asm’ > or â€?__attribute__’ before> â€?keep_running’ > modem_main.c: In function â€?mark_termination’: >> modem_main.c:748: error: â€?keep_running’ undeclared (first use in > this> function) > modem_main.c: In function â€?modem_run’: > modem_main.c:754:> error: storage size of â€?tmo’ isn’t known > modem_main.c:755: error:> â€?fd_set’ undeclared (first use in this > function) > modem_main.c:755:> error: expected â€?;’ before â€?rset’ > modem_main.c:756: error: storage> size of â€?termios’ isn’t known > modem_main.c:762: error:> â€?keep_running’ undeclared (first use in > this function) >> modem_main.c:774: warning: implicit declaration of function > â€?FD_ZERO’> > modem_main.c:774: error: â€?rset’ undeclared (first use in this >> function) > modem_main.c:775: error: â€?eset’ undeclared (first use in> this > function) > modem_main.c:777: warning: implicit declaration of> function â€?FD_SET’ > modem_main.c:792: warning: implicit declaration of> function â€?select’ > modem_main.c:792: error: â€?NULL’ undeclared> (first use in this > function) > modem_main.c:795: error: â€?errno’> undeclared (first use in this > function) > modem_main.c:795: error:> â€?EINTR’ undeclared (first use in this > function) > modem_main.c:797:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:797: error: â€?stderr’ undeclared (first use> in this > function) > modem_main.c:797: warning: format â€?%s’ expects> type â€?char *’, > but argument 3 has type â€?int’ > modem_main.c:804:> warning: implicit declaration of function > â€?FD_ISSET’ >> modem_main.c:815: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:815: warning: format â€?%s’ expects> type â€?char *’, > but argument 3 has type â€?int’ > modem_main.c:825:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:825: warning: format â€?%s’ expects type> â€?char *’, > but argument 3 has type â€?int’ > modem_main.c:850:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:850: warning: format â€?%s’ expects type> â€?char *’, > but argument 3 has type â€?int’ > modem_main.c:859:> warning: incompatible implicit declaration of built-in > function> â€?memset’ > modem_main.c:862: warning: incompatible implicit declaration> of built-in > function â€?fprintf’ > modem_main.c:862: warning: format> â€?%s’ expects type â€?char *’, > but argument 3 has type â€?int’ >> modem_main.c:866: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:877: warning: implicit declaration of> function â€?memcmp’ > modem_main.c:889: error: â€?EAGAIN’ undeclared> (first use in this > function) > modem_main.c:893: error: â€?EIO’> undeclared (first use in this > function) > modem_main.c:896: error:> â€?HUPCL’ undeclared (first use in this > function) > modem_main.c:901:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:913: warning: incompatible implicit declaration> of built-in > function â€?fprintf’ > modem_main.c:913: warning: format> â€?%s’ expects type â€?char *’, > but argument 3 has type â€?int’ >> modem_main.c:922: warning: incompatible implicit declaration of built-in >> function â€?fprintf’ > modem_main.c:756: warning: unused variable> â€?termios’ > modem_main.c:754: warning: unused variable â€?tmo’ >> modem_main.c: In function â€?modem_main’: > modem_main.c:940: warning:> implicit declaration of function > â€?basename’ > modem_main.c:940:> warning: passing argument 1 of â€?modem_debug_init’ > makes pointer from> integer without a cast > modem_main.c:944: warning: incompatible implicit> declaration of built-in > function â€?fprintf’ > modem_main.c:944: error:> â€?stderr’ undeclared (first use in this > function) > modem_main.c:945:> warning: implicit declaration of function â€?exit’ > modem_main.c:945:> warning: incompatible implicit declaration of built-in > function â€?exit’> > modem_main.c:953: warning: implicit declaration of function >> â€?sprintf’ > modem_main.c:953: warning: incompatible implicit declaration> of built-in > function â€?sprintf’ > modem_main.c:955: warning: passing> argument 2 of â€?modem_create’ > makes pointer from integer without a cast> > modem_main.c:956: warning: assignment makes pointer from integer without >> a cast > modem_main.c:962: warning: incompatible implicit declaration of> built-in > function â€?fprintf’ > modem_main.c:963: warning: incompatible> implicit declaration of built-in > function â€?exit’ > modem_main.c:966:> warning: incompatible implicit declaration of built-in > function> â€?fprintf’ > modem_main.c:969: warning: format â€?%s’ expects type> â€?char *’, > but argument 3 has type â€?int’ > modem_main.c:973: error:> storage size of â€?prm’ isn’t known > modem_main.c:974: warning:> implicit declaration of function > â€?mlockall’ > modem_main.c:974: error:> â€?MCL_CURRENT’ undeclared (first use in this > function) >> modem_main.c:974: error: â€?MCL_FUTURE’ undeclared (first use in this >> function) > modem_main.c:975: error: â€?errno’ undeclared (first use in> this > function) > modem_main.c:975: warning: format â€?%s’ expects type> â€?char *’, > but argument 3 has type â€?int’ > modem_main.c:977:> warning: implicit declaration of function > â€?sched_get_priority_max’ >> modem_main.c:977: error: â€?SCHED_FIFO’ undeclared (first use in this >> function) > modem_main.c:978: warning: implicit declaration of function >> â€?sched_setscheduler’ > modem_main.c:979: warning: format â€?%s’> expects type â€?char *’, > but argument 3 has type â€?int’ >> modem_main.c:973: warning: unused variable â€?prm’ > modem_main.c:984:> warning: implicit declaration of function â€?signal’ > modem_main.c:984:> error: â€?SIGINT’ undeclared (first use in this > function) >> modem_main.c:985: error: â€?SIGTERM’ undeclared (first use in this >> function) > modem_main.c:998: warning: implicit declaration of function> â€?usleep’ > modem_main.c:1011: warning: incompatible implicit declaration> of > built-in function â€?exit’ > modem_main.c:934: warning: unused> variable â€?path_name’ > make[1]: *** [modem_main.o] Error 1 > make[1]:> Leaving directory `/home/devil/slmodem-2.9.11-20070505/modem' > make: ***> [modem] Error 2 > devil@deboo-desktop:~/slmodem-2.9.11-20070505$ > >> Devinder > > -----Original Message----- > From: Marvin Stodolsky> [mailto:marvin.stodolsky@xxxxxxxxx] > Sent: Saturday, July 14, 2007 11:53 PM> > To: D S Parmar > Cc: Discuss@xxxxxxxxxxxxx > Subject: Re: Devinder, India,> Ubuntu 7.04 Kernel 2.6.20-15- generic > > Devinder, > > Would you please try> compiling the drivers on your own x86_64 PC > First delete the old drivers:> > PLACE=/lib/modules/2.6.20-15-generic/extra/ > $ ls $PLACE> > should show the drivers. Delete them: > $ sudo rm $PLACE/*.ko > $ ls> $PLACE > > Next with the install CD in place do: > $ sudo apt-get install> linux-headers-2.6.20-15-generic > which should install packages> linux-headers-2.6.20-15-generic and > linux-headers-2.6.20-15 > > Check what> your gcc support is with: > marv@marvdesk:~$ ls -l /usr/bin/gcc* > The> cogent output on my System is: > lrwxrwxrwx 1 root root 7 2007-04-28 14:18> /usr/bin/gcc -> gcc-4.1 > -rwxr-xr-x 1 root root 183904 2007-03-02 21:52> /usr/bin/gcc-4.1 > > Then from> http://phep2.technion.ac.il/linmodems/packages/smartlink/ >> get the ungrab-winmodem-20070505.tar.gz and > slmodem-2.9.11-20070505.tar.gz> > Copy into your home folder under Linux, Then unpack with: > $ tar zxf> un*.tar.gz slamr*.tar.gz > $ ls should show two new folders/ > > move into> the folder: > $ cd ungrab-winmodem-20070505 > $ ls > $ make clean > $ make >> should compile ungrab-winmodem.ko Check with: > $ ls -l *.ko > If present,> install: > $ sudo make install > Back out: > $ cd ../ > > Similarly for the> slmodem-2.9.11-20070505 folder > $ cd slmodem-2.9.11-20070505 > $ ls > $> make clean > $ make > $ sudo make install > > Try driver loading: > $ sudo> modprobe ungrab-winmodem > $ sudo modprobe slamr > > If they load: > $ sudo> slmodemd -c INDIA /dev/slamr0 > should setup the modem. If so try: > > $> sudo wvdialconf /etc/wvdial.conf. > Report back. > > Note that upon each> reboot,you will have to: > $ sudo mknod -m 600 /dev/slamr0 c 242 0 > through> we can automate this later. > > MarvS > > > > > On 7/9/07, Marvin Stodolsky> wrote: > > DS > > > > PCI slot PCI ID SubsystemID Name > > ----------> --------- --------- -------------- > > 04:04.0 1057:3052 1057:3020 Modem:> Motorola > Unknown device 3052 > > under CPU=x86_64, Ubuntu 7.04 Linux> version 2.6.20-15-generic > > > > there may be support by the slamr driver +> slmodemd helper package > > > > 1057:3052 has a Motorola chipset, poorly> supported by Motorola itself > > However Zello discovered that drivers> written to support Smartlink > modems do s > > upport the 1057:3052> chipset!! > > It sufficed to add 1057:3052 to the list of modem cards> recognized by > the Smart > > link slamr driver. > > There is a> ungrab-winmodem driver used in conjunction with slamr, > which must ha > >> ve 1057:3052 > > similarly added. See messages from Zello: > > >> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00846.html> > > >> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00848.html> > > and Alvaro Aguirre about the ungrab-winmodem fix: > > >> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00990.html> > > > > For general guidance on ungrab-winmodem + slamr usage, read the >> Smartlink.txt > > within the slamr-2.6.20-15-generic.tar.gz which can be> downloaded from > >> http://phep2.technion.ac.il/linmodems/packages/smartlink/Ubuntu/> > > > > Unpack with: > > $ tar zxf slamr*.tar.gz > > Move into the folder: >> > $ cd slamr-2.6.20-15-generic > > Browse the files. Then > > $ sudo ./setup> > > Follow the output directions. > > With: > > $ sudo gedit> /etc/default/sl-modem-daemon > > change > > SLMODEMD_COUNTRY=USA > > into >> > SLMODEMD_COUNTRY=INDIA > > > > Upon reboot you should be able to dialout> with: > > $ sudo wvdial > > > > MarvS > > scanModem maintainer > > > > > > >> > > > On 7/9/07, D S Parmar wrote: > > > > > > > > > > > > >> -----------------------------DISCLAIMER----------------------------> > > This Message and any attachments (the "message") is intended solely >> for the addressees and is confidential. If you receive this message > in> error, please delete it and immediately notify the sender. Any > use not in> accord with its Purpose, any dissemination or disclosure, > either whole or> partial, is Prohibited except formal approval. > The internet cannot> guarantee the integrity of this message. BSNL > shall (will) not therefore> be liable for the message if modified. > >

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

  Powered by Linux