Ticket #743 (closed Merge Request: fixed)

Opened 5 months ago

Last modified 5 months ago

topic/jsiwek/openbsd-support

Reported by: jsiwek Owned by: jsiwek
Priority: Normal Milestone:
Component: Bro Version: git/master
Keywords: Cc:

Description

This branch adds some support for building Bro on OpenBSD. It exists in bro, cmake, bro-aux, broccoli, broctl repos. One build catch is that the top-level Makefile may not work with the default make on OpenBSD, for now I added a note to INSTALL to use either gmake or the CMake-generated Makefile in the build/ directory directly. Another catch is that I saw runtime warnings coming from the libbind-9.4.2 package on OpenBSD 5.0 regarding mismatched symbol sizes, but some simple testing looked like Bro worked.

I'm going to mark this for 2.0 since the changes appeared to not interfere with any of the officially support platforms, but can be moved back.

Change History

comment:1 Changed 5 months ago by jsiwek

  • Type changed from Problem to Merge Request

comment:2 follow-up: ↓ 3 Changed 5 months ago by robin

  • Owner set to jsiwek
  • Status changed from new to assigned

With this change, I'm now getting these warning on Linux:

../config.h:153:0: warning: "DLT_PPP_SERIAL" redefined [enabled by default]

comment:3 in reply to: ↑ 2 Changed 5 months ago by jsiwek

Replying to robin:

With this change, I'm now getting these warning on Linux:

../config.h:153:0: warning: "DLT_PPP_SERIAL" redefined [enabled by default]

Were you only building with the branch checked out in the bro repository? (it's also in cmake, bro-aux, broccoli, broctl)

comment:6 Changed 5 months ago by robin

On Mon, Jan 09, 2012 at 22:21 -0000, you wrote:

Were you only building with the branch checked out in the bro
repository? (it's also in cmake, bro-aux, broccoli, broctl)

Yes, missed that, will merge the others well.

comment:7 Changed 5 months ago by robin

  • Status changed from assigned to closed
  • Resolution set to fixed

In [2efab49e127cd42cfb6609c0326491b12fc1d71e/bro]:

Merge remote-tracking branch 'origin/topic/jsiwek/openbsd-support'

  • origin/topic/jsiwek/openbsd-support: Tweaks for OpenBSD support.

Closes #743.

[I've moved the OpenBSD note about the Makefile into the FAQ. There
might be more stuff to add there over time.]

comment:8 Changed 5 months ago by robin

  • Milestone Bro2.0 deleted

Milestone Bro2.0 deleted

Note: See TracTickets for help on using tickets.