lkml.org 
[lkml]   [2006]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [LINUX-KERNEL] Problem loading any custom driver
From
Date
On Sun, 2006-05-21 at 21:05 -0700, Libershteyn, Vladimir wrote:
> Here is a makefile
> -------------------------------------------------
> #
> # Makefile for the Los Angeles PCI Adapter
> # This file supports Red Hat Linux kernel 2.6(included) and above
> #
> HPATH := /usr/src/kernels/2.6.9-34.EL-i686/include
> CFLAGS = -I$(HPATH) -Wall -O2 -fomit-frame-pointer -c
> CFLAGS := $(CFLAGS) -DHOST_LITTLE_ENDIAN -DHOST_SIZE_32
>
> obj-m += atf_host.o

this is buggy, you have to drop the CFLAGS lines!!!!!


> Our group does not have ability to put files for outside access.
> Can you specify what parts of the code you need me to attach?
> Im not familiar with rules, is it allowed to attach source files?

yeah that's fine if they're not gigantic (50Kb or so is a reasonable
boundary for that)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-22 06:16    [W:0.413 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site