[hcflinux] Re: Problems installing 5.03.03.L3mbsibeta02062500

Brian Dolan bdolan at thphys.may.ie
Fri Jul 5 16:24:31 EDT 2002


Hi,

 I have just downloaded 5.03.03.L3mbsibeta02062500 but I'm having
trouble installing it and I wonder if anyone can help?

 I am running Slackware linux with Kernel 2.2.16 on a SONY VAIO
notebook PCG-F807K which has a Conexant HSF winmodem.
I have previously installed hsflinmodem-4.06.06.02mbsibeta02022600
and it installed and ran OK but the system would hang when I hung up the
modem, so I wanted to try a newer version.  Here is what I did:

I downloaded hsflinmodem-5.03.03.L3mbsibeta02062500.tar.gz
and ran tar fxz on it.  When I ran "make install" (as root)
there was a problem because the file /lib/modules/2.2.16/build did
not exist (the directory /lib/modules/2.2.16 is there, of course).
I tried changing the file modules/common.mak so that

KERNELSRC= /lib/modules/$(shell uname -r)/build

was changed to

KERNELSRC= /usr/src/linux

"make install" then ran without any obvious errors.

Then there was a problem with hsfconfig because pm.h was not in
/usr/src/linux/include/linux but in the source
directory for the pcmcia module, which was in a different place
because I had previously upgraded the pcmcia modules (I am currently
using pcmcia-cs-3.1.23).  I copied
pm.h into /usr/src/linux/include/linux so that linuxres.c
could find it.

But hsfconfig still gives an error and it is not specific
enough for me to guess what to do next.  Here are the
contents of /tmp/hsfconfig-buildlog.txt:

rm -f *.o
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
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'

--- end of hsfconfiglog-buildlog.txt ----

Please can anyone suggest what to do?

Thanks

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 hcflinux mailing list