MGHTTPD API Changes was Re: OS Web Monitor

Nick Withers nick.withers at anu.edu.au
Sat Jan 18 05:14:41 UTC 2014


On Fri, 2014-01-17 at 10:08 -0600, Joel Sherrill wrote:
> The network-demos do not build now due to API changes
> in mghttpd.
> 
> I don't have time to fix this in the next week.
> 
> Nick updated Mongoose so probably knows what has to be
> updated.

The attached patch *might* do the trick and at least shows the gist of
what would need to happen... The http part at least now compiles, but
these changes are otherwise untested.

> FWIW they are easy to build... build RTEMS with something like this:
> 
> ../rtems/configure --target=${CPU}-rtems4.11 --enable-rtemsbsp=${BSP} \
>   --enable-posix \
>   --enable-networking \
>   --disable-smp \
>   ${DEBUG} \
>   --enable-maintainer-mode \
>   --prefix=/home/joel/rtems-4.11-work/bsp-install \
>   ${TESTS} >c.log 2>&1 && \
> make -j6  >b.log 2>&1
> 
> Then build network-demos like this:
> 
> RTEMS_MAKEFILE_PATH=/home/joel/rtems-4.11-work/bsp-install/sparc-rtems4.11/sis
> make clean all
-- 
Nick Withers

Embedded Systems Programmer
Room 2.26, Building 57
Department of Nuclear Physics
Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)

eMail: nick.withers at anu.edu.au
Phone: +61 2 6125 2091
Mobile: +61 414 397 446

> On 1/17/2014 9:08 AM, Gedare Bloom wrote:
> > the top 4 commits at
> > https://github.com/chirayudesai/rtems-network-demos/commits/osmonweb
> > appear to be the ones to look at / test.
> >
> > On Fri, Jan 17, 2014 at 10:01 AM, Joel Sherrill
> > <joel.sherrill at oarcorp.com> wrote:
> >> Where is the patch so I can review it?
> >>
> >> On 1/17/2014 8:29 AM, Gedare Bloom wrote:
> >>> Hi,
> >>> I won't support this relocation until the build is confirmed. Thanks!
> >>>
> >>> On Sat, Jan 11, 2014 at 5:34 AM, Chirayu Desai <chirayudesai1 at gmail.com> wrote:
> >>>> I have moved oswebmonitor to network-demos, preserving commit history.
> >>>> The content of the repository osmonweb.git has been added to a new directory
> >>>> osmonweb.
> >>>> The tree can be browsed at [1].
> >>>>
> >>>> All commits but the last 2 don't touch anything in the topdir, only add /
> >>>> modify content under the osmonweb directory.
> >>>>
> >>>> It does not build with 4.11 (didn't before this merge, like I said in the
> >>>> original message), and I do not have 4.10 built and installed currently, so
> >>>> as of now it is untested.
> >>>> I will test it by later today / tomorrow if time permits.
> >>>>
> >>>> Also, looks like the code under http/ (in network-demos) is for "test of
> >>>> GoAhead web server", which is deprecated, so it doesn't build with 4.11
> >>>>
> >>>> [1]: https://github.com/chirayudesai/rtems-network-demos
> >>>>
> >>>>
> >>>> On Tue, Jan 7, 2014 at 2:16 PM, Nick Withers <nick at nickwithers.com> wrote:
> >>>>> On Mon, 2014-01-06 at 09:44 -0600, Joel Sherrill wrote:
> >>>>>> On 1/5/2014 5:41 AM, Nick Withers wrote:
> >>>>>>> On Sun, 2014-01-05 at 12:01 +0530, Chirayu Desai wrote:
> >>>>>>>> I've uploaded two patches for oswebmonitor, [1] and [2]
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> [1] fixes a minor issue with bin2c being installed as rtems-bin2c
> >>>>>>> I thought that was on purpose...? Not sure it should be installed as
> >>>>>>> bin2c, as that could clash with a host binary.
> >>>>>>>
> >>>>>>> Are there actually any RTEMS-specifics in rtems-bin2c?
> >>>>>> No. It just wasn't packaged and it is a commonly needed utility when
> >>>>>> building
> >>>>>> up filesystem images.
> >>>>> Yeah, fair enough (I'm using it myself).
> >>>>>
> >>>>> It doesn't seem to be packaged on either FreeBSD or Ubuntu, otherwise I
> >>>>> was gonna suggest removing it in favour of the host binary (which still
> >>>>> seems like it'd be optimal in the ideal world).
> >>>>>
> >>>>> P.S., Cheers for the earlier clarification Chirayu :-)
> >>>>>
> >>>>>>>> [2] removes support for GoAhead
> >>>>>>>>
> >>>>>>>> [1]:
> >>>>>>>> https://gist.github.com/chirayudesai/d8e72a999cb02e2d9dcd/raw/a869794c687cfbf9575efe8195245a7a4ac8992d/0001-make-bin2c-is-installed-as-rtems-bin2c.patch
> >>>>>>>> [2]:
> >>>>>>>> https://gist.github.com/chirayudesai/d8e72a999cb02e2d9dcd/raw/55b65f128daf2ad532e83b6d44b976de51cae64c/0001-remove-support-for-GoAhead.patch
> >>>>> --
> >>>>> Nick Withers
> >>>>> email: nick at nickwithers.com
> >>>>> Web: http://www.nickwithers.com
> >>>>> Mobile: +61 414 397 446
> >>>>>
> >>>>> _______________________________________________
> >>>>> rtems-devel mailing list
> >>>>> rtems-devel at rtems.org
> >>>>> http://www.rtems.org/mailman/listinfo/rtems-devel
> >>>>
> >>>> _______________________________________________
> >>>> rtems-devel mailing list
> >>>> rtems-devel at rtems.org
> >>>> http://www.rtems.org/mailman/listinfo/rtems-devel
> >>>>
> >> --
> >> Joel Sherrill, Ph.D.             Director of Research & Development
> >> joel.sherrill at OARcorp.com        On-Line Applications Research
> >> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> >> Support Available                (256) 722-9985

-------------- next part --------------
A non-text attachment was scrubbed...
Name: http_mongoose-3.9.patch
Type: text/x-patch
Size: 3787 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140118/c03db8aa/attachment-0001.bin>


More information about the devel mailing list