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

Re: insmod: unresolved symbol __copy_user


I have already turned on optimisation with -O2 in the Makefile.
I have all these
options: -O2 -Wall -DMODULE -D__KERNEL__ -D__linux__ -mlinux -DCRISMMU -c
I had already a unresolved symbol probleme (printk...) without this -O2
option so I put it but I have this probleme now (__copy_user).

Best regards,

Pierre Filliolaud
93, rue Henri Rochefort
F-91000 EVRY
Web : www.sinovia.com

----- Original Message -----
From: "Wolfgang Denk" <wd@xxxxxxx.de>
To: "Pierre Filliolaud" <filliolaud@xxxxxxx.com>
Cc: "Bjorn Wesen" <bjorn.wesen@xxxxxxx.com>
Sent: Wednesday, June 12, 2002 12:30 PM
Subject: 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.