public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Weird Parse Error
@ 2001-06-19 14:27 Trenton D. Adams
  2001-06-20  0:45 ` [ECOS] WxGtk Installation ANDRE Sébastien
  0 siblings, 1 reply; 3+ messages in thread
From: Trenton D. Adams @ 2001-06-19 14:27 UTC (permalink / raw)
  To: 'eCos'

My include list is below.

#include <pkgconf/io_pcmcia.h>

#include <cyg/hal/hal_io.h>             // IO macros
#include <cyg/hal/hal_arch.h>           // Register state info
#include <cyg/hal/hal_intr.h>           // HAL interrupt macros
#include <cyg/hal/drv_api.h>

#ifdef CYGPKG_KERNEL
#include <pkgconf/kernel.h>   // Configuration header
#include <cyg/kernel/kapi.h>
#endif
#include <cyg/hal/hal_if.h>

#include <cyg/io/pcmcia.h>
#include <cyg/infra/diag.h>

#include <cyg/hal/hal_edb7xxx.h>  // Board definitions
#include "clps6700_edb7xxx.h"

My compile errors are below.  I have no idea why pcmcia.h on line 86
would have an error.  It looks perfectly fine to me.  Also, I haven't
included anything of my own before it so any errors I could have created
in any headers wouldn't happen until the last include or so.


//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c
In file included from
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:57:
//C/MyDocuments/eCosDevelopment/RAMSupport_install/include/cyg/io/pcmcia
.h:86: parse error before ``'
//C/MyDocuments/eCosDevelopment/RAMSupport_install/include/cyg/io/pcmcia
.h:89: `CF_MAX_IO_ADDRS' undeclared here (not in a function)
//C/MyDocuments/eCosDevelopment/RAMSupport_install/include/cyg/io/pcmcia
.h:92: parse error before `}'
//C/MyDocuments/eCosDevelopment/RAMSupport_install/include/cyg/io/pcmcia
.h:99: field `io_space' has incomplete type
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c: In function `cf_detect_dsr':
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:82: `SA11X0_GPIO_PIN_LEVEL' undeclared
(first use in this function)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:82: (Each undeclared identifier is reported
only once
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:82: for each function it appears in.)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c: In function `cf_hwr_init':
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:130: `SA11X0_GPIO_PIN_LEVEL' undeclared
(first use in this function)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:176: `_assabet_BCR' undeclared (first use
in this function)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:176: `EDB7XXX_BCR_CF_POWER' undeclared
(first use in this function)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:176: `EDB7XXX_BCR_CF_POWER_ON' undeclared
(first use in this function)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c: In function `cf_hwr_poll':
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:190: `SA11X0_GPIO_PIN_LEVEL' undeclared
(first use in this function)
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c: In function `cf_hwr_change_state':
//C/MyDocuments/CurrentRepository/ecos/packages/devs/pcmcia/arm/edb7xxx/
current/src/edb7xxx_pcmcia.c:254: warning: control reaches end of
non-void function
make[1]: *** [src/edb7xxx_pcmcia.o.d] Error 1
make[1]: Leaving directory
`/c/MyDocuments/eCosDevelopment/RAMSupport_build/devs/pcmcia/arm/edb7xxx
/current'
make: *** [build] Error 2

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

* [ECOS] WxGtk Installation
  2001-06-19 14:27 [ECOS] Weird Parse Error Trenton D. Adams
@ 2001-06-20  0:45 ` ANDRE Sébastien
  2001-06-20 10:13   ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: ANDRE Sébastien @ 2001-06-20  0:45 UTC (permalink / raw)
  To: egcs; +Cc: 'eCos'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Hi,

I'm under Linux host developpment !

I want to install Config Tool v2  !!

Then i had installed GLIB 1.2.8 and GTK 1.2.10 successfully !!

So now i try to install WxGTK the needed for install CT2 !!


then i make ./configure --with-gtk   (command successfull)
and after i launch the compilation task by "make" command

the compilation begin but after many minutes an error occur ::
It this error :


./src/common/datetime.cpp: In method `class wxString
wxTimeSpan::Format(const char * = "%H:%M:%S") const':
./src/common/datetime.cpp:3594: Internal compiler error.
./src/common/datetime.cpp:3594: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
./src/common/datetime.cpp:3594: See
<URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
make: *** [datetime.o] Error 1

then if somebody find a way for resolve it !! i will be happy :-)

best regards,
Sébastien.




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

* Re: [ECOS] WxGtk Installation
  2001-06-20  0:45 ` [ECOS] WxGtk Installation ANDRE Sébastien
@ 2001-06-20 10:13   ` Jonathan Larmour
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2001-06-20 10:13 UTC (permalink / raw)
  To: ANDRE Sébastien; +Cc: 'eCos'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

ANDRE Sébastien wrote:
> 
> Hi,
> 
> I'm under Linux host developpment !

If this is a Red Hat Linux system, you should use 
 
> I want to install Config Tool v2  !!
> 
> Then i had installed GLIB 1.2.8 and GTK 1.2.10 successfully !!
> 
> So now i try to install WxGTK the needed for install CT2 !!
> 
> then i make ./configure --with-gtk   (command successfull)
> and after i launch the compilation task by "make" command
> 
> the compilation begin but after many minutes an error occur ::
> It this error :
> 
> ./src/common/datetime.cpp: In method `class wxString
> wxTimeSpan::Format(const char * = "%H:%M:%S") const':
> ./src/common/datetime.cpp:3594: Internal compiler error.
> ./src/common/datetime.cpp:3594: Please submit a full bug report to
> `egcs-bugs@egcs.cygnus.com'.
> ./src/common/datetime.cpp:3594: See
> <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
> make: *** [datetime.o] Error 1
> 
> then if somebody find a way for resolve it !! i will be happy :-)

That's a compiler bug, and therefore nothing you can really expect anyone
on this list to be able to deal with. You could try upgrading your
compiler.

In any case http://sources.redhat.com/ecos/ct2.html says you should
unarchive the wxGTK-010514.tar.bz2 file, rather than rebuilding. Does that
not work for you?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

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

end of thread, other threads:[~2001-06-20 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-19 14:27 [ECOS] Weird Parse Error Trenton D. Adams
2001-06-20  0:45 ` [ECOS] WxGtk Installation ANDRE Sébastien
2001-06-20 10:13   ` Jonathan Larmour

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