Project

General

Profile

FAQ » History » Version 6

Pierre-Louis Bonicoli, 2012-01-20 05:21

1 1 Pierre-Louis Bonicoli
h1. FAQ
2 1 Pierre-Louis Bonicoli
3 4 Pierre-Louis Bonicoli
* when building Bip @error: unused parameter@  occurs
4 4 Pierre-Louis Bonicoli
source:configure.ac#L32 use the "AX_C___ATTRIBUTE__":http://www.gnu.org/s/autoconf-archive/ax_c___attribute__.html macro. This macro is included in "autoconf-archive":http://www.gnu.org/software/autoconf-archive/
5 3 Pierre-Louis Bonicoli
Full error message:
6 3 Pierre-Louis Bonicoli
<pre>
7 3 Pierre-Louis Bonicoli
src/connection.c: In function ‘tmp_dh_cb’:
8 3 Pierre-Louis Bonicoli
src/connection.c:1093: error: unused parameter ‘ssl_unused’
9 3 Pierre-Louis Bonicoli
make[1]: *** [src/connection.o] Error 1
10 3 Pierre-Louis Bonicoli
</pre>
11 5 Pierre-Louis Bonicoli
12 6 Pierre-Louis Bonicoli
Rerun @bootstrap@ script after installation of @autoconf-archive@.
13 6 Pierre-Louis Bonicoli
14 5 Pierre-Louis Bonicoli
* How take in account modifications to bip.conf without restarting bip ?
15 5 Pierre-Louis Bonicoli
Send signal HUP to bip.
16 5 Pierre-Louis Bonicoli
<pre>
17 5 Pierre-Louis Bonicoli
# Debian / Ubuntu
18 5 Pierre-Louis Bonicoli
/etc/init.d/bip reload
19 5 Pierre-Louis Bonicoli
# Other
20 5 Pierre-Louis Bonicoli
killall -HUP bip 
21 6 Pierre-Louis Bonicoli
</pre>
22 6 Pierre-Louis Bonicoli
23 6 Pierre-Louis Bonicoli
* Ubuntu 10.04: How to compile bip from repository ?
24 6 Pierre-Louis Bonicoli
<pre>
25 6 Pierre-Louis Bonicoli
sudo apt-get install git-core gcc flex bison libssl-dev automake autoconf-archive
26 6 Pierre-Louis Bonicoli
./bootstrap
27 6 Pierre-Louis Bonicoli
./configure --prefix=/opt/bip
28 6 Pierre-Louis Bonicoli
CFLAGS="-Wno-error" ./configure --prefix=/opt/bip
29 6 Pierre-Louis Bonicoli
make
30 5 Pierre-Louis Bonicoli
</pre>