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: Oddly formatted target.ld


Can you tell me how you built ecos for EB40? which tools and versions are you using? When I try to build, there are many warnings and and the end of the output window the message is:

/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:442:20: netdev.h: No such file or directory
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:446:1: warning: pasting "." and "netdev" does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:446:1: warning: pasting "netdev" and "." does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:447:1: warning: pasting "." and "netdev" does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:447:1: warning: pasting "netdev" and "." does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:449:1: warning: pasting "." and "RedBoot_inits" does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:449:1: warning: pasting "RedBoot_inits" and "." does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:449:1: warning: pasting "." and "net_init" does not give a valid preprocessing token
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c: In function `net_init':
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:454: `cyg_netdevtab_entry_t' undeclared (first use in this function)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:454: (Each undeclared identifier is reported only once
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:454: for each function it appears in.)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:454: `t' undeclared (first use in this function)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:472: warning: implicit declaration of function `eth_drv_buffers_init'
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:475: `__NETDEVTAB__' undeclared (first use in this function)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:475: `__NETDEVTAB_END__' undeclared (first use in this function)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:477: `CYG_NETDEVTAB_STATUS_AVAIL' undeclared (first use in this function)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:483: `__local_enet_sc' undeclared (first use in this function)
/ecos-c/PROGRA~1/REDHAT~1/ECOS/packages/redboot/current/src/net/net_io.c:454: warning: statement with no effect
make[1]: *** [src/net/net_io.o.d] Error 1
make: *** [build] Error 2
  
What should I do? Can any body help? Thanks a lot!!


Best Regards,
Lin Ming
2002-03-01 09:26:30

2002-02-28 16:15:00
You wrote:
>Warning - I'm new to the list.
>
>That said, I've been trying to generate the libraries and tests for
>the AT91EB40 Arm eval board from Atmel.  I've tried using several
>different versions of gcc all with a recent version of Cygwin.  The
>libraries build OK but the target.ld file that is generated is very
>oddly formatted and causes a parse error during the link step.  While
>this must be an obvious beginners problem, I've looked through the
>archives without success.  A sampling of target.ld follows:
>
>STARTUP
>       (
>        vectors
>               .
>                o
>                 )
>ENTRY
>     (
>      reset_vector
>                  )
>INPUT
>     (
>      extras
>            .
>             o
>              )
>GROUP
>     (
>      libtarget
>               .
>                a
>                  libgcc
>                        .
>                         a
>                          )
>MEMORY
>{
>    sram
>         :
>           ORIGIN
>                  =
>                    0x00000000
>                              ,
>                                LENGTH
>                                       =
>                                         0x2000
>
>I have generated the libraties with several versions of the config
>tool including 1.31.net and 2.08.  The resulting target.ld is the
>same.  I've even tried generating the tree with ecosconfig with the
>same results.
>
>Any help would be greatly appreciated.
>
>Thanks in advance.
>-Bill Knight
>R O SoftWare
>
>
>
>
>-- 
>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]