--- Parameshwara Bhat <peebhat@xxxxxxxxx> wrote: > Hello List, > > I am trying to compile modem driver for smartlink > internal modem.I have > jumped from FC2 to FC4 and upto FC2, this source > tarball had no problem > compiling.Below I am producing the error message. > > [pbhat@sidharth slmodem-2.9.10]$ make > KERNEL_DIR=/usr/src/linux > make -C modem all > make[1]: Entering directory > `/home/pbhat/data/source/Installation/slmodem-2.9.10/modem' > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o > modem.o -c modem.c > modem.c: In function â??modem_resetâ??: > modem.c:1701: error: invalid storage class for > function â??sregs_initâ?? > modem.c:1713: warning: implicit declaration of > function â??sregs_initâ?? > modem.c: At top level: > modem.c:1727: error: static declaration of > â??sregs_initâ?? follows > non-static declaration > modem.c:1713: error: previous implicit declaration > of â??sregs_initâ?? was > here > make[1]: *** [modem.o] Error 1 > make[1]: Leaving directory > `/home/pbhat/data/source/Installation/slmodem-2.9.10/modem' > make: *** [modem] Error 2 > > I cannot presume any error in the source as this was > compiling fine in > FC2.I guess this could be due to GCC > incompatibility. > > [pbhat@sidharth slmodem-2.9.10]$ rpm -qa|grep gcc > libgcc-4.0.1-4.fc4 > gcc-c++-4.0.1-4.fc4 > compat-gcc-32-3.2.3-47.fc4 > gcc-4.0.1-4.fc4 > gcc-objc-4.0.1-4.fc4 > compat-gcc-32-c++-3.2.3-47.fc4 > gcc-gfortran-4.0.1-4.fc4 > How could this be solved? I understand smartlink > have frozen their support > for Linux at this level.The Alsa enabled version of > 'slmodemd' from Livna > repository also throws up error.My present kernel is > 2.6.13-1.1532_FC4. > > Thanks, > > Parameshwara Bhat > > > > -- > Using Opera's revolutionary e-mail client: > http://www.opera.com/mail/ > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: > https://www.redhat.com/mailman/listinfo/fedora-list > get the latest slmodem-??? and ungrabwinmodem.tar.gz and follow instructions given. Make sure that kernel-devel package is installed for 2.6.13-1.1532_FC4 otherwise compiling will fail when you run make KERNEL_DIR=/lib/modules/2.6.13-1.1532_FC4. http://linmodems.technion.ac.il/packages/smartlink/ Report success/failure. Best Regards, Antonio __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com