Project

General

Profile

Bug #609

Issue compiling bip

Added by Renzo Kuken 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Target version:
-
Start date:
2018-02-23
Due date:
% Done:

0%

Patch Available:
Found in Versions:
Confirmed:
No
Branch:
Security:
Help Needed:

Description

I couldn't find compilation instructions in the provided docs.

$ aclocal && autoheader && autoconf && automake --add-missing && autoreconf -ivf
$ ./configure --prefix=/usr/local/bin
<snip>
./configure: line 5105: AX_C___ATTRIBUTE__: command not found
<snip>
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
OPENSSL: yes
DEBUG: yes (with backtrace)
OIDENTD: no
PIE: yes

$ make
<snip>
depbase=`echo src/irc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wextra -Werror -g -O2 -fPIE -MT src/irc.o -MD -MP -MF $depbase.Tpo -c -o src/irc.o src/irc.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from src/irc.c:14:0:
src/irc.c: In function ‘irc_315’:
src/irc.c:317:68: error: unused parameter ‘l’ [-Werror=unused-parameter]
static int irc_315(struct link_server *server, UNUSED)
^
src/config.h:273:28: note: in definition of macro ‘UNUSED’ # define UNUSED ATTRIBUTE
^
src/irc.c: In function ‘irc_368’:
src/irc.c:1449:68: error: unused parameter ‘l’ [-Werror=unused-parameter]
static int irc_368(struct link_server *server, UNUSED)
^
src/config.h:273:28: note: in definition of macro ‘UNUSED’ # define UNUSED ATTRIBUTE
^
cc1: all warnings being treated as errors
Makefile:500: recipe for target 'src/irc.o' failed
make1: * [src/irc.o] Error 1
make1: Leaving directory '/home/renzokuken/bip'
Makefile:353: recipe for target 'all' failed
make: *
[all] Error 2

History

#1 Updated by Pierre-Louis Bonicoli 7 months ago

  • Assignee set to Pierre-Louis Bonicoli

See README and/or FAQ

#2 Updated by Renzo Kuken 7 months ago

Thanks, apparently I'm blind =)

Would there be a way to make it clearer in the configure script that the environment is missing autoconf-archive ?

Also available in: Atom PDF