The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"pstocapt' for printer 'LBP2900'"
Отправлено SaBo, 11-Мрт-09 17:08 
Когда делаю make (до этого выполнил autogen.sh) в pstocapt, получаю следующие ошибки:

# make
make  all-recursive
Making all in filter
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -Wall -fPIC -g -O2 -MT pstocapt.o -MD -MP -MF ".deps/pstocapt.Tpo" -c -o pstocapt.o pstocapt.c;  then mv -f ".deps/pstocapt.Tpo" ".deps/pstocapt.Po"; else rm -f ".deps/pstocapt.Tpo"; exit 1; fi
pstocapt.c:21:23: error: cups/cups.h: No such file or directory
pstocapt.c:22:22: error: cups/ppd.h: No such file or directory
pstocapt.c:35:21: error: buflist.h: No such file or directory
pstocapt.c: In function 'is_cmd_opt_name':
pstocapt.c:107: warning: implicit declaration of function 'strcmp'
pstocapt.c: At top level:
pstocapt.c:113: error: expected ')' before '*' token
pstocapt.c: In function 'get_driver_table':
pstocapt.c:212: error: 'FILE' undeclared (first use in this function)
pstocapt.c:212: error: (Each undeclared identifier is reported only once
pstocapt.c:212: error: for each function it appears in.)
pstocapt.c:212: error: 'fp' undeclared (first use in this function)
pstocapt.c:212: warning: implicit declaration of function 'fopen'
pstocapt.c:226: warning: implicit declaration of function 'fgetc'
pstocapt.c:228: error: 'EOF' undeclared (first use in this function)
pstocapt.c:241: warning: implicit declaration of function 'strlen'
pstocapt.c:241: warning: incompatible implicit declaration of built-in function 'strlen'
pstocapt.c:245: warning: implicit declaration of function 'strncmp'
pstocapt.c:254: warning: implicit declaration of function 'strcat'
pstocapt.c:254: warning: incompatible implicit declaration of built-in function 'strcat'
pstocapt.c:269: warning: implicit declaration of function 'fclose'
pstocapt.c: At top level:
pstocapt.c:275: error: expected ')' before '*' token
pstocapt.c:350: error: expected declaration specifiers or '...' before 'BufList'
pstocapt.c: In function 'get_ps_params':
pstocapt.c:357: error: 'BufList' undeclared (first use in this function)
pstocapt.c:357: error: 'bl' undeclared (first use in this function)
pstocapt.c:358: error: 'prev_bl' undeclared (first use in this function)
pstocapt.c:376: warning: implicit declaration of function 'strcpy'
pstocapt.c:376: warning: incompatible implicit declaration of built-in function 'strcpy'
pstocapt.c:389: warning: implicit declaration of function 'buflist_new'
pstocapt.c:391: error: 'ps_data' undeclared (first use in this function)
pstocapt.c:394: warning: implicit declaration of function 'buflist_add_tail'
pstocapt.c:435: warning: value computed is not used
pstocapt.c: At top level:
pstocapt.c:483: error: expected ')' before '*' token
pstocapt.c:511: error: expected ')' before '*' token
pstocapt.c: In function 'exec_filter':
pstocapt.c:614: warning: incompatible implicit declaration of built-in function 'strcpy'
pstocapt.c:615: warning: incompatible implicit declaration of built-in function 'strcat'
pstocapt.c:625: warning: implicit declaration of function 'fprintf'
pstocapt.c:625: warning: incompatible implicit declaration of built-in function 'fprintf'
pstocapt.c:625: error: 'stderr' undeclared (first use in this function)
pstocapt.c: In function 'main':
pstocapt.c:647: error: 'cups_option_t' undeclared (first use in this function)
pstocapt.c:647: error: 'p_cups_opt' undeclared (first use in this function)
pstocapt.c:650: error: 'BufList' undeclared (first use in this function)
pstocapt.c:650: error: 'p_ps_data' undeclared (first use in this function)
pstocapt.c:661: warning: implicit declaration of function 'setbuf'
pstocapt.c:661: error: 'stderr' undeclared (first use in this function)
pstocapt.c:662: warning: incompatible implicit declaration of built-in function 'fprintf'
pstocapt.c:664: warning: implicit declaration of function 'memset'
pstocapt.c:664: warning: incompatible implicit declaration of built-in function 'memset'
pstocapt.c:668: warning: implicit declaration of function 'fputs'
pstocapt.c:680: warning: implicit declaration of function 'cupsParseOptions'
pstocapt.c:697: error: too many arguments to function 'get_ps_params'
pstocapt.c:699: warning: implicit declaration of function 'make_cmd_param'
pstocapt.c:699: warning: assignment makes pointer from integer without a cast
pstocapt.c:713: warning: implicit declaration of function 'buflist_write'
pstocapt.c:770: warning: implicit declaration of function 'buflist_destroy'
*** Error code 1

Stop in /usr/home/sabo/ftp/cndrvcups-capt-1.80/pstocapt/filter.
*** Error code 1

Stop in /usr/home/sabo/ftp/cndrvcups-capt-1.80/pstocapt.
*** Error code 1

Stop in /usr/home/sabo/ftp/cndrvcups-capt-1.80/pstocapt.

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру