--- In "bene_gesserit_43" <> wrote:
>
> Hi!
>
> I have exactly the same problem, and I havent found a solution. Does anybody
> know any tip to avoid this error?
>
> Thanks in advance
>
> --- In "pgavigan@" <pgavigan@> wrote:
> >
> > Hello,
> >
> > I've been trying to compile a Kernel Module for the ARM 7250 without
> > success. My goal is to install the module onto a system using the insmod
> > command. I've been told by a technical support rep at Embedded ARM that to
> > do this I have to compile the module (a one file program) against a
> > compiled version of the kernel.
> >
> > Here's a summary of the problem:
> >
> > 1) I have installed the cross compiler (using instructions found at
> > http://www.kegel.com/crosstool/crosstool-0.43/doc/crosstool-howto.html#quick).
> > I've attempted several versions of gcc, however most recently I trying
> > with version gcc-4.1.0-glibc-2.3.2.
Download & use the exact TS toolchain that was used to build the kernel. This
is especially important if you are trying to build only a module to fit into an
existing kernel.
regards ....... Charlie
> >
> > 2) I have downloaded and unpacked the linux distribution installed on my
> > target. Specifically, 2.4.26-ts9 from embeddedarm.com. I have set the
> > path to the cross compiler in the top level makefile in the kernel files,
> > as well as the name of the cross compiler.
> >
> > 3) I have run the "make ts7250_config" and "make oldconfig" scripts.
> >
> > 3) The "make dep" script fails with the following error: "error:
> > unrecognized command line option "-mapcs-32""
> >
> > I have not been able to determine what the -mapcs-32 setting is or where it
> > is set in the kernel. As a result, I am not sure where the problem is.
> > Also, is there a faster/ less complicated way to compile a kernel module?
> >
> > Thanks in advance for any assistance.
> >
> > Patrick
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|