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: Final network build problem


> 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


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