internal modem installation problem on sony vaio
i have sony vaiio vgn-s4m lap-top with an internal modem V90.
previously i had installed mdk 10.0 on it, and configured/installed this modem using slmodem-2.9.10.tar.gz.
this was working fine.
recently i installed mandriva 2006 [deleting mdk10.0], because i was told that as this is an advanced version, this detects
and installs most of the internal modem.
but it did not happened automatically. so i tried to configure/install it with the same tar ball and it is giving me errors
detailed as follows. please let me know what is this error? and how to correct it?
also i would like to know that if sonething can be easily done in earlier versions why it doesnt happen in so called advanced versions?
[root@localhost slmodem-2.9.10]# make
make -C modem all
make: Entering directory `/home/jayant/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’ w as here
make: *** [modem.o] Error 1
make: Leaving directory `/home/jayant/slmodem-2.9.10/modem'
make: *** [modem] Error 2