[hcflinux] problems with a debian (linex) version

Kevin Ross Kevin at FamilyRoss.net
Tue Jan 21 15:31:33 EST 2003


I'm using the driver just fine with Debian Woody.  You didn't say much about
your configuration.  You need the kernel-headers package installed to build
the hcf driver.  Try:

# apt-get install kernel-headers-2.4.18
# ln -s /usr/src/kernel-headers-2.4.18 /lib/modules/2.4.18/build

and then try hcfpciconfig again.

Let us know if you continue to have problems.

-- Kevin


----- Original Message -----
From: David Garcia
To: hcflinux at lists.mbsi.ca
Sent: Tuesday, January 21, 2003 8:00 AM
Subject: [hcflinux] problems with a debian (linex) version


hello there.
i'm trying to make my conexant hcf modem run under Debian Woody (Linex
version) and i've been able to manage all the problems i was having during
the way until this moment... after running the hcfpciconfig, when it seems
everything went fine, until i get an error recompiling the kernel, tell me
to look the error log , and that's what i find... and i don't know what can
be wrong, i'm newbie at linux... so if anyone can give me a clue about what
might be wrong...
thanks!
David
ps: excuse my poor english, i'm spaniard and not very used to write english
mails.

rm -f *.o *.a
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from /lib/modules/2.4.18/build/include/linux/spinlock.h:39,
from /lib/modules/2.4.18/build/include/linux/wait.h:16,
from /lib/modules/2.4.18/build/include/linux/fs.h:12,
from /lib/modules/2.4.18/build/include/linux/capability.h:17,
from /lib/modules/2.4.18/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.18/build/include/linux/sched.h:9,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/asm/spinlock.h: In function `spin_lock':
/usr/include/asm/spinlock.h:137: parse error before `LOCK_SECTION_START'
/usr/include/asm/spinlock.h: In function `read_lock':
/usr/include/asm/spinlock.h:188: parse error before `LOCK_SECTION_START'
/usr/include/asm/spinlock.h:188: warning: implicit declaration of function
`LOCK_SECTION_START'
/usr/include/asm/spinlock.h:188: parse error before string constant
/usr/include/asm/spinlock.h: In function `write_lock':
/usr/include/asm/spinlock.h:197: parse error before `LOCK_SECTION_START'
/usr/include/asm/spinlock.h:197: parse error before string constant
In file included from /lib/modules/2.4.18/build/include/linux/rwsem.h:27,
from /usr/include/asm/semaphore.h:42,
from /lib/modules/2.4.18/build/include/linux/fs.h:200,
from /lib/modules/2.4.18/build/include/linux/capability.h:17,
from /lib/modules/2.4.18/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.18/build/include/linux/sched.h:9,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/asm/rwsem.h: In function `__down_read_Rsmp_d00c7bc4':
/usr/include/asm/rwsem.h:104: parse error before `LOCK_SECTION_START'
/usr/include/asm/rwsem.h: In function `__down_write_Rsmp_496f717d':
/usr/include/asm/rwsem.h:133: parse error before `LOCK_SECTION_START'
/usr/include/asm/rwsem.h: In function `__up_read_Rsmp_84c18443':
/usr/include/asm/rwsem.h:157: parse error before `LOCK_SECTION_START'
/usr/include/asm/rwsem.h:151: warning: unused variable `tmp'
/usr/include/asm/rwsem.h: In function `__up_write_Rsmp_3ae7aa01':
/usr/include/asm/rwsem.h:183: parse error before `LOCK_SECTION_START'
In file included from /lib/modules/2.4.18/build/include/linux/fs.h:200,
from /lib/modules/2.4.18/build/include/linux/capability.h:17,
from /lib/modules/2.4.18/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.18/build/include/linux/sched.h:9,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/asm/semaphore.h: In function `down':
/usr/include/asm/semaphore.h:125: parse error before `LOCK_SECTION_START'
/usr/include/asm/semaphore.h: In function `down_interruptible':
/usr/include/asm/semaphore.h:152: parse error before `LOCK_SECTION_START'
/usr/include/asm/semaphore.h: In function `down_trylock':
/usr/include/asm/semaphore.h:180: parse error before `LOCK_SECTION_START'
/usr/include/asm/semaphore.h: In function `up':
/usr/include/asm/semaphore.h:206: parse error before `LOCK_SECTION_START'
make: *** [mod_osspec.o] Error 1




More information about the hcflinux mailing list