Help with compilation

Parameshwara Bhat peebhat at gmail.com
Sun Oct 23 17:47:10 UTC 2005


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 at 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 at 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/




More information about the fedora-list mailing list