Project

General

Profile

Bug #609

Updated by Pierre-Louis Bonicoli almost 4 years ago

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

 <pre> 
 $ 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 
 </pre>

Back