This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile new c file


            This is what I did...
            In e7t_eth_drivers.cdl
            Before it was : compile       -library=libextras.a if_e7t.c

            I made the chageds as
                compile       -library=libextras.a if_e7t.c  e7t_ether.c

            Here, e7t_ether.c is my new file
            No, the makefile doesnot contain my newfile,
            Just linking error (for the functions present in e7t_ether.c)
are reported

Andrew Lunn wrote:

> On Fri, Oct 11, 2002 at 12:19:39PM +0530, Vinayak P Risbud wrote:
> >         Hi,
> >             I want to add a new source for ecos sources.
> >             I have added the new file name to compile in
> >             .cdl files .  But, the file is not getting compiled and
> >             I am getting linking errors.
> >
> >            Where could be the exact problem ?
> >
> >         ~
> >           Vinayak
>
> The exact problem is hard to tell since you have given us so little
> information.
>
> How did you change the .cdl file.
> What happened when you ran ecosconfig tree. Any errors?
> Is the new file in the makefile?
>
>    Andrew
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]