public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] athttp patch
@ 2007-10-26 20:01 Rick Davis
  2007-10-27  5:16 ` [ECOS] epk file Vivek-Kumar Gupta
  0 siblings, 1 reply; 3+ messages in thread
From: Rick Davis @ 2007-10-26 20:01 UTC (permalink / raw)
  To: Ecos-Discuss

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]

Attached is a patch for

packages/net/athttpd/current/include/http.h

The size of the sockets array is using the wrong definition.

Rick


[-- Attachment #2: athttp_http_h_patch.txt --]
[-- Type: text/plain, Size: 718 bytes --]

### Eclipse Workspace Patch 1.0
#P eCosLatest
Index: packages/net/athttpd/current/include/http.h
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/athttpd/current/include/http.h,v
retrieving revision 1.2
diff -u -r1.2 http.h
--- packages/net/athttpd/current/include/http.h	27 Nov 2006 15:41:56 -0000	1.2
+++ packages/net/athttpd/current/include/http.h	26 Oct 2007 19:49:28 -0000
@@ -154,7 +154,7 @@
     cyg_int32    payload_len;
     char         outbuffer[CYG_HTTPD_MAXOUTBUFFER+1];
     
-    socket_entry sockets[CYGNUM_FILEIO_NFILE];
+    socket_entry sockets[CYGPKG_NET_MAXSOCKETS];
     cyg_int32    fdmax;
     
     // Socket handle.


[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

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

* [ECOS] epk file
  2007-10-26 20:01 [ECOS] athttp patch Rick Davis
@ 2007-10-27  5:16 ` Vivek-Kumar Gupta
  2007-10-27 18:05   ` Sergei Gavrikov
  0 siblings, 1 reply; 3+ messages in thread
From: Vivek-Kumar Gupta @ 2007-10-27  5:16 UTC (permalink / raw)
  To: Ecos-Discuss

Hi Everybody,
I am quite new to ecos environment. This may be very stupid question.

How to add *.epk file in my database file (db) or project file (ecc).

I tried a lot but it is not getting added. I also tried admin tcl script
, but not able to understand what it is updating, where should I check
if my package has been added or not.

Regards,
Vivek Kumar Gupta
Marvell Semiconductor | 77A, IFFCO ROAD | SECTOR 18 | GURGAON  - 122 015
| India


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

* Re: [ECOS] epk file
  2007-10-27  5:16 ` [ECOS] epk file Vivek-Kumar Gupta
@ 2007-10-27 18:05   ` Sergei Gavrikov
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Gavrikov @ 2007-10-27 18:05 UTC (permalink / raw)
  To: Vivek-Kumar Gupta; +Cc: Ecos-Discuss

Vivek-Kumar Gupta writes:

> How to add *.epk file in my database file (db) or project file (ecc).

SYNOPSIS

  $ tclsh $ECOS_REPOSITORY/ecosadmin.tcl 


SAMPLE

  $ tclsh $ECOS_REPOSITORY/ecosadmin.tcl add <stuff.epk>

> I tried a lot but it is not getting added. I also tried admin tcl
> script, but not able to understand what it is updating, 

Hm, `ecosadmin.tcl' always says you what it has done.

> where should I check if my package has been added or not.

grep <stuff> $ECOS_REPOSITORY/ecos.db

For more information, read eCos documentation

http://ecos.sourceware.org/docs-latest/cdl-guide/package.distrib.html

--
Sergei


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

end of thread, other threads:[~2007-10-27 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-26 20:01 [ECOS] athttp patch Rick Davis
2007-10-27  5:16 ` [ECOS] epk file Vivek-Kumar Gupta
2007-10-27 18:05   ` Sergei Gavrikov

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