[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why do I need to be a %^#$# programmer to use Linux?



On Fri, Sep 13, 2002 at 01:34:04PM -0700, deFreese, Barry wrote:
> I had an old 8 port Digiboard laying around so I stuck that in so that I
> could set up multiple inbound fax lines on the box.  I download the drivers
> from Digi (which are in rpm packages unfortunately ) and I install them as
> they say.  However, when I try to create the packages it fails trying to
> include some functions from asm/io.h and asm/pgtable.h.

Both those files are in the libc6-dev package, which you should install
if you want to compile pretty much anything.

However, given that it's a driver, it may need to be built against the
appropriate set of kernel headers rather than the versions in libc6-dev.
Say the kernel image you're using is kernel-image-2.4.18-686; then
install the kernel-headers-2.4.18-686 package and add
'-I/usr/src/kernel-headers-2.4.18-686/include' to the gcc calls that are
being made to compile this driver.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: