public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] Hi,Error ' CYGARC_PCI_DMA_ADDRESS'.
@ 2003-10-17  3:38 Dhawal Mer
  0 siblings, 0 replies; 5+ messages in thread
From: Dhawal Mer @ 2003-10-17  3:38 UTC (permalink / raw)
  To: andrew; +Cc: ecos-discuss

Hi Andrew,
Thanx for your kind help.
Please don't mind ( About my silly query ), I am new to eCos, some what in learning phase too.
Regarding to problem , i will again try to find out some thing i can able to get from cyg_type.h.

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

>>> Andrew Lunn <andrew@lunn.ch> 10/16/03 05:11PM >>>
On Thu, Oct 16, 2003 at 05:01:04PM +0530, Dhawal Mer wrote:
> Hi Andrew,
> Thanx for your immediate reply,
> Can you please brief about the CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS).
> I am not able to gain, what you are trying to say.
> What i should look on the ' cyg_type.h '.

O.K. eCos-discuss if here for us to help _you_ debug your
problems. Its not here to do the debugging for you. If you are using
eCos, you must be a programmer. You should be able to solve basic
programming problems etc....

Look at cyg_type.h, where CYGBLD_ATTRIB_INIT_PRI and CYG_INIT_IO_FS
are defined. Ask yourself, is there anything strange with the
syntax. Is there any reference to that undefined symbol? What could be
wrong.....

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Hi,Error ' CYGARC_PCI_DMA_ADDRESS'.
       [not found] <sf8eceeb.033@EBGMAIL>
@ 2003-10-16 11:41 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2003-10-16 11:41 UTC (permalink / raw)
  To: Dhawal Mer; +Cc: ecos-discuss

On Thu, Oct 16, 2003 at 05:01:04PM +0530, Dhawal Mer wrote:
> Hi Andrew,
> Thanx for your immediate reply,
> Can you please brief about the CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS).
> I am not able to gain, what you are trying to say.
> What i should look on the ' cyg_type.h '.

O.K. eCos-discuss if here for us to help _you_ debug your
problems. Its not here to do the debugging for you. If you are using
eCos, you must be a programmer. You should be able to solve basic
programming problems etc....

Look at cyg_type.h, where CYGBLD_ATTRIB_INIT_PRI and CYG_INIT_IO_FS
are defined. Ask yourself, is there anything strange with the
syntax. Is there any reference to that undefined symbol? What could be
wrong.....

        Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Hi,Error ' CYGARC_PCI_DMA_ADDRESS'.
@ 2003-10-16 11:30 Dhawal Mer
  0 siblings, 0 replies; 5+ messages in thread
From: Dhawal Mer @ 2003-10-16 11:30 UTC (permalink / raw)
  To: andrew; +Cc: ecos-discuss

Hi Andrew,
Thanx for your immediate reply,
Can you please brief about the CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS).
I am not able to gain, what you are trying to say.
What i should look on the ' cyg_type.h '.

Regards,
Dhawal.

========================================================
>>> Andrew Lunn <andrew@lunn.ch> 10/16/03 03:55PM >>>
>  /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


These three lines all contain references to
CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS); My guess is you have messed up
the definition of this. Take a close look at your cyg_type.h.

    Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Hi,Error ' CYGARC_PCI_DMA_ADDRESS'.
  2003-10-16  9:46 Dhawal Mer
@ 2003-10-16 10:25 ` Andrew Lunn
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2003-10-16 10:25 UTC (permalink / raw)
  To: Dhawal Mer; +Cc: ecos-discuss

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


These three lines all contain references to
CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS); My guess is you have messed up
the definition of this. Take a close look at your cyg_type.h.

    Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Hi,Error ' CYGARC_PCI_DMA_ADDRESS'.
@ 2003-10-16  9:46 Dhawal Mer
  2003-10-16 10:25 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Dhawal Mer @ 2003-10-16  9:46 UTC (permalink / raw)
  To: Eric.Doenges, Dhawal Mer; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-17  3:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17  3:38 [ECOS] Hi,Error ' CYGARC_PCI_DMA_ADDRESS' Dhawal Mer
     [not found] <sf8eceeb.033@EBGMAIL>
2003-10-16 11:41 ` Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2003-10-16 11:30 Dhawal Mer
2003-10-16  9:46 Dhawal Mer
2003-10-16 10:25 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).