Actions
Bug #609
closedIssue compiling bip
Start date:
2018-02-23
Due date:
% Done:
0%
Estimated time:
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(struct line *l))
^
src/config.h:273:28: note: in definition of macro ‘UNUSED’
# define UNUSED(ATTRIBUTE) 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(struct line *l))
^
src/config.h:273:28: note: in definition of macro ‘UNUSED’
# define UNUSED(ATTRIBUTE) ATTRIBUTE
^
cc1: all warnings being treated as errors
Makefile:500: recipe for target 'src/irc.o' failed
make[1]: *** [src/irc.o] Error 1
make[1]: Leaving directory '/home/renzokuken/bip'
Makefile:353: recipe for target 'all' failed
make: *** [all] Error 2
Updated by Pierre-Louis Bonicoli over 7 years ago
- Assignee set to Pierre-Louis Bonicoli
Updated by Renzo Kuken over 7 years 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 ?
Updated by Arnaud Cornet almost 7 years ago
Renzo Kuken wrote:
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 ?
Is this still a problem? Should we close?
Updated by Pierre-Louis Bonicoli over 5 years ago
- Status changed from New to Rejected
Updated by Pierre-Louis Bonicoli over 5 years ago
See also 0ed5240de5dce0730c9ebaedff6aa874c68fb671.
Actions