This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Final network build problem
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- To: "Andrew Lunn" <andrew dot lunn at ascom dot ch>
- Cc: "eCos Discussion" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 11 Oct 2002 15:52:05 +0100
- Subject: Re: [ECOS] Final network build problem
- Organization: Sweeney Design
- References: <00a901c2711a$919ae0d0$5a0ba8c0@jasper> <20021011121928.GY13852@biferten.ma.tech.ascom.ch>
- Reply-to: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
> Disabling DNS is avoiding the problem, not solving it.
>
> It seems that you somehow have CYGINT_ISO_DNS enabled, but the dns
> package is not getting compiled. Why this happens i've no idea.
>
> Can you give me a step-by-step guide to reproducing the problem?
>
> Thanks
> Andrew
>
To reproduce the problem using the eCos Configuration Tool (1.3.net).
Build -> Templates...
Hardware: ARM Evaluator7T board
Packages: net
Build -> Packages
Add Samsung KS32C5000 ethernet driver
Use the Memory layout tool to modify the memory properties.
The values I use are:
Start address 02000000
Size 1000000
This is only required because there is not enough memory on the E7T to
run the network stack out of the box.
Save (as 'test') and resolve confilicts by accepting the defaults.
Build -> Library
(The eCos library should build.)
Close the config tool.
Build the ping_test.c program with something like:
arm-elf-gcc -g -Wall -o ping_test.out -D_KERNEL -D__ECOS
-I/eCosBuild/test_install/include ping_test.c
-L/eCosBuild/test_install/lib -Ttarget.ld -nostdlib
The result should be:
/eCosBuild/Report_install/lib/libtarget.a
(net_common_bootp_support.o): In functi on `init_net':
/ecos-e/home/repository/ecos/packages/net/common/current/
src/bootp_support.c:509: undefined reference to `setdomainname'
/ecos-e/home/repository/ecos/packages/net/common/current/
src/bootp_support.c:513: undefined reference to `cyg_dns_res_init'
collect2: ld returned 1 exit status
Cheers,
Chris
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss