LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 721|回复: 3

cups编译出错!

[复制链接]
发表于 2005-11-14 07:53:04 | 显示全部楼层 |阅读模式
Calculating dependencies ...done!
>>> emerge (1 of 11) net-print/cups-1.1.23-r4 to /
>>> md5 files   ;-) cups-1.1.23-r2.ebuild
>>> md5 files   ;-) cups-1.1.23-r4.ebuild
>>> md5 files   ;-) cups-1.1.23-r1.ebuild
>>> md5 files   ;-) cups-1.1.23-r3.ebuild
>>> md5 files   ;-) files/cups-1.1.22-xpdf2-underflow.patch
>>> md5 files   ;-) files/xpdf-pl3.patch
>>> md5 files   ;-) files/cupsd.rc6
>>> md5 files   ;-) files/cups-gentooalt.patch
>>> md5 files   ;-) files/cups-lppasswd-setXid.patch
>>> md5 files   ;-) files/cups.pam
>>> md5 files   ;-) files/digest-cups-1.1.23-r1
>>> md5 files   ;-) files/digest-cups-1.1.23-r2
>>> md5 files   ;-) files/digest-cups-1.1.23-r3
>>> md5 files   ;-) files/digest-cups-1.1.23-r4
>>> md5 files   ;-) files/cups-gcc4-amd64.patch
>>> md5 files   ;-) files/disable-strip.patch
>>> md5 files   ;-) files/pdftops.pl
>>> md5 files   ;-) files/xpdf-goo-sizet.patch
>>> md5 files   ;-) files/cups.xinetd
>>> md5 src_uri ;-) cups-1.1.23-source.tar.bz2
>>> Unpacking source...
>>> Unpacking cups-1.1.23-source.tar.bz2 to /var/tmp/portage/cups-1.1.23-r4/work
* Applying disable-strip.patch ...                                       [ ok ]
* Applying cups-gcc4-amd64.patch ...                                     [ ok ]
* Applying cups-gentooalt.patch ...                                      [ ok ]
* Applying cups-lppasswd-setXid.patch ...                                [ ok ]
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-cups-user=lp --with-cups-group=lp --localstatedir=/var --enable-pam --enable-ssl --disable-slp --enable-nls --disable-gnutls --enable-openssl --build=i686-pc-linux-gnu
checking for gawk... gawk
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for ar... /usr/bin/ar
checking for htmldoc... no
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for nroff... /usr/bin/nroff
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for strip... /usr/bin/strip
checking whether byte ordering is bigendian... no
checking for library containing crypt... -lcrypt
checking for library containing getspent... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for correct format string to use with strftime... "%c"
checking for mkstemp... yes
checking for mkstemps... no
checking for geteuid... yes
checking for vsyslog... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for tm_gmtoff member in tm structure... yes
checking if libsupc++ is required... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking for pow in -lm... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_set_tRNS_to_alpha in -lpng... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for stdlib.h... (cached) yes
checking for socket in -lsocket... no
checking for gethostbyaddr in -lnsl... yes
checking for rresvport... yes
checking for getifaddrs... yes
checking for hstrerror... yes
checking for struct sockaddr.sa_len... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for java... no
checking for perl... /usr/bin/perl
checking for php... no
checking for python... /usr/bin/python
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating cups.list
config.status: creating cups.sh
config.status: creating cups-config
config.status: creating conf/cupsd.conf
config.status: creating conf/pam.std
config.status: creating config.h
Making all in cups...
Compiling attr.c...
Compiling auth.c...
Compiling dest.c...
Compiling emit.c...
Compiling encode.c...
Compiling getputfile.c...
Compiling http.c...
Compiling http-addr.c...
Compiling http-support.c...
Compiling ipp.c...
Compiling ipp-support.c...
Compiling language.c...
Compiling mark.c...
Compiling md5.c...
Compiling md5passwd.c...
Compiling options.c...
Compiling page.c...
Compiling ppd.c...
Compiling snprintf.c...
Compiling string.c...
Compiling tempfile.c...
Compiling usersys.c...
Compiling util.c...
Compiling testhttp.c...
Compiling testipp.c...
Compiling testlang.c...
Linking libcups.so.2...
Archiving libcups.a...
a - attr.o
a - auth.o
a - dest.o
a - emit.o
a - encode.o
a - getputfile.o
a - http.o
a - http-addr.o
a - http-support.o
a - ipp.o
a - ipp-support.o
a - language.o
a - mark.o
a - md5.o
a - md5passwd.o
a - options.o
a - page.o
a - ppd.o
a - snprintf.o
a - string.o
a - tempfile.o
a - usersys.o
a - util.o
Linking testhttp...
Linking testipp...
Linking testlang...
Making all in backend...
Compiling betest.c...
Compiling ipp.c...
Compiling lpd.c...
lpd.c: In function `lpd_queue':
lpd.c:889: error: unable to find a register to spill in class `AREG'
lpd.c:889: error: this is the insn:
(insn:HI 42 1563 4 0 (parallel [
            (set (reg:SI 2 cx [87])
                (const_int 0 [0x0]))
            (set (reg/f:SI 84)
                (plus:SI (ashift:SI (reg:SI 4 si [86])
                        (const_int 2 [0x2]))
                    (reg/f:SI 84)))
            (set (mem/s:BLK (reg/f:SI 84) [30 action+0 S140 A128])
                (const_int 0 [0x0]))
            (use (reg:SI 2 cx [85]))
            (use (reg:SI 4 si [86]))
            (use (reg:SI 19 dirflag))
        ]) 452 {*rep_stossi} (insn_list 40 (insn_list 39 (insn_list 37 (insn_list 38 (nil)))))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_DEAD (reg:SI 2 cx [85])
            (expr_list:REG_DEAD (reg:SI 4 si [86])
                (expr_list:REG_UNUSED (reg/f:SI 84)
                    (expr_list:REG_UNUSED (reg:SI 2 cx [87])
                        (nil)))))))
lpd.c:889: confused by earlier errors, bailing out
make[1]: *** [lpd.o] 错误 1
make[1]: *** 正在等待未完成的任务....
make: *** [all] 错误 1

!!! ERROR: net-print/cups-1.1.23-r4 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

emerge xfce4
需要安装这个包,有没有啥办法跳过的?

这个问题求解
发表于 2005-11-14 08:23:14 | 显示全部楼层
楼主标题都写错了。。

把cups写成cpus。。

晕。。。

一般情况是一个版本不行,就换另外一个版本。

我是指在后面加上版本号编译。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-14 08:34:12 | 显示全部楼层
cups-1.1.23-r1 to r4都试过了,一样的错误
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-14 08:40:04 | 显示全部楼层
暂时用-cups来emerge了,刚刚打错了,还以为没这功能了呢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表