From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3518 invoked by alias); 1 Jul 2008 14:20:07 -0000 Received: (qmail 3450 invoked by uid 22791); 1 Jul 2008 14:20:03 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc3-s21.bay0.hotmail.com (HELO bay0-omc3-s21.bay0.hotmail.com) (65.54.246.221) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Jul 2008 14:19:33 +0000 Received: from BAY112-W7 ([64.4.26.107]) by bay0-omc3-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Jul 2008 07:19:31 -0700 Message-ID: From: Yong Chen Tan To: "ecos-discuss@ecos.sourceware.org" Date: Tue, 01 Jul 2008 14:20:00 -0000 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] Re: init_all_network_interfaces() problem? X-SW-Source: 2008-07/txt/msg00004.txt.bz2 > To: ecos-discuss@sources.redhat.com > From: grante@visi.com > Date: Tue, 1 Jul 2008 14:12:54 +0000 > Subject: [ECOS] Re: init_all_network_interfaces() problem? > > On 2008-07-01, Yong Chen Tan 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. > Sorry my knowledge on this area is very limited... By the way, I really managed to run the webserver using Redboot. I did create and start the thread running the web server as it was my only thread in the program. Btw how can I enable the debug/trace output? Is there any documentations on these? _________________________________________________________________ Manage multiple email accounts with Windows Live Mail effortlessly. http://www.get.live.com/wl/all -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss