[Sussex] FW: Unable to 'c'

Angelo Servini Angelo.Servini at claybrook.co.uk
Thu Dec 5 09:28:03 UTC 2002


I wrote:

<snip> 
> > 
> > I downloaded a kernel driver for my scanner (alpha version) 
> and tried 
> to
> > compile it.  It did not compile and came up with errors where 'cc' 
> was not
> > recognised.  I fixed it with:
> > 
> >    ln -sf /usr/bin/gcc /usr/bin/cc
> > 
> > Now however, when I run make, I get:
> > 
> >    depmod: *** Unresolved symbols in 
> >    /lib/modules/2.4.19-x1/kernel/drivers/usb/gt6801.o
> > 

I got this from Xandros

<snip>
> 
> Do you have alink to the source code for this driver ?  It is 
> something
> we may want to include in future updates to xandros.
> 
> The Xandros kernel uses modversions so you will have to have properly 
> configured kernel source to build your module against so that it can 
> load and not give the unresolved symbols error.
> 
> You can configure the xandros kernel to build modules against it by 
> following the following steps :
> 
> ----
> 1) Log in as root
> 2) Insert Xandros Desktop Installation CDROM
> 3) dpkg -i
> /disks/Removable/cdrom.1/dists/xandros1.0/main/binary-i386/bas
> e/xandros-
> kernel-source-2.4.19_1.0.4-1_all.deb
> (Replace cdrom.1 with cdrom.2 if you are using 2nd CD on system)
> 4) cd /usr/src
> 5) tar jxf xandros-kernel-source-2.4.19.tar.bz2
> 6) ln -sf xandros-kernel-source-2.4.19 linux
> 7) cd linux
> 8) make EXTRAVERSION=-x1 mrproper
> 9) cp /boot/config-2.4.19-x1 .config
> 10) make EXTRAVERSION=-x1 oldconfig
> 11) make EXTRAVERSION=-x1 dep 
> ----
> 
> 
> also, any other make commands you use to build the module or 
> any of the 
> kernel components should have the EXTRAVERSION=-x1 added to the end.  
> 
> If you have a SMP machine, replace -x1 with -x1-smp
> 

I hope this helps anyone using Xandros/Debian



The above information is confidential to the addressee and may be privileged.  Unauthorised access and use is prohibited.
 
Internet communications are not secure and therefore this Company does not accept legal responsibility for the contents of this message.
 
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
 
Claybrook Computing Limited is a subsidiary of Claybrook Computing (Holdings) Limited
Registered Office: Abbey House. 282 Farnborough Road, Farnborough, Hampshire GU14 7NJ
Registered in England and Wales No 1287205
 
A Hogg Robinson plc company





More information about the Sussex mailing list