[hsflinux] Problem installing beta02110301

Brian Dolan bdolan at einstein4.thphys.may.ie
Tue Nov 5 09:35:29 EST 2002


Hi,

 I just downloaded hsflinmodem-5.03.03.L3mbsibeta02110301.tar.gz
and tried to install it on a SONY VAIO PCG-F807K, running
Slackware with kernel version 2.2.16.  Running "make install"
as root works fine, but I run "hsfconfig" it gets as far as:

"Re-compiling HSF modules for kernel 2.2.16, using source directory
/lib/modules/2.2.16/build. Please wait.."

and then fails with:

"ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why."

Below are the contents of the file "hsfconfig-buildlog.txt".
Apparently there is a problem with trying to compile "linuxres.c"

Can anyone help?

Thanks

Brian Dolan (bdolan at thphys.may.ie)

-- hsfconfig-buildlog.txt follows--

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


-- End of hsfconfig-buildlog.txt --



More information about the hsflinux mailing list