[Bro-Dev] #402: [PATCH] -fPIC is needed for FreeBSD/amd64

Bro Tracker bro at tracker.icir.org
Tue Apr 12 13:37:00 PDT 2011


#402: [PATCH] -fPIC is needed for FreeBSD/amd64
-----------------------+-----------------------
  Reporter:  leres     |      Owner:  jsiwek
      Type:  Problem   |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  Broccoli  |    Version:  git/devel
Resolution:            |   Keywords:
-----------------------+-----------------------

Comment (by jsiwek):

 I think I have a better solution ready for testing now (on an x86_64
 system):

 {{{
 # get the broccoli repository with python bindings
 git clone --recursive git://git.bro-ids.org/broccoli

 # this currently fails (in master branch)
 ./configure --enable-static && make

 # switch to branch w/ better solution
 git checkout topic/jsiwek/shared-static-defaults

 # this should now succeed and build both static and shared libbroccoli
 ./configure && make

 # this is now the case that does not automatically work
 ./configure --disable-shared && make
 # but after one gives it thought, decides they actually want this,
 # and finds the appropriate -fpic versus -fPIC option:
 CFLAGS=-fPIC ./configure --disable-shared && make
 }}}

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/402#comment:8>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list