QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1054|回复: 3

1.2pre5下一些的软件编译不过

[复制链接]
发表于 2004-1-6 20:15:34 | 显示全部楼层 |阅读模式
gdk-pixbuf-0.22的错误提示如下:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DPIXBUF_LIBDIR=\"/usr/lib/gdk-pixbuf/loaders\" -O2 -g -pipe -march=i686 -c gdk-pixbuf.c  -fPIC -DPIC -o .libs/gdk-pixbuf.lo
In file included from gdk-pixbuf.c:30:
gdk-pixbuf.h:29:21: gdk/gdk.h: No such file or directory
In file included from gdk-pixbuf.h:35,
                 from gdk-pixbuf.c:30:
../gdk-pixbuf/gdk-pixbuf-features.h:9: error: syntax error before "gdk_pixbuf_major_version"
../gdk-pixbuf/gdk-pixbuf-features.h:9: warning: data definition has no type or storage class
In file included from gdk-pixbuf.c:30:
gdk-pixbuf.h:50: error: syntax error before '*' token
gdk-pixbuf.h:53: error: syntax error before "gpointer"
gdk-pixbuf.h:64: error: syntax error before "gpointer"
gdk-pixbuf.h:72: error: syntax error before "gdk_pixbuf_get_has_alpha"
gdk-pixbuf.h:72: warning: data definition has no type or storage class
gdk-pixbuf.h:74: error: syntax error before '*' token
gdk-pixbuf.h:74: warning: data definition has no type or storage class
gdk-pixbuf.h:82: error: syntax error before "gboolean"
gdk-pixbuf.h:93: error: syntax error before '*' token
gdk-pixbuf.h:105: error: syntax error before "gboolean"
gdk-pixbuf.h:125: error: syntax error before "GdkBitmap"
gdk-pixbuf.h:132: error: syntax error before "GdkDrawable"
gdk-pixbuf.h:139: error: syntax error before "GdkDrawable"
gdk-pixbuf.h:149: error: syntax error before "GdkPixmap"
gdk-pixbuf.h:154: error: syntax error before "GdkDrawable"
gdk-pixbuf.h:209: error: syntax error before "guint32"
gdk-pixbuf.h:223: error: syntax error before "guint32"
gdk-pixbuf.h:244: error: syntax error before '*' token
gdk-pixbuf.h:244: warning: data definition has no type or storage class
gdk-pixbuf.h:257: error: syntax error before "app"
gdk-pixbuf.h:258: error: syntax error before "app"
In file included from gdk-pixbuf.c:31:
gdk-pixbuf-private.h:54: error: syntax error before "guchar"
gdk-pixbuf-private.h:54: warning: no semicolon at end of struct or union
gdk-pixbuf-private.h:60: error: syntax error before "destroy_fn_data"
gdk-pixbuf-private.h:60: warning: data definition has no type or storage class
gdk-pixbuf-private.h:66: error: syntax error before "last_unref_fn_data"
gdk-pixbuf-private.h:66: warning: data definition has no type or storage class
gdk-pixbuf-private.h:69: error: syntax error before "has_alpha"
gdk-pixbuf-private.h:97: error: syntax error before "GList"
gdk-pixbuf-private.h:97: warning: no semicolon at end of struct or union
gdk-pixbuf-private.h:101: error: syntax error before '}' token
gdk-pixbuf-private.h:106: error: syntax error before "gdk_pixbuf_parse_color"
gdk-pixbuf-private.h:106: error: syntax error before "gushort"
gdk-pixbuf-private.h:106: warning: data definition has no type or storage class
gdk-pixbuf.c: In function `gdk_pixbuf_ref':
gdk-pixbuf.c:60: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:62: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: In function `gdk_pixbuf_unref':
gdk-pixbuf.c:80: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:82: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:83: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:84: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:85: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:85: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: At top level:
gdk-pixbuf.c:107: error: syntax error before "gpointer"
gdk-pixbuf.c: In function `gdk_pixbuf_set_last_unref_handler':
gdk-pixbuf.c:109: error: `pixbuf' undeclared (first use in this function)
gdk-pixbuf.c:109: error: (Each undeclared identifier is reported only once
gdk-pixbuf.c:109: error: for each function it appears in.)
gdk-pixbuf.c: In function `gdk_pixbuf_finalize':
gdk-pixbuf.c:128: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:130: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:131: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:131: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:131: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: At top level:
gdk-pixbuf.c:140: error: syntax error before '*' token
gdk-pixbuf.c: In function `free_buffer':
gdk-pixbuf.c:142: error: `pixels' undeclared (first use in this function)
gdk-pixbuf.c: At top level:
gdk-pixbuf.c:161: error: syntax error before "gboolean"
gdk-pixbuf.c: In function `gdk_pixbuf_new':
gdk-pixbuf.c:164: error: `guchar' undeclared (first use in this function)
gdk-pixbuf.c:164: error: `buf' undeclared (first use in this function)
gdk-pixbuf.c:167: error: `gsize' undeclared (first use in this function)
gdk-pixbuf.c:167: error: syntax error before "bytes"
gdk-pixbuf.c:169: error: `colorspace' undeclared (first use in this function)
gdk-pixbuf.c:170: error: `bits_per_sample' undeclared (first use in this function)
gdk-pixbuf.c:174: error: `has_alpha' undeclared (first use in this function)
gdk-pixbuf.c:182: error: `bytes' undeclared (first use in this function)
gdk-pixbuf.c: In function `gdk_pixbuf_copy':
gdk-pixbuf.c:208: error: `guchar' undeclared (first use in this function)
gdk-pixbuf.c:208: error: `buf' undeclared (first use in this function)
gdk-pixbuf.c:218: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:218: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:219: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:219: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:219: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:225: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:228: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:228: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:229: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:230: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:230: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:231: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: In function `gdk_pixbuf_get_colorspace':
gdk-pixbuf.c:253: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: In function `gdk_pixbuf_get_n_channels':
gdk-pixbuf.c:269: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: At top level:
gdk-pixbuf.c:281: error: syntax error before "gdk_pixbuf_get_has_alpha"
gdk-pixbuf.c: In function `gdk_pixbuf_get_has_alpha':
gdk-pixbuf.c:285: error: dereferencing pointer to incomplete type
gdk-pixbuf.c:285: error: `TRUE' undeclared (first use in this function)
gdk-pixbuf.c:285: error: `FALSE' undeclared (first use in this function)
gdk-pixbuf.c: In function `gdk_pixbuf_get_bits_per_sample':
gdk-pixbuf.c:301: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: At top level:
gdk-pixbuf.c:312: error: syntax error before '*' token
gdk-pixbuf.c: In function `gdk_pixbuf_get_pixels':
gdk-pixbuf.c:317: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: In function `gdk_pixbuf_get_width':
gdk-pixbuf.c:333: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: In function `gdk_pixbuf_get_height':
gdk-pixbuf.c:349: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: In function `gdk_pixbuf_get_rowstride':
gdk-pixbuf.c:365: error: dereferencing pointer to incomplete type
gdk-pixbuf.c: At top level:
gdk-pixbuf.c:371: error: syntax error before "gdk_pixbuf_major_version"
gdk-pixbuf.c:371: warning: data definition has no type or storage class
gdk-pixbuf.c:372: error: syntax error before "gdk_pixbuf_minor_version"
gdk-pixbuf.c:372: warning: data definition has no type or storage class
gdk-pixbuf.c:373: error: syntax error before "gdk_pixbuf_micro_version"
gdk-pixbuf.c:373: warning: data definition has no type or storage class
gdk-pixbuf.c:378: error: syntax error before "app"
gdk-pixbuf.c:383: error: syntax error before "app"
make[3]: *** [gdk-pixbuf.lo] Error 1
make[3]: Leaving directory `/usr/src/mBuild/BUILD/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mBuild/BUILD/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mBuild/BUILD/gdk-pixbuf-0.22.0'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.96442 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.96442 (%build)


gnomemeeting-0.98.5报错如下:
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGNOMEMEETING_IMAGES=\"/usr/share/pixmaps\" -DG_LOG_DOMAIN=\"GnomeMeeting\" -DSHARE_DIR=\"/usr/share/gnomemeeting\" -I../.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/ptlib/unix -I/usr/include/ptclib -I/usr/include/openh323 -DP_LINUX -D_REENTRANT -DHAS_OSS -DNDEBUG -DPHAS_TEMPLATES -DP_USE_PRAGMA -DPTRACING -Wall -O2 -g -DHAS_IXJ -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/SDL -D_REENTRANT -DHAS_SDL -I/usr/kerberos/include -MT xdap.lo -MD -MP -MF .deps/xdap.Tpo -c xdap.c  -fPIC -DPIC -o .libs/xdap.o
xdap.c: In function `parseonly':
xdap.c:162: error: incompatible types in assignment
xdap.c: At top level:
xdap.c:107: warning: `registerNode' defined but not used
xdap.c:114: warning: `deregisterNode' defined but not used
make[3]: *** [xdap.lo] Error 1
make[3]: Leaving directory `/usr/src/mBuild/BUILD/gnomemeeting-0.98.5/lib/xdap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mBuild/BUILD/gnomemeeting-0.98.5/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mBuild/BUILD/gnomemeeting-0.98.5'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.23773 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.23773 (%build)

dbh-1.5.15报错如下:
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../lib -I../intl    -O2 -g -pipe -march=i686 -c -o version-etc.o version-etc.c
source='long-options.c' object='long-options.o' libtool=no \
depfile='.deps/long-options.Po' tmpdepfile='.deps/long-options.TPo' \
depmode=gcc /bin/sh ../auxdir/depcomp \
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../lib -I../intl    -O2 -g -pipe -march=i686 -c -o long-options.o long-options.c
bison -y  -dtv parsessh.y && mv y.tab.c parsessh.c
parsessh.y:246.9: syntax error, unexpected "|"
parsessh.y:246.51-52: invalid $ value
parsessh.y:246.51-52: $4 of `requirement' has no declared type
parsessh.y:271.9: syntax error, unexpected "|"
parsessh.y:271.40-41: $2 of `version' has no declared type
parsessh.y:721.9: syntax error, unexpected "|"
parsessh.y:724.16-17: invalid $ value
parsessh.y:724.16-17: $2 of `closers_opt' has no declared type
make[1]: *** [parsessh.c] Error 1
make[1]: Leaving directory `/usr/src/mBuild/BUILD/a2ps-4.13/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.27215 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.27215 (%build)
   
有可能是gcc3.3的问题,也有可能是2.6内核的问题,还有可能是alsa1.0rc2的问题,分析不出来。
发表于 2004-1-6 20:29:37 | 显示全部楼层
不要自己编译gnome,去官方升级站下载二进制包。
回复

使用道具 举报

 楼主| 发表于 2004-1-6 20:40:07 | 显示全部楼层
xlonestar的站上并没有gdk-pixbuf和dbh。
回复

使用道具 举报

发表于 2004-1-7 09:49:11 | 显示全部楼层
这个错误看上去没有安装gtk-devel的包
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-27 18:38 , Processed in 0.049162 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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