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

Re: insmod: unresolved symbol __copy_user

In message <006701c21202$1f4fc030$2600000a@alevy> you wrote:
> Hi,
> I use
> "gcc-cris -Wall -DMODULE -D__KERNEL__ -D__linux__ -mlinux -DCRISMMU -c"
> options and
> " ld-cris -mcrislinux -r $^ -o $@xxxxxxx.

Turn on optimization in your compiler options,  or  inline  functions
will not expand and cause unresolved external references.

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@xxxxxxx.de
How does a project get to be a year late?      ... One day at a time.