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: How to add a source file into a configuration


I eventually solved this problem by turning on the "DNS client -> Build DNS
NS client
package" option in the GUI configuration tool.

Regards,
=================
Yao-Lu Tsai
KCodes Corporation

----- Original Message -----
From: "Jonathan Larmour" <jifl@eCosCentric.com>
To: "Andrew Lunn" <andrew.lunn@ascom.ch>
Cc: "Yao-Lu Tsai" <ytsai@kcodes.com>; "eCos Discussion"
<ecos-discuss@sources.redhat.com>
Sent: Thursday, October 24, 2002 11:26 AM
Subject: Re: [ECOS] How to add a source file into a configuration


> Andrew Lunn wrote:
> > On Wed, Oct 23, 2002 at 04:06:43PM +0800, Yao-Lu Tsai wrote:
> >>
> >>If I choose Samsung SNDS platform with new_net template, everything
> >>when compiling & linking is OK. However, if I add "Samsung KS32C5000
> >>ethernet driver" package into this configuration, linking is failed due
to
> >>"setdomainname" undefined. This function is declared in dns.c. I don't
know
> >>why this file is not compiled after I add an additional package. My
question
> >>is,
> >>how to add dns.c into the configuration to solve the linking error ?
> >
> >
> > The DNS package is automatically added as part of the new_net
> > template.
> >
> > Here is what i did: [snip]
> > and then dns.c is getting compiled.
> >
> > Try doing it again and make sure you are start in an empty directory.
>
> It could also happen if one of the requirements of CYGPKG_NS_DNS_BUILD
> isn't being fulfilled and it got inferred off. Check the value of that CDL
> option in particular.
>
> Jifl
> --
> eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
> --[ "You can complain because roses have thorns, or you ]--
> --[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine
>
>
> --
> 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]