Project

General

Profile

Actions

Bug #609

closed

Issue compiling bip

Added by Renzo Kuken about 6 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
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
Actions #1

Updated by Pierre-Louis Bonicoli about 6 years ago

  • Assignee set to Pierre-Louis Bonicoli

See README and/or FAQ

Actions #2

Updated by Renzo Kuken about 6 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 ?

Actions #3

Updated by Arnaud Cornet over 5 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?

Actions #4

Updated by Pierre-Louis Bonicoli almost 4 years ago

  • Description updated (diff)
Actions #5

Updated by Pierre-Louis Bonicoli almost 4 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF