![]() |
|
| Правила Форума редакция от 22.06.2020 |
|
|||||||
|
|
Окажите посильную поддержку, мы очень надеемся на вас. Реквизиты для переводов ниже. |
|
![]() |
|
|
Опции темы | Опции просмотра |
Language
|
|
|
#1
|
|
Кто подключал CANON LBP-800 в Ubuntu?
Погуглил немного нашел как, но блин мож че нитак делаю? http://www.veneto.com/lbp800/lbp800.html#tools |
|
|
|
|
| Реклама: | кадышева билеты | барн хаусы 60 кв | Мебельный магазин: пенал мебель это - Переходи на сайт! | стартер для розжига углей для мангала купить | клапан кпс 1м 60 но mb 220 440x400 121b54044004000 |
|
|
#2
|
|
ViP
![]() Пол:
Регистрация: 08.08.2005
Адрес: Россия
Сообщений: 1,961
Репутация: 1676
|
Nikolay S, а в подробностях можно?что вы там такого делаете?
|
|
|
|
|
|
#3
|
|
The driver works (for the moment) ONLY for parallel port printers. It may work also for other CAPT printers. It is NOT for USB printers
Отсюда вопрос как подключен принтер, через какой кабель??
__________________
Сын: Папа есть ли жизнь без Windows? Отец: Нет сынок это фантастика..... |
|
|
|
|
|
|
#4
|
|
Подключен по LPT.
Делаю все как написано в ссылке выше... (Разархивировал, перешел в ту папку, sudo make, sudo make install- выдает почти все ероры) Мож кто пошагово скажет как делать... |
|
|
|
|
|
|
#5
|
|||||||||||||||||||||||
Приведите сюда что он выдает тогда можно будет сказать что нибудь.
__________________
Сын: Папа есть ли жизнь без Windows? Отец: Нет сынок это фантастика..... |
||||||||||||||||||||||||
|
|
|
| Сказали спасибо: |
|
|
#6
|
|
nik@Nik:~/Install/lbp800-0.1.2$ sudo make
[sudo] password for nik: gcc -O2 -s -Wall \ errcapt.c bmcapt.c lbp800.c \ -l cups -o bin/Release/lbp800 errcapt.c:26:19: ошибка: stdio.h: No such file or directory errcapt.c: В функции ‘LBP800Log’ errcapt.c:47: ошибка: ‘FILE’ undeclared (first use in this function) errcapt.c:47: ошибка: (Each undeclared identifier is reported only once errcapt.c:47: ошибка: for each function it appears in.) errcapt.c:47: ошибка: ‘LogFile’ undeclared (first use in this function) errcapt.c:49: предупреждение: implicit declaration of function ‘fopen’ errcapt.c:52: предупреждение: implicit declaration of function ‘vfprintf’ errcapt.c:54: предупреждение: implicit declaration of function ‘fclose’ bmcapt.c:26:19: ошибка: stdio.h: No such file or directory bmcapt.c:27:20: ошибка: stdlib.h: No such file or directory bmcapt.c:28:20: ошибка: string.h: No such file or directory In file included from bmcapt.c:35: bmcapt.h:43: ошибка: expected specifier-qualifier-list before ‘FILE’ bmcapt.h:57: ошибка: expected ‘)’ before ‘*’ token bmcapt.h:70: ошибка: expected declaration specifiers or ‘...’ before ‘FILE’ bmcapt.h:74: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token bmcapt.h:78: ошибка: expected ‘)’ before ‘*’ token bmcapt.c:41: ошибка: expected ‘)’ before ‘*’ token bmcapt.c: В функции ‘Bitmap_GetLine’ bmcapt.c:65: предупреждение: implicit declaration of function ‘memset’ bmcapt.c:65: предупреждение: incompatible implicit declaration of built-in function ‘memset’ bmcapt.c:68: предупреждение: implicit declaration of function ‘Bitmap_Skip’ bmcapt.c:68: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ bmcapt.c:68: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ bmcapt.c:71: ошибка: ‘TSourceBitmap’ has no member named ‘Width’ bmcapt.c:71: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ bmcapt.c:82: предупреждение: implicit declaration of function ‘fread’ bmcapt.c:82: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ bmcapt.c:93: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ bmcapt.c: На верхнем уровне: bmcapt.c:120: ошибка: expected declaration specifiers or ‘...’ before ‘FILE’ bmcapt.c: В функции ‘CompressBitmap’ bmcapt.c:160: предупреждение: implicit declaration of function ‘fgets’ bmcapt.c:160: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ bmcapt.c:162: предупреждение: implicit declaration of function ‘strncmp’ bmcapt.c:164: предупреждение: implicit declaration of function ‘fprintf’ bmcapt.c:164: предупреждение: incompatible implicit declaration of built-in function ‘fprintf’ bmcapt.c:164: ошибка: ‘stderr’ undeclared (first use in this function) bmcapt.c:164: ошибка: (Each undeclared identifier is reported only once bmcapt.c:164: ошибка: for each function it appears in.) bmcapt.c:171: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ bmcapt.c:176: предупреждение: implicit declaration of function ‘sscanf’ bmcapt.c:176: предупреждение: incompatible implicit declaration of built-in function ‘sscanf’ bmcapt.c:176: ошибка: ‘TSourceBitmap’ has no member named ‘Width’ bmcapt.c:176: ошибка: ‘TSourceBitmap’ has no member named ‘Height’ bmcapt.c:178: предупреждение: incompatible implicit declaration of built-in function ‘fprintf’ bmcapt.c:182: ошибка: ‘TSourceBitmap’ has no member named ‘Width’ bmcapt.c:182: ошибка: ‘TSourceBitmap’ has no member named ‘Width’ bmcapt.c:183: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ bmcapt.c:183: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ bmcapt.c:186: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ bmcapt.c:186: ошибка: ‘TSourceBitmap’ has no member named ‘Height’ bmcapt.c:186: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ bmcapt.c:186: ошибка: ‘TSourceBitmap’ has no member named ‘Width’ bmcapt.c:190: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ bmcapt.c:191: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ bmcapt.c:191: ошибка: ‘TSourceBitmap’ has no member named ‘Width’ bmcapt.c:191: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ bmcapt.c:194: ошибка: ‘TSourceBitmap’ has no member named ‘Height’ bmcapt.c:194: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ bmcapt.c:199: предупреждение: implicit declaration of function ‘ftell’ bmcapt.c:199: ошибка: ‘CBitmapf’ undeclared (first use in this function) bmcapt.c:203: предупреждение: implicit declaration of function ‘fwrite’ bmcapt.c:203: предупреждение: incompatible implicit declaration of built-in function ‘fwrite’ bmcapt.c:236: предупреждение: implicit declaration of function ‘fputc’ bmcapt.c:365: предупреждение: implicit declaration of function ‘fseek’ bmcapt.c:365: ошибка: ‘SEEK_SET’ undeclared (first use in this function) bmcapt.c:367: ошибка: ‘SEEK_END’ undeclared (first use in this function) bmcapt.c:376: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ bmcapt.c:376: ошибка: ‘TSourceBitmap’ has no member named ‘Height’ bmcapt.c: На верхнем уровне: bmcapt.c:391: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token bmcapt.c:425: ошибка: expected ‘)’ before ‘*’ token lbp800.c:25:19: ошибка: stdio.h: No such file or directory lbp800.c:26:20: ошибка: stdlib.h: No such file or directory lbp800.c:27:20: ошибка: string.h: No such file or directory lbp800.c:28:20: ошибка: unistd.h: No such file or directory In file included from lbp800.c:32: bmcapt.h:43: ошибка: expected specifier-qualifier-list before ‘FILE’ bmcapt.h:57: ошибка: expected ‘)’ before ‘*’ token bmcapt.h:70: ошибка: expected declaration specifiers or ‘...’ before ‘FILE’ bmcapt.h:74: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token bmcapt.h:78: ошибка: expected ‘)’ before ‘*’ token lbp800.c: В функции ‘main’ lbp800.c:46: ошибка: ‘FILE’ undeclared (first use in this function) lbp800.c:46: ошибка: (Each undeclared identifier is reported only once lbp800.c:46: ошибка: for each function it appears in.) lbp800.c:46: ошибка: ‘CBitmapf’ undeclared (first use in this function) lbp800.c:49: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ lbp800.c:49: ошибка: ‘stdin’ undeclared (first use in this function) lbp800.c:50: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ lbp800.c:51: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ lbp800.c:54: предупреждение: implicit declaration of function ‘getopt’ lbp800.c:60: предупреждение: implicit declaration of function ‘sscanf’ lbp800.c:60: предупреждение: incompatible implicit declaration of built-in function ‘sscanf’ lbp800.c:60: ошибка: ‘optarg’ undeclared (first use in this function) lbp800.c:60: ошибка: ‘TSourceBitmap’ has no member named ‘TopSkip’ lbp800.c:65: ошибка: ‘TSourceBitmap’ has no member named ‘LeftSkip’ lbp800.c:70: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ lbp800.c:70: предупреждение: implicit declaration of function ‘fopen’ lbp800.c:71: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ lbp800.c:73: предупреждение: implicit declaration of function ‘fprintf’ lbp800.c:73: предупреждение: incompatible implicit declaration of built-in function ‘fprintf’ lbp800.c:73: ошибка: ‘stderr’ undeclared (first use in this function) lbp800.c:74: предупреждение: implicit declaration of function ‘exit’ lbp800.c:74: предупреждение: incompatible implicit declaration of built-in function ‘exit’ lbp800.c:83: предупреждение: implicit declaration of function ‘CompressBitmaps’ lbp800.c:83: ошибка: ‘NULL’ undeclared (first use in this function) lbp800.c:85: предупреждение: implicit declaration of function ‘fseek’ lbp800.c:85: ошибка: ‘SEEK_SET’ undeclared (first use in this function) lbp800.c:88: предупреждение: implicit declaration of function ‘PrintBitmaps’ lbp800.c:91: предупреждение: implicit declaration of function ‘fclose’ lbp800.c:96: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ lbp800.c:97: ошибка: ‘TSourceBitmap’ has no member named ‘Bitmapf’ make: *** [lbp800] Ошибка 1 |
|
|
|
|
|
|
#7
|
|
ViP
![]() Пол:
Регистрация: 08.08.2005
Адрес: Россия
Сообщений: 1,961
Репутация: 1676
|
|
|
|
|
|
|
#8
|
|
У вас не установлены заголовки и возможно либы стандартной библиотеки C. Если rpm based дистр дайте вывод сюда
Код:
rpm -qa | grep libc Напишите какой дистрибутив у вас
__________________
Сын: Папа есть ли жизнь без Windows? Отец: Нет сынок это фантастика..... |
|
|
|
|
|
|
#9
|
|
ViP
![]() Пол:
Регистрация: 08.08.2005
Адрес: Россия
Сообщений: 1,961
Репутация: 1676
|
bmk, так в теме написано=))Убунту) так что rpm ему не поможет)
|
|
|
|
|
|
#10
|
|
Яриус, Тьфу сплю
уже в убунту Код:
dpkg -l libc люблю RPM
__________________
Сын: Папа есть ли жизнь без Windows? Отец: Нет сынок это фантастика..... |
|
|
|
|
|
|
#11
|
|
ViP
![]() Пол:
Регистрация: 08.08.2005
Адрес: Россия
Сообщений: 1,961
Репутация: 1676
|
|
|
|
|
|
|
#12
|
|
Ну в общем дровишки поставил
1. sudo apt-get install libcupsys2-dev 2. make 3. sudo make install Осталось принтер чтоб работал - а он гад всеравно не работает,,, Какие будут предложения? |
|
|
|
|
|
|
#13
|
|
ViP
![]() Пол:
Регистрация: 08.08.2005
Адрес: Россия
Сообщений: 1,961
Репутация: 1676
|
Nikolay S, а на что ругаецо?
|
|
|
|
| Сказали спасибо: |
|
|
#14
|
|||||||||||||||||||||||
Судя по названию пакеты вы поставили не дровишки а библиотеки CUPS....сервера печати...это не то что вам надо ![]()
__________________
Сын: Папа есть ли жизнь без Windows? Отец: Нет сынок это фантастика..... |
||||||||||||||||||||||||
|
|
|
| Сказали спасибо: |
|
|
#15
|
|
bmk,- сори за непонятность изложенного - когда поставил КУПС, перешел в папку с дровами сделал мейк-мейк инстал тогда они (дрова) стали...
Яриус, - ровным счетом ничего и не на кого не ругается, просто молчит и все... В диспечере печати пишет в процессе и все. К стати делал как написано сдесь Может че недоделал? |
|
|
|
|
![]() |
Похожие темы
|
||||
| Тема | Автор | Раздел | Ответов | Последнее сообщение |
| L2(C6) и Ubuntu 9.4 | Targetai | UNIX, Linux, MacOs для PC и другие ОС | 3 | 30.11.2009 03:33 |
| Ubuntu | crap | Вопросы и проблемы | 8 | 04.03.2009 16:37 |
| Ati 8.38.6 на ubuntu 7.04 | foxxmulder | UNIX, Linux, MacOs для PC и другие ОС | 16 | 26.09.2007 08:39 |
| Ubuntu | _EvgeniY_ | UNIX, Linux, MacOs для PC и другие ОС | 64 | 06.06.2007 22:43 |
|
|