This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: httpd troubles


Andrew,

Sorry for doubling up. I had wanted the reply to go to the list, but it
only went private.

Thanks for responding.  I'm still trying to learn this.

I built the bootloader (w/o httpd), and all is well there. I'm trying to
build the ecos kernel, and I'm using the net package with the TCP/IP
stack, and added the HTTP daemon from the list of available packages.  I
still can't build it, though. It appears that the problem *may* lie
here:

In file included from
/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/net/common/v2_0/src/inet_addr.
c:103:
/ecos-d/work/NewName/httpecos_install/include/pkgconf/net.h:12:10:
#include expects "FILENAME" or <FILENAME>

which references in inet_addr.c:

#ifdef __ECOS
#include <pkgconf/net.h>

which in turn references in net.h:

#include CYGDAT_NET_STACK_CFG


After that point in the build, I get this:

In file included from
/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/net/common/v2_0/src/inet_addr.
c:106:
/ecos-d/work/NewName/httpecos_install/include/sys/socket.h:175: parse
error before "u_char"


and from that point the build crashes and burns with dozens of warnings
and parse errors.  I've attempted the changes recommended by the output
window, but I still get errors, such as:

In file included from
/ecos-c/cygwin/opt/ecos/ecos-2.0/packages/net/common/v2_0/src/inet_addr.
c:103:
/ecos-d/work/NewName/httpecos_install/include/pkgconf/net.h:12:32:
CYGDAT_NET_STACK_CFG: No such file or directory

I've been trying to learn this from the docs and the Massa book, but a
lot of things are not yet clear to me.

Regards,
Mike




<-----Original Message-----
<From: Andrew Lunn [mailto:andrew@lunn.ch] 
<Sent: Sonntag, 8. Februar 2004 09:51
<To: Michael Trozzo
<Cc: 'eCos Discussion'
<Subject: Re: [ECOS] httpd troubles
<
<
<On Sun, Feb 08, 2004 at 01:11:04AM +0100, Michael Trozzo wrote:
<> Hi,
<> 
<> I'm trying to use the httpd package on the i386 platform with a 
<> Realtek 8139 NIC.  I've used the Realtek package before with success.
<> 
<> I'm using the redboot option, and setting it up to boot from floppy. 
<> However, when I try to build, I keep getting errors when building 
<> httpd. I've added the output from the build as an attachment 
<(output.txt).
<
<If i understand you correctly, you are building redboot and 
<trying to add the httpd package to redboot?
<
<If so, thats wrong. Redboot is just a plain bootloader. You 
<use it to boot an application. So you need two builds: redboot 
<and your application build which contains the web server.
<
<See the documentation. The getting started is a good place to start.
<
<    Andrew
<



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]