[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Can't build "Working example" from BUILDING
From: |
Erik Ekman |
Subject: |
Re: [lwip-users] Can't build "Working example" from BUILDING |
Date: |
Thu, 30 Sep 2021 18:22:20 +0200 |
This is what used to run on travis-ci:
https://git.savannah.nongnu.org/cgit/lwip.git/tree/travis.sh
It includes copying the lwipcfg file you were missing.
On Thu, 30 Sept 2021 at 17:54, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
> On 2021-09-30, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
> > That appears to attemp to compile source files. But, that fails also:
> >
> > $ cmake --build .
> > [ 1%] Building C object
> > CMakeFiles/makefsdata.dir/home/grante/lwip/lwip/src/apps/http/makefsdata/makefsdata.c.o
> > /home/grante/lwip/lwip/src/apps/http/makefsdata/makefsdata.c: In
> > function ‘process_file’:
> > /home/grante/lwip/lwip/src/apps/http/makefsdata/makefsdata.c:923:32:
> > error: ‘sprintf’ may write a terminating nul past the end of the
> > destination [-Werror=format-overflow=]
> > 923 | sprintf(qualifiedName, "%s/%s", curSubdir, filename);
> > | ^
> > /home/grante/lwip/lwip/src/apps/http/makefsdata/makefsdata.c:923:3:
> > note: ‘sprintf’ output 2 or more bytes (assuming 257) into a destination of
> > size 256
> > 923 | sprintf(qualifiedName, "%s/%s", curSubdir, filename);
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > cc1: all warnings being treated as errors
> > gmake[2]: *** [CMakeFiles/makefsdata.dir/build.make:76:
> > CMakeFiles/makefsdata.dir/home/grante/lwip/lwip/src/apps/http/makefsdata/makefsdata.c.o]
> > Error 1
> > gmake[1]: *** [CMakeFiles/Makefile2:91: CMakeFiles/makefsdata.dir/all]
> > Error 2
>
> This seems to be a known problem that was reported over a year ago:
>
> https://savannah.nongnu.org/bugs/?58194
>
> A patch was submitted to display an intelligible warning along with a
> suggestion for fixing the documenation, but nothing has been done with
> either.
>
> If I had a clue, I would submit a patch for BUILDING, but I think it's
> clear I don't.
>
> --
> Grant
>
>
> _______________________________________________
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users