public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Building ecos,ct,wx: newbie
@ 2002-10-24  3:31 Praveen Kumar
  2002-10-24  6:49 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Praveen Kumar @ 2002-10-24  3:31 UTC (permalink / raw)
  To: ecos-discuss


Hi,

I have downloaded recent (ecos-v2-full-alpha-snap-2002-10-14.tar.bz2) ecos 
src from ecoscentric and version-2 configuration tool for i386
(configtool-2.11-i386.tar.gz). I am using Linux PC.

While building configuration tool, I am getting the following error.  
Btw, do I need to build all tools (ecos,ct,wxWin) both release and debug 
levels in order to use (to load ecos kernel image into i486) Ecos.

$make -f $CONFIGTOOLDIR/Makefile WXDIR=$WXDIR ECOSDIR=$ECOSDIR LEVEL=debug full
.....................
.....................
In file included from 
/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/
aboutdlg.cpp:61:
/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/aboutdlg.h:53:23: 
wx/splash.h: No such file or directory
make: *** [/tmp/ecos-build/ct-build-debug/aboutdlg.o] Error 1

-------------
actually, aboutdlg.h has 
include "wx/splash.h"
But, no where I found splash.h
Any help ??



-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos,ct,wx: newbie
  2002-10-24  3:31 [ECOS] Building ecos,ct,wx: newbie Praveen Kumar
@ 2002-10-24  6:49 ` Gary Thomas
  2002-10-24  7:37   ` Jonathan Larmour
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2002-10-24  6:49 UTC (permalink / raw)
  To: Praveen Kumar; +Cc: eCos Discussion

On Thu, 2002-10-24 at 04:29, Praveen Kumar wrote:
> 
> Hi,
> 
> I have downloaded recent (ecos-v2-full-alpha-snap-2002-10-14.tar.bz2) ecos 
> src from ecoscentric and version-2 configuration tool for i386
> (configtool-2.11-i386.tar.gz). I am using Linux PC.
> 
> While building configuration tool, I am getting the following error.  
> Btw, do I need to build all tools (ecos,ct,wxWin) both release and debug 
> levels in order to use (to load ecos kernel image into i486) Ecos.
> 
> $make -f $CONFIGTOOLDIR/Makefile WXDIR=$WXDIR ECOSDIR=$ECOSDIR LEVEL=debug full
> .....................
> .....................
> In file included from 
> /opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/
> aboutdlg.cpp:61:
> /opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/aboutdlg.h:53:23: 
> wx/splash.h: No such file or directory
> make: *** [/tmp/ecos-build/ct-build-debug/aboutdlg.o] Error 1
> 
> -------------
> actually, aboutdlg.h has 
> include "wx/splash.h"
> But, no where I found splash.h
> Any help ??

Check out your "wx" installation - this file is included with it.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos,ct,wx: newbie
  2002-10-24  6:49 ` Gary Thomas
@ 2002-10-24  7:37   ` Jonathan Larmour
  2002-10-26  4:01     ` [ECOS] Building ecos: newbie Praveen Kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Larmour @ 2002-10-24  7:37 UTC (permalink / raw)
  To: Praveen Kumar; +Cc: eCos Discussion

Gary Thomas wrote:
> On Thu, 2002-10-24 at 04:29, Praveen Kumar wrote:
> 
>>Hi,
>>
>>I have downloaded recent (ecos-v2-full-alpha-snap-2002-10-14.tar.bz2) ecos 
>>src from ecoscentric and version-2 configuration tool for i386
>>(configtool-2.11-i386.tar.gz). I am using Linux PC.
>>
>>While building configuration tool, I am getting the following error.  
>>Btw, do I need to build all tools (ecos,ct,wxWin) both release and debug 
>>levels in order to use (to load ecos kernel image into i486) Ecos.
>>
>>$make -f $CONFIGTOOLDIR/Makefile WXDIR=$WXDIR ECOSDIR=$ECOSDIR LEVEL=debug full
>>.....................
>>.....................
>>In file included from 
>>/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/
>>aboutdlg.cpp:61:
>>/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/aboutdlg.h:53:23: 
>>wx/splash.h: No such file or directory
>>make: *** [/tmp/ecos-build/ct-build-debug/aboutdlg.o] Error 1
>>
>>-------------
>>actually, aboutdlg.h has 
>>include "wx/splash.h"
>>But, no where I found splash.h
>>Any help ??
> 
> 
> Check out your "wx" installation - this file is included with it.

And in any case, do you really want to build it? You know there are 
prebuilts already at http://sources.redhat.com/ecos/ct2.html

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos: newbie
  2002-10-24  7:37   ` Jonathan Larmour
@ 2002-10-26  4:01     ` Praveen Kumar
  2002-10-26  7:06       ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Praveen Kumar @ 2002-10-26  4:01 UTC (permalink / raw)
  To: eCos Discussion


Hi,

I am getting the following error while building the library  
(Build->library) using graphical prebuild configtool.

..........
..........
i386-elf-gcc -c  -I/home/praveen/NewName/ecos1_install/include 
-I/opt/ecos/ecos-av2/packages/net/tcpip/current 
-I/opt/ecos/ecos-av2/packages/net/tcpip/current/src 
-I/opt/ecos/ecos-av2/packages/net/tcpip/current/tests -I. 
-I/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/ -Wall 
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual 
-g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions 
-fvtable-gc -finit-priority -D_KERNEL -D__ECOS -D__INSIDE_NET 
-Wp,-MD,src/sys/netinet/in_proto.tmp -o 
src/sys/netinet/net_tcpip_in_proto.o 
/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c

make[1]: Leaving directory 
`/home/praveen/NewName/ecos1_build/net/tcpip/current'
/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
`ip4_sysctl' undeclared here (not in a function)
make: Leaving directory `/home/praveen/NewName/ecos1_build'
/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
initializer element is not constant
/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
(near initialization for `inetsw[5].pr_sysctl')
make[1]: *** [src/sys/netinet/in_proto.o.d] Error 1
make: *** [build] Error 2

where is the problem?
 
Thanks in advance
-Praveen.

On Thu, 24 Oct 2002, Jonathan Larmour wrote:

> Gary Thomas wrote:
> > On Thu, 2002-10-24 at 04:29, Praveen Kumar wrote:
> > 
> >>Hi,
> >>
> >>I have downloaded recent (ecos-v2-full-alpha-snap-2002-10-14.tar.bz2) ecos 
> >>src from ecoscentric and version-2 configuration tool for i386
> >>(configtool-2.11-i386.tar.gz). I am using Linux PC.
> >>
> >>While building configuration tool, I am getting the following error.  
> >>Btw, do I need to build all tools (ecos,ct,wxWin) both release and debug 
> >>levels in order to use (to load ecos kernel image into i486) Ecos.
> >>
> >>$make -f $CONFIGTOOLDIR/Makefile WXDIR=$WXDIR ECOSDIR=$ECOSDIR LEVEL=debug full
> >>.....................
> >>.....................
> >>In file included from 
> >>/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/
> >>aboutdlg.cpp:61:
> >>/opt/ecos/ecos-av2/host/tools/configtool/standalone/wxwin/aboutdlg.h:53:23: 
> >>wx/splash.h: No such file or directory
> >>make: *** [/tmp/ecos-build/ct-build-debug/aboutdlg.o] Error 1
> >>
> >>-------------
> >>actually, aboutdlg.h has 
> >>include "wx/splash.h"
> >>But, no where I found splash.h
> >>Any help ??
> > 
> > 
> > Check out your "wx" installation - this file is included with it.
> 
> And in any case, do you really want to build it? You know there are 
> prebuilts already at http://sources.redhat.com/ecos/ct2.html
> 
> Jifl
> -- 
> eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
> --[ "You can complain because roses have thorns, or you ]--
> --[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine
> 
> 



-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos: newbie
  2002-10-26  4:01     ` [ECOS] Building ecos: newbie Praveen Kumar
@ 2002-10-26  7:06       ` Gary Thomas
  2002-10-26  8:28         ` Praveen Kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2002-10-26  7:06 UTC (permalink / raw)
  To: Praveen Kumar; +Cc: eCos Discussion

On Sat, 2002-10-26 at 05:00, Praveen Kumar wrote:
> 
> Hi,
> 
> I am getting the following error while building the library  
> (Build->library) using graphical prebuild configtool.
> 
> ..........
> ..........
> i386-elf-gcc -c  -I/home/praveen/NewName/ecos1_install/include 
> -I/opt/ecos/ecos-av2/packages/net/tcpip/current 
> -I/opt/ecos/ecos-av2/packages/net/tcpip/current/src 
> -I/opt/ecos/ecos-av2/packages/net/tcpip/current/tests -I. 
> -I/opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/ -Wall 
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual 
> -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions 
> -fvtable-gc -finit-priority -D_KERNEL -D__ECOS -D__INSIDE_NET 
> -Wp,-MD,src/sys/netinet/in_proto.tmp -o 
> src/sys/netinet/net_tcpip_in_proto.o 
> /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c
> 
> make[1]: Leaving directory 
> `/home/praveen/NewName/ecos1_build/net/tcpip/current'
> /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
> `ip4_sysctl' undeclared here (not in a function)
> make: Leaving directory `/home/praveen/NewName/ecos1_build'
> /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
> initializer element is not constant
> /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
> (near initialization for `inetsw[5].pr_sysctl')
> make[1]: *** [src/sys/netinet/in_proto.o.d] Error 1
> make: *** [build] Error 2
> 
> where is the problem?

It looks like you tried to turn on "sysctl".  Don't do this - it's not
implemented.

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos: newbie
  2002-10-26  7:06       ` Gary Thomas
@ 2002-10-26  8:28         ` Praveen Kumar
  2002-10-28  5:19           ` Praveen Kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Praveen Kumar @ 2002-10-26  8:28 UTC (permalink / raw)
  To: Gary Thomas; +Cc: eCos Discussion


Perhaps!, I have not done intensionally. 
1. How do we turn off "sysctl" (what is it's purpose).
2. I am getting one more error for another configuration.

i386-elf-gcc -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef 
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti 
-fno-exceptions -fvtable-gc -finit-priority  
-I/home/praveen/NewName0/ecos2_install/include 
-I/opt/ecos/ecos-av2/packages/services/memalloc/common/current 
-I/opt/ecos/ecos-av2/packages/services/memalloc/common/current/src 
-I/opt/ecos/ecos-av2/packages/services/memalloc/common/current/tests -I. 
-Wp,-MD,heapgen.tmp -E 
/opt/ecos/ecos-av2/packages/services/memalloc/common/current/src/heapgen.cpp 
-o heapgeninc.tcl

make[1]: Leaving directory 
`/home/praveen/NewName0/ecos2_build/services/memalloc/common/current'
/opt/ecos/ecos-av2/packages/services/memalloc/common/current/src/heapgen.cpp:69: 
`#include' expects "FILENAME" or <FILENAME>

Thanks,
-Praveen. 

On Sat, 26 Oct 2002, Gary Thomas wrote:

> On Sat, 2002-10-26 at 05:00, Praveen Kumar wrote:
> > 
> > Hi,
> > 
> > I am getting the following error while building the library  
> > (Build->library) using graphical prebuild configtool.
> > 
> > /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
> > `ip4_sysctl' undeclared here (not in a function)
> > make: Leaving directory `/home/praveen/NewName/ecos1_build'
> > /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
> > initializer element is not constant
> > /opt/ecos/ecos-av2/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259: 
> > (near initialization for `inetsw[5].pr_sysctl')
> > 
> > where is the problem?
> 
> It looks like you tried to turn on "sysctl".  Don't do this - it's not
> implemented.
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                  |
> eCosCentric, Ltd.            |  
> +1 (970) 229-1963            |  eCos & RedBoot experts
> gthomas@ecoscentric.com      |
> http://www.ecoscentric.com/  |
> ------------------------------------------------------------



-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos: newbie
  2002-10-26  8:28         ` Praveen Kumar
@ 2002-10-28  5:19           ` Praveen Kumar
  2002-10-28  7:11             ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Praveen Kumar @ 2002-10-28  5:19 UTC (permalink / raw)
  To: Gary Thomas; +Cc: eCos Discussion



Hi,

Thanks thomas & jonathan, I finally could build ecos library. 

I think problem is not the question of turning on "sysctl".
ip4_sysctl should be #defined or it should be replaced by ip_sysctl

My GUI configtool is not listing platforms (tools->platforms), am I  
missing any envir variable etc ?(other features are ok).

> $BASE_DIR/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259:
>  `ip4_sysctl' undeclared here (not in a function)

On Sat, 26 Oct 2002, Praveen Kumar wrote:

> 
> Perhaps!, I have not done intensionally.
> 1. How do we turn off "sysctl" (what is it's purpose).
> 2. I am getting one more error for another configuration.
> 
> ../packages/services/memalloc/common/current/src/heapgen.cpp:69: 
> `#include' expects "FILENAME" or <FILENAME>
> 
> Thanks,
> -Praveen. 





-- 
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] 8+ messages in thread

* Re: [ECOS] Building ecos: newbie
  2002-10-28  5:19           ` Praveen Kumar
@ 2002-10-28  7:11             ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2002-10-28  7:11 UTC (permalink / raw)
  To: Praveen Kumar; +Cc: eCos Discussion

On Mon, 2002-10-28 at 06:18, Praveen Kumar wrote:
> 
> 
> Hi,
> 
> Thanks thomas & jonathan, I finally could build ecos library. 
> 
> I think problem is not the question of turning on "sysctl".
> ip4_sysctl should be #defined or it should be replaced by ip_sysctl
> 

No.  There should be nothing in the code that uses or turns on
'sysctl' in any fashion.

Why not try something simple until you get things working better?
Try the simplest configuration, choose the default template, etc,
and see if you can build some applications and run them.

If you choose the network template - and don't fiddle with any of
the CDL - it builds just fine.

> My GUI configtool is not listing platforms (tools->platforms), am I  
> missing any envir variable etc ?(other features are ok).
> 

This has nothing to do with building applications.  The tools->platforms
setup is only for running automated tests (which won't work at this time
anyway).

> > $BASE_DIR/packages/net/tcpip/current/src/sys/netinet/in_proto.c:259:
> >  `ip4_sysctl' undeclared here (not in a function)
> 
> On Sat, 26 Oct 2002, Praveen Kumar wrote:
> 
> > 
> > Perhaps!, I have not done intensionally.
> > 1. How do we turn off "sysctl" (what is it's purpose).
> > 2. I am getting one more error for another configuration.
> > 
> > ../packages/services/memalloc/common/current/src/heapgen.cpp:69: 
> > `#include' expects "FILENAME" or <FILENAME>
> > 
> > Thanks,
> > -Praveen. 
> 
> 
> 
-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
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] 8+ messages in thread

end of thread, other threads:[~2002-10-28 15:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24  3:31 [ECOS] Building ecos,ct,wx: newbie Praveen Kumar
2002-10-24  6:49 ` Gary Thomas
2002-10-24  7:37   ` Jonathan Larmour
2002-10-26  4:01     ` [ECOS] Building ecos: newbie Praveen Kumar
2002-10-26  7:06       ` Gary Thomas
2002-10-26  8:28         ` Praveen Kumar
2002-10-28  5:19           ` Praveen Kumar
2002-10-28  7:11             ` Gary Thomas

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