[Olsr-dev] patches to make olsrd work on 64bit FreeBSD

Henning Rogge (spam-protected)
Tue Aug 18 11:15:00 CEST 2009


Am Tue August 18 2009 11:01:23 schrieb Holger Levsen:
> Hi,
>
> On Montag, 17. August 2009, Henning Rogge wrote:
> > Am Montag 17 August 2009 19:27:02 schrieb Holger Levsen:
> > > gnu/kfreebsd
> >
> > Does the attached patch solve the compilation problem ?
>
> no:
>
> make[1]: Entering directory `/home/holger/olsrd-0.5.6-r5'
> In file included from src/unix/misc.c:45:
> src/olsr_types.h:51:9: error: #error "Unsupported system"
> In file included from src/unix/../olsr_cfg.h:45,
>                  from src/unix/log.c:46:
Okay, that is another problem... the freebsd makefile does not set a necessary 
enviroment variable. Please test this additional patch:

--- a/make/Makefile.fbsd        Sun Aug 16 18:26:04 2009 +0200
+++ b/make/Makefile.fbsd        Tue Aug 18 11:14:18 2009 +0200
@@ -15,6 +15,7 @@
 LIBS =

 CPPFLAGS +=    -DOLSRD_GLOBAL_CONF_FILE=\"$(CFGFILE)\"
+CPPFLAGS +=    -D__FreeBSD__

 ifdef NO_80211
 CPPFLAGS +=    -DFBSD_NO_80211=1

Henning Rogge

*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20090818/b61ece11/attachment.sig>


More information about the Olsr-dev mailing list