Jump to content

Проблемы при компиляции C на Debian 3.1


Recommended Posts

Здравствуйте! Хотел бы узнать возможные причины того, что у меня при компиляции старгазера 2.402.9.7 make выводит, что файлов не существует и пропущен разделитель.

 

ОС: Дебиан 3.1р0

Stargazer соответственно 2.402.9.7

 

Начала к сожалению нет...

...
In file included from main.cpp:46:
users.h:52:24: stg_logger.h: No such file or directory
main.cpp:48:20: common.h: No such file or directory
In file included from main.cpp:49:
traffcounter.h:33:24: stg_logger.h: No such file or directory
main.cpp:51:24: stg_logger.h: No such file or directory
main.cpp:55:23: conffiles.h: No such file or directory
main.cpp:73:20: pinger.h: No such file or directory
curr_ip.cpp:2:20: common.h: No such file or directory
In file included from settings.cpp:38:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
settings.cpp:39:20: common.h: No such file or directory
stg_timer.cpp:6:20: common.h: No such file or directory
In file included from tariff2.cpp:42:
tariff2.h:41:20: common.h: No such file or directory
In file included from ../../include/user_conf.h:24,
    from ../../include/base_store.h:14,
    from admin.h:56,
    from tariff2.h:42,
    from tariff2.cpp:42:
../../include/user_ips.h:33:20: common.h: No such file or directory
In file included from tariff2.h:42,
    from tariff2.cpp:42:
admin.h:57:24: stg_logger.h: No such file or directory
In file included from tariff2.cpp:42:
tariff2.h:43:24: stg_logger.h: No such file or directory
tariff2.cpp:43:23: conffiles.h: No such file or directory
tariff2.cpp:44:20: common.h: No such file or directory
In file included from tariff2.cpp:45:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
In file included from user.h:53,
    from users.h:50,
    from tariff2.cpp:46:
user_property.h:20:24: stg_logger.h: No such file or directory
user_property.h:22:20: common.h: No such file or directory
user_property.h:25:24: stg_logger.h: No such file or directory
In file included from tariff2.cpp:46:
users.h:52:24: stg_logger.h: No such file or directory
In file included from traffcounter.cpp:42:
traffcounter.h:33:24: stg_logger.h: No such file or directory
In file included from users.h:49,
    from traffcounter.h:34,
    from traffcounter.cpp:42:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from traffcounter.cpp:42:
tariff2.h:41:20: common.h: No such file or directory
In file included from ../../include/user_conf.h:24,
    from ../../include/base_store.h:14,
    from admin.h:56,
    from tariff2.h:42,
    from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from traffcounter.cpp:42:
../../include/user_ips.h:33:20: common.h: No such file or directory
In file included from tariff2.h:42,
    from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from traffcounter.cpp:42:
admin.h:57:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from traffcounter.cpp:42:
tariff2.h:43:24: stg_logger.h: No such file or directory
In file included from user.h:53,
    from users.h:50,
    from traffcounter.h:34,
    from traffcounter.cpp:42:
user_property.h:20:24: stg_logger.h: No such file or directory
user_property.h:22:20: common.h: No such file or directory
user_property.h:25:24: stg_logger.h: No such file or directory
In file included from traffcounter.h:34,
    from traffcounter.cpp:42:
users.h:52:24: stg_logger.h: No such file or directory
traffcounter.cpp:43:20: common.h: No such file or directory
In file included from user.h:47,
    from user.cpp:47:
tariff2.h:41:20: common.h: No such file or directory
In file included from ../../include/user_conf.h:24,
    from ../../include/base_store.h:14,
    from admin.h:56,
    from tariff2.h:42,
    from user.h:47,
    from user.cpp:47:
../../include/user_ips.h:33:20: common.h: No such file or directory
In file included from tariff2.h:42,
    from user.h:47,
    from user.cpp:47:
admin.h:57:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from user.cpp:47:
tariff2.h:43:24: stg_logger.h: No such file or directory
In file included from user.h:53,
    from user.cpp:47:
user_property.h:20:24: stg_logger.h: No such file or directory
user_property.h:22:20: common.h: No such file or directory
In file included from user_property.h:23,
    from user.h:53,
    from user.cpp:47:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
In file included from user.h:53,
    from user.cpp:47:
user_property.h:25:24: stg_logger.h: No such file or directory
In file included from user.cpp:48:
users.h:52:24: stg_logger.h: No such file or directory
user.cpp:49:20: common.h: No such file or directory
user.cpp:51:23: conffiles.h: No such file or directory
user.cpp:52:20: common.h: No such file or directory
In file included from user_property.cpp:1:
user_property.h:20:24: stg_logger.h: No such file or directory
In file included from ../../include/user_conf.h:24,
    from ../../include/base_store.h:14,
    from admin.h:56,
    from user_property.h:21,
    from user_property.cpp:1:
../../include/user_ips.h:33:20: common.h: No such file or directory
In file included from user_property.h:21,
    from user_property.cpp:1:
admin.h:57:24: stg_logger.h: No such file or directory
In file included from user_property.cpp:1:
user_property.h:22:20: common.h: No such file or directory
In file included from user_property.h:23,
    from user_property.cpp:1:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
In file included from user_property.cpp:1:
user_property.h:25:24: stg_logger.h: No such file or directory
In file included from users.cpp:45:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from users.h:50,
    from users.cpp:46:
tariff2.h:41:20: common.h: No such file or directory
In file included from ../../include/user_conf.h:24,
    from ../../include/base_store.h:14,
    from admin.h:56,
    from tariff2.h:42,
    from user.h:47,
    from users.h:50,
    from users.cpp:46:
../../include/user_ips.h:33:20: common.h: No such file or directory
In file included from tariff2.h:42,
    from user.h:47,
    from users.h:50,
    from users.cpp:46:
admin.h:57:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from users.h:50,
    from users.cpp:46:
tariff2.h:43:24: stg_logger.h: No such file or directory
In file included from user.h:53,
    from users.h:50,
    from users.cpp:46:
user_property.h:20:24: stg_logger.h: No such file or directory
user_property.h:22:20: common.h: No such file or directory
user_property.h:25:24: stg_logger.h: No such file or directory
In file included from users.cpp:46:
users.h:52:24: stg_logger.h: No such file or directory
users.cpp:48:20: common.h: No such file or directory
In file included from plugin_runner.h:8,
    from plugin_runner.cpp:5:
traffcounter.h:33:24: stg_logger.h: No such file or directory
In file included from users.h:49,
    from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
settings.h:43:20: common.h: No such file or directory
settings.h:45:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
tariff2.h:41:20: common.h: No such file or directory
In file included from ../../include/user_conf.h:24,
    from ../../include/base_store.h:14,
    from admin.h:56,
    from tariff2.h:42,
    from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
../../include/user_ips.h:33:20: common.h: No such file or directory
In file included from tariff2.h:42,
    from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
admin.h:57:24: stg_logger.h: No such file or directory
In file included from user.h:47,
    from users.h:50,
    from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
tariff2.h:43:24: stg_logger.h: No such file or directory
In file included from user.h:53,
    from users.h:50,
    from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
user_property.h:20:24: stg_logger.h: No such file or directory
user_property.h:22:20: common.h: No such file or directory
user_property.h:25:24: stg_logger.h: No such file or directory
In file included from traffcounter.h:34,
    from plugin_runner.h:8,
    from plugin_runner.cpp:5:
users.h:52:24: stg_logger.h: No such file or directory
plugin_runner.cpp:6:20: common.h: No such file or directory
plugin_runner.cpp:7:23: conffiles.h: No such file or directory
script_executer.cpp:12:20: common.h: No such file or directory
deps:1: *** пропущен разделитель.  Останов.

 

Заранее спасибо за ответ!

 

ЗЫ: у меня такое чувство, что проблема в многочисленных инклудах в мэйкфайле... и я так понимаю, что это проблема может заключаться в нехватке каких-либо пакетов... список которых я к сожалению так и не нашел!

Link to post
Share on other sites

Понял причину этого:

1. Нужно было дать папке права на выполнение

2. В файле ./build нужно было заменить gmake на make

3. Запускать нужно было как я понял не make, а ./build

 

ЗЫ: вопрос к разработчикам: зачем использовать gmake, который как я понял уже устарел (возможно) и не поставляется (по крайней мере с дебианом)?

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...