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: Hi,Error ' CYGARC_PCI_DMA_ADDRESS'.


Hi Eric,
 i  have reinstalled all the configuration tool including cygwin too..
Unfortunately i am getting the same error as previous one, while compiling the target as 'i386 PC with Realtek Ethernet 8139' with 'Net' package .In case you don't have reference of previous error you may refer down. ------------------------------------------------------------------------------------------------------------------
 Administrator@DHAWAL172 /ecos-c/workdir/application
 $ make
 i386-elf-gcc -nostartfiles -L/cygdrive/c/workdir/rb8139/rb8139_install/lib -Wl,-
 -gc-sections -Wl,--Map -Wl,basic1.map -o basic1 basic1.o -Ttarget.ld -nostdlib
 /cygdrive/c/workdir/rb8139/rb8139_install/lib/extras.o: In function `__static_in
 itialization_and_destruction_0':
 /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:104: undefined reference to
  `CYGARC_PCI_DMA_ADDRESS'
 /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:123: undefined reference to
  `CYGARC_PCI_DMA_ADDRESS'
 /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:141: undefined reference to
  `CYGARC_PCI_DMA_ADDRESS'
 /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:141: undefined reference to
  `CYGARC_PCI_DMA_ADDRESS'
 /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:141: undefined reference to
  `CYGARC_PCI_DMA_ADDRESS'
 collect2: ld returned 1 exit status
 make: *** [basic1] Error 1
 ----------------------------------------------------------------------------------------------
Above error does not visible in case of the target as 'i386 pc target with 82559' with 'Redboot' as package ( Default example comes in CD of the book 'Embedded s/f development with eCos' ).
I have also tried out the your suggested patch too, But i am getting same error as above.
—-----------------------------------------------------------------------------------------------------------
My current configuration vesrion detail are given below.
1) eCos Configuration Version -2.11
2) GNU bash, version 2.05.0(8)-release (i686-pc-cygwin).
3) i386-elf-gcc version -2.95.2.
4) cygwin 1.3.3-2.
5) WinCVS version -1.2
—------------------------------------------------------------------------------------------------------------
Please tell me where i am going wrong , do i need to modify anything in yours suggested driver.
 
For current CVS download i am using the tools as WinCVS but while connecting through proxy server i am getting error as the,
—------------------------------------------------------------------
*****CVS exited normally with code 1*****
(Logging in to anoncvs@sources.redhat.com)
Unknown host sources.redhat.com.
—-------------------------------------------------------------------
Since we are having our own firewall for FTP, there is any way to get the current CVS through HTTP.

Regards,
Dhawal.
==========================================================


>>> "Dhawal Mer" <merdn@LNTEBG.com> 10/15/03 03:05PM >>>
Thanx,
I hope you are right.In middle i have tried out other version too. Hence,file might be over written.
I will send you whole details after reinstalling the current/cvs version of eCos tools.
Can you please guide any particular URL for latest CVS for ecos configtool.

Regards,
Dhawal.

>>> Eric Doenges <Eric.Doenges@DynaPel.com> 10/15/03 02:44PM >>>
Dhawal Mer wrote:
> Thanx for quick reply.
> I am referring to the book named 'Embedded Software Development with eCos' written by Author 'Anthony J. Massa'.
> I have already compile the default example ( basic.c ) successfully using the default configuration of i386( with 82559 NIC ).
> The application still making appropriate ' basic.s ' while target set as the 'i386 with 82559 NIC'.
> Hence, i  hope there is no problem in toolchains.
> what do you mean by 'messed up your source tree', if it's there how i should correct.

Well, I find it strange that the linker is complaining about an
undefined reference to CYGARC_PCI_DMA_ADDRESS, supposedly
in <...>/packages/io/fileio/current/src/misc.cxx, when the file in
question does not contain any references to that macro (nor is there
any reason why it should). This means either

a) The linker is mistaken, and the undefined reference occurs in some
    other file.

b) Somehow, the original misc.cxx got overwritten (fully or partially)
    by some other file.

If I were you I would get the latest eCos source code from the CVS
repository and try again, doing a clean reconfiguration and build
of eCos itself.
-- 
--------------------------------------------------------------------
|     Eric Doenges              |     DynaPel Laboratories GmbH    |
|     Tel: +49 89 962428 23     |     Fraunhoferstrasse 9/2        |
|     Fax: +49 89 962428 90     |     D - 85737 Ismaning, Germany  |
--------------------------------------------------------------------



--
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]