[hsflinux] Re: Problems installing beta02101001

Brian Dolan bdolan at thphys.may.ie
Fri Oct 18 11:59:15 EDT 2002


Hi,

 I am trying to install the HSF driver on a SONY VAIO F870K laptop,
running Slackware Linux (Kernel 2.2.16)

 I downloaded hsflinmodem-5.03.03.L3mbsibeta02101001.tar.gz
and unpacked it. From the hsflinmodem-5.03.03.L3mbsibeta02101001/
directory I ran "make install" as root with no errors, but when I run
"hsfconfig" I get an error when it tries to build the modules:

"ERROR: Module re-compilation and installation failed!"

Something appears to goe wrong with "linuxres.c".

Here is the output to the file "/tmp/hsfconfig-buildlog.txt":

rm -f *.o *.a
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
* Compiling mod_osspec.c
make -C osspec all
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
* Compiling osmemory.c
* Compiling osstring.c
* Compiling osdebug.c
* Compiling osfloat.c
* Compiling osstdio.c
* Compiling osmodule.c
* Compiling osnvm.c
* Compiling ostime.c
* Compiling linuxres.c
linuxres.c:112: parse error before `pm_request_t'
linuxres.c:112: warning: `struct pm_dev' declared inside parameter list
linuxres.c:112: warning: its scope is only this definition or declaration,
linuxres.c:112: warning: which is probably not what you want.
linuxres.c:113: warning: function declaration isn't a prototype
linuxres.c: In function `linux_pm_callback':
linuxres.c:114: `dev' undeclared (first use in this function)
linuxres.c:114: (Each undeclared identifier is reported only once
linuxres.c:114: for each function it appears in.)
linuxres.c:121: `rqst' undeclared (first use in this function)
linuxres.c:123: warning: unreachable code at beginning of switch statement
linuxres.c: In function `cnxthsf_LinuxInitPowerManagement':
linuxres.c:149: warning: passing arg 1 of `apm_register_callback' from
incompatible pointer type
linuxres.c:149: warning: assignment makes pointer from integer without a
cast
linuxres.c:151: dereferencing pointer to incomplete type
linuxres.c:147: warning: unused variable `pcidev'
linuxres.c: In function `cnxthsf_LinuxTermPowerManagement':
linuxres.c:160: warning: passing arg 1 of `apm_unregister_callback' from
incompatible pointer type
make[1]: *** [linuxres.o] Error 1
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
make: *** [osspec] Error 2

Can anyone help?

Brian Dolan

---------------------------------------------------------------------------
Brian Dolan                      Tel: +353 1 708 3762
Dept. of Mathematical Physics    Fax: +353 1 708 3967
NUI Maynooth                     e-mail: bdolan at stp.dias.ie
Home page:   http://www.thphys.may.ie/staff/bdolan/bdolan.html






More information about the hsflinux mailing list