public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] init_all_network_interfaces() problem?
@ 2008-07-01  3:08 Yong Chen Tan
  2008-07-01 14:14 ` [ECOS] " Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Yong Chen Tan @ 2008-07-01  3:08 UTC (permalink / raw)
  To: ecos-discuss



Hi, I am trying to run GoAhead WebServer using eCos with AT91RM9200 Development Board.
When I tried to run the WebServer in Redboot, everything was working well. My WebServer is just some simple .html webpages. 
However, I meet with some problems when running the GoAhead WebServer when I start to incoperate some of my codes into the existing WebServer source code. For example, I just change the source code to be run by thread instead of running by the main(). The compiling was ok, just that when I tried to load the webpages, it always gives me timeout. 
So I am actually thinking could it be the make file problem or its the GoAhead WebServer that might be the problem
_________________________________________________________________
Check out Barclays Premier League exclusive video clips here!
http://fc.sg.msn.com/index.aspx

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

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

* [ECOS]  Re: init_all_network_interfaces() problem?
  2008-07-01  3:08 [ECOS] init_all_network_interfaces() problem? Yong Chen Tan
@ 2008-07-01 14:14 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2008-07-01 14:14 UTC (permalink / raw)
  To: ecos-discuss

On 2008-07-01, Yong Chen Tan <oricon776@hotmail.com> wrote:

> Hi, I am trying to run GoAhead WebServer using eCos with
> AT91RM9200 Development Board. When I tried to run the
> WebServer in Redboot, everything was working well.

I have a hard time believing that.  GoAhead requires BSD TCP/IP
stack semantics (included select and fdset).  RedBoot provides
none of that.

> My WebServer is just some simple .html webpages.  However, I
> meet with some problems when running the GoAhead WebServer
> when I start to incoperate some of my codes into the existing
> WebServer source code. For example, I just change the source
> code to be run by thread instead of running by the main().

Did you remember to create and start the thread that was
running the web server.  You should enable debug/trace output
in the web server.  Then you might be able to tell what's
wrong.

> The compiling was ok, just that when I tried to load the
> webpages, it always gives me timeout.  So I am actually
> thinking could it be the make file problem or its the GoAhead
> WebServer that might be the problem

It's neither the makefile nor GoAhead that's the problem.  It's
your code that's the problem.

-- 
Grant Edwards                   grante             Yow! I had a lease on an
                                  at               OEDIPUS COMPLEX back in
                               visi.com            '81 ...


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

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

end of thread, other threads:[~2008-07-01 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-01  3:08 [ECOS] init_all_network_interfaces() problem? Yong Chen Tan
2008-07-01 14:14 ` [ECOS] " Grant Edwards

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