Openbsd and Heartbeat client
Shadow Hawkins on Thursday, 22 July 2004 16:19:47
Hello
I downloaded the latest heartbeatclient for unix, however I cannot get this to compile with OpenBSD 3.5. Here is the output of what happens:
# make
gcc -W -Wall -Wno-unused -D_GNU_SOURCE -g -O2 -c heartbeat-client.c
gcc -W -Wall -Wno-unused -D_GNU_SOURCE -g -O2 -c ../common/md5.c
gcc -W -Wall -Wno-unused -D_GNU_SOURCE -g -O2 -c ../common/common.c
gcc -W -Wall -Wno-unused -D_GNU_SOURCE -g -O2 -c hb.c
hb.c: In function `sendhb':
hb.c:205: warning: long int format, time_t arg (arg 6)
hb.c:217: warning: long int format, time_t arg (arg 6)
gcc -g -o heartbeat-client heartbeat-client.o ../common/md5.o ../common/common.o hb.o ;
gcc: ../common/md5.o: No such file or directory
gcc: ../common/common.o: No such file or directory
*** Error code 1
Stop in /root/heartbeat/client (line 12 of Makefile).
I tried looking at the Makefile however I have absolutely no skill with C so I have hit a wall for now. Anyone know what is wrong?
Regards.
J. Kokkarinen
Openbsd and Heartbeat client
Shadow Hawkins on Thursday, 22 July 2004 16:24:35
Hello again.
Update.
With some guidance I managed to get it to compile.
Openbsd and Heartbeat client
Jeroen Massar on Thursday, 22 July 2004 16:24:38
From: heartbeat/doc/HOWTO
8<-----------------------------------
- use GNU make in the 'client' dir.
----------------------------------->8
Guess which part you are doing wrong, type 'gmake' ;)
Openbsd and Heartbeat client
Shadow Hawkins on Sunday, 05 September 2004 22:57:40
For whatever it's worth, 3.6/-current has sixxs-heartbeatd in the ports. Apparently it at least compiles cleanly with 3.4 and 3.5 too although mixing ports from other releases is not really recommended practice.
But I really like the simplicity of
cd /usr/ports/net/sixxs-heartbeatd
make
make install
Whether it actually works properly will be seen next week when I have time to test it; from the looks of it the example configuration file may have some thinkos in it. If the example config file really has interface names confused as I suspect, I'll sendbug(1) it as usual in addition to reporting here.
:Z
Openbsd and Heartbeat client
Shadow Hawkins on Monday, 06 September 2004 19:51:57
is someone here still using 3.0 and managed to get hb working on it?
i always get the following error message
gcc -W -Wall -Wno-unused -D_GNU_SOURCE -g -O2 -c heartbeat-client.c
In file included from heartbeat-client.c:13:
/usr/include/sys/socket.h:166: syntax error before `u_char'
/usr/include/sys/socket.h:168: syntax error before `u_char'
/usr/include/sys/socket.h:176: syntax error before `u_short'
/usr/include/sys/socket.h:321: syntax error before `u_int'
/usr/include/sys/socket.h:392: syntax error before `u_short'
*** Error code 1
Stop in /heartbeat/client.
would be nice if someone could help me out.
Openbsd and Heartbeat client
Jeroen Massar on Wednesday, 08 September 2004 08:23:49
Check your include files if the contain u_char/u_short definitions.
Then again these are already coming from your system include tree thus sys/types.h should contain them and already define them.
Nevertheless, better start playing around with AICCU as we do not update the heartbeat client any more.
Openbsd and Heartbeat client
Shadow Hawkins on Tuesday, 07 September 2004 23:27:03
Seems to work properly(?) on 3.4 in addition to 3.5 and -current.
Does not set tunnel endpoint IPv6 addresses nor routes, apparently this has been
discussed before and dismissed as known missing functionality.
Rather insignificant defect as doing those things manually is trivial.
Don't happen to have older versions around so can't really say anything about them...
Openbsd and Heartbeat client
Jeroen Massar on Wednesday, 08 September 2004 08:21:41
Configuring the interface etc is something that the heartbeat client did not do, to overcome this and not have any code duplication when also supporting other tunneling techniques the AICCU client was created, this one does do a complete setup. The Heartbeat client will be taken offline when we go into beta3 of the AICCU client.
Posting is only allowed when you are logged in. |