[Voyage-linux] How to build kernel module

Russell Lang (spam-protected)
Thu Jan 8 19:33:28 HKT 2009


I've got an ATEN UC2324 USB to 4 port serial adapter.  It comes with source for 
the Linux driver.  On Fedora Core, you simply do
  make
  make load
and it works.  I get /dev/ttyUSB0 to /dev/ttyUSB3.  I tried copying the module ko 
file to voyage-lenny, but it's too different.

I've got two copies of voyage-lenny running. One on VMware as the first stage 
development and testing, and then the other on Alix 3 hardware as the target.  
I'm trying to build stuff for voyage linux under the VMware.

I've tried building the driver on voyage-lenny after first installing the compiler:
  apt-get install build-essentials
Instead I get:
  voyage:/tmp/ATEN2011_V1.1# make
make -C /lib/modules/2.6.26-486-voyage/build -I/lib/modules/2.6.26-486-
voyage/build/drivers/usb/serial SUBDIRS=/tmp/ATEN2011_V1.1 modules
make[1]: Entering directory `/lib/modules/2.6.26-486-voyage/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/2.6.26-486-voyage/build'
make: *** [default] Error 2

The makefile is attached.

What else do I need to install to build this driver?



Russell Lang                   gsview at ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/

-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  Makefile
     Date:  25 Aug 2007, 5:12
     Size:  657 bytes.
     Type:  Text
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 657 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20090108/b788a162/attachment.obj>


More information about the Voyage-linux mailing list