[已解决][问题]编译驱动出现错误提示

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
nicety
帖子: 92
注册时间: 2008-07-14 15:06
来自: 天津
联系:

[已解决][问题]编译驱动出现错误提示

#1

帖子 nicety » 2008-08-02 12:17

设备:Epson ME 200
下载驱动:pipslite-1.1.0.tar.gz (打印驱动)
iscan_2.11.0-1.tar.gz (扫描仪驱动)
但是在编译make过程中却出现了这·样的提示:

wangxiaoyu@wangxiaoyu-desktop:~/pipslite-1.1.0$ make
make all-recursive
make[1]: Entering directory `/home/wangxiaoyu/pipslite-1.1.0'
Making all in src
make[2]: Entering directory `/home/wangxiaoyu/pipslite-1.1.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I../lib -DCONFIG_FILE_PATH=\"/usr/local/etc/pipslite/pipslitedrc\" -DPRINTER_MODEL="\"LITE\"" -DLITE -DLIBPATH=\"/usr/local/lib/liblite.so\" -DRSC_PATH=\"/usr/local/etc/pipslite/pipsrc\" -DSPOOL_NAME=\"lite\" -DLOCALE_PATH=\"/usr/local/share/locale\" -DPRTOPT_PATH=\"/usr/local/etc/pipslite/prtOpt.csv\" -DPAPER_PATH=\"/usr/local/share/pipslite/paper_list.csv\" -D_LPR_DIRECT -fsigned-char -DCUPS_FILTER_PATH=\"/usr/local/lib/cups/filter\" -g -O2 -Wall -MT wrapper.o -MD -MP -MF ".deps/wrapper.Tpo" -c -o wrapper.o wrapper.c; \
then mv -f ".deps/wrapper.Tpo" ".deps/wrapper.Po"; else rm -f ".deps/wrapper.Tpo"; exit 1; fi
wrapper.c:26:25: 错误: cups/raster.h:没有该文件或目录
wrapper.c: 在函数‘main’中:
wrapper.c:79: 错误: ‘cups_raster_t’未声明 (在此函数内第一次使用)
wrapper.c:79: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
wrapper.c:79: 错误: 所在的函数内也只报告一次。)
wrapper.c:79: 错误: ‘ras’未声明 (在此函数内第一次使用)
wrapper.c:80: 错误: ‘cups_page_header_t’未声明 (在此函数内第一次使用)
wrapper.c:80: 错误: expected ‘;’ before ‘header’
wrapper.c:126: 警告: 隐式声明函数‘cupsRasterOpen’
wrapper.c:126: 错误: ‘CUPS_RASTER_READ’未声明 (在此函数内第一次使用)
wrapper.c:134: 警告: 隐式声明函数‘cupsRasterReadHeader’
wrapper.c:134: 错误: ‘header’未声明 (在此函数内第一次使用)
wrapper.c:167: 警告: 隐式声明函数‘cupsRasterReadPixels’
wrapper.c:185: 警告: 隐式声明函数‘cupsRasterClose’
make[2]: *** [wrapper.o] 错误 1
make[2]: Leaving directory `/home/wangxiaoyu/pipslite-1.1.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/wangxiaoyu/pipslite-1.1.0'
make: *** [all] 错误 2
wangxiaoyu@wangxiaoyu-desktop:~/pipslite-1.1.0$

这是我之前,/configure的记录,帮忙看看,
上次由 nicety 在 2008-08-17 21:53,总共编辑 1 次。
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

#2

帖子 cnkilior » 2008-08-02 12:25

wrapper.c:26:25: 错误: cups/raster.h:没有该文件或目录

在網上搜一下,或看看atp-search(不知道有沒有這個命令,我是學yum的)raster.h

應該是一個叫cups-dev的包,純猜的!
头像
nicety
帖子: 92
注册时间: 2008-07-14 15:06
来自: 天津
联系:

#3

帖子 nicety » 2008-08-02 15:06

试试去先,谢谢
头像
nicety
帖子: 92
注册时间: 2008-07-14 15:06
来自: 天津
联系:

#4

帖子 nicety » 2008-08-02 15:10

cnkilior 写了:wrapper.c:26:25: 错误: cups/raster.h:没有该文件或目录

在網上搜一下,或看看atp-search(不知道有沒有這個命令,我是學yum的)raster.h

應該是一個叫cups-dev的包,純猜的!
这两 个包包都没有, 有点失望
回复