Jump to content

Сборка под Openbsd 4.0


Recommended Posts

Доку читал, там про Open ни слова

При простом запуске ./build -- естественно вот что:

#############################################################################
# Sorry, but stargazer currently supported by Linux, FreeBSD 4.x, 5.x, 6.x  #
#############################################################################

Прописываю в build OS=bsd5, чтобы использовал установку как для FreeBSD5 получаю следующее (3 последних строчки):

g++ -c plugin_runner.cpp -g3 -Wall -I ../../include -DFREE_BSD5
g++ -c script_executer.cpp -g3 -Wall -I ../../include -DFREE_BSD5
gmake: *** No rule to make target `-lc_r', needed by `stargazer'.  Stop.

Правлю Makefile, наподобие того, что было для stg2.0: изменяю

ifeq ($(OS),bsd5)
DEFS = -DFREE_BSD5
LIBS += -lexpat \
       -lс_r \
       -lc

на

ifeq ($(OS),bsd5)
DEFS = -DFREE_BSD5
LIBS += -lexpat \
       -lpthread \
       -lc

Все компилируется со следующим окончанием:

gmake[1]: Leaving directory `/root/my/stg-2.401.9.7/projects/stargazer/plugins/capture/ether_freebsd'

Делаю ./install -- в ответ installed

стартую stargazer -- секунд через 5 отваливается, в логах:

2007-02-02 21:00:49 -- Stg v. Stg 2.401
2007-02-02 21:00:49 -- Message queue created successfully. msgKey=5555 msgID=655
36
2007-02-02 21:00:49 -- Timer thread started successfully.
2007-02-02 21:00:49 -- Storage plugin loading failed: Wrong dl symbols!

2007-02-02 21:00:49 -- Load StoragePlugin error.
2007-02-02 21:00:52 -- Queue removed successfully.
2007-02-02 21:00:52 -- StgTimer: Stop successfull.
2007-02-02 21:00:52 -- Stg stopped successfully.
2007-02-02 21:00:52 -- ---------------------------------------------

 

Понятно, что что-то со storage plugin'ом, непонятно что делать :)

Link to post
Share on other sites
Полностью лог после запуска билда покажите.

 

Извините за глупый вопрос, но как это сделать? Какой лог показать?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...