[Nut-upsdev] Build error after pulling the latest

Jim Klimov jimklimov+nut at gmail.com
Fri Jan 24 07:45:54 GMT 2025


Hello,

  Did you re-run `autogen.sh` and `configure` after the source code base
change that impacted `configure.ac` and/or the m4 scripts it includes?

Jim


On Fri, Jan 24, 2025 at 6:37 AM William R. Elliot <bill at wreassoc.com> wrote:

> Hello all.
>
> I pulled the latest from the repository and merged it with my driver
> development activity. Building from the 'nut' directory I receive the
> following error(s):
>
>   CC       libcommon_la-common.lo
> common.c: In function 'suggest_doc_links':
> common.c:692:25: error: 'MAN_SECTION_CMD_SYS' undeclared (first use in
> this function)
>   692 |                         MAN_SECTION_CMD_SYS, buf2);
>       |                         ^~~~~~~~~~~~~~~~~~~
> common.c:692:25: note: each undeclared identifier is reported only once
> for each function it appears in
> common.c:696:25: error: 'NUT_WEBSITE_BASE' undeclared (first use in this
> function)
>   696 |                         NUT_WEBSITE_BASE, buf2);
>       |                         ^~~~~~~~~~~~~~~~
> At top level:
> cc1: note: unrecognized command-line option '-Wno-unknown-warning-option'
> may have been intended to silence earlier diagnostics
> cc1: note: unrecognized command-line option '-Wno-reserved-identifier' may
> have been intended to silence earlier diagnostics
> make[2]: *** [Makefile:904: libcommon_la-common.lo] Error 1
>
> This is the most recent entry in the 'master' log:
>
> commit 4c00520887d7ec17ae413eadb2e698f8ad95d33c (origin/master,
> origin/HEAD, master)
> Merge: 9066236ec 8c851c836
> Author: Jim Klimov <jimklimov+nut at gmail.com>
> Date:   Thu Jan 23 11:23:24 2025 +0100
>
>     Merge pull request #2778 from jimklimov/fix-appveyor-libmodbus
>
>     Fix Appveyor CI to use NUT libmodbus fork
>
> I am doing my driver work on Ubuntu Linux.
>
> Hopefully this is something easy to fix...for those who are deep into nut.
>
> Thanks,
>
> Bill
>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Virus-free.www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_903975353139927375_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20250124/9658a2a2/attachment.htm>


More information about the Nut-upsdev mailing list