LinuxSir.cn,穿越时空的Linuxsir!

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

章 8. 常规库GLib-1.2.10错误,帮助看一下,谢了(已成功)

[复制链接]
发表于 2005-3-14 22:49:35 | 显示全部楼层 |阅读模式
[root@liu tmp]# cd glib-1.2.10/
[root@liu glib-1.2.10]# ./configure --prefix=/usr
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking whether to enable memory checking... no
checking whether to enable memory profiling... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for vprintf... yes
checking for atexit... yes
checking for on_exit... yes
checking size of char... 1
checking size of short... 2
checking size of long... 4
checking size of int... 4
checking size of void *... 4
checking size of long long... 8
checking for working const... yes
checking for __inline... yes
checking for __inline__... yes
checking for inline... yes
checking whether byte ordering is bigendian... no
checking for float.h... yes
checking for limits.h... yes
checking for pwd.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for unistd.h... yes
checking for values.h... yes
checking for lstat... yes
checking for strerror... yes
checking for strsignal... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for poll... yes
checking for sys_errlist... yes
checking for sys_siglist... yes
checking for sys_siglist declaration... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking whether realloc (NULL,) will work... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlsym in -ldl... yes
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking for pthread.h... yes
checking for thread implementation... posix
checking for pthread_attr_init in -lpthread... yes
checking necessary linker options... -lpthread
checking necessary compiler options...  -D_REENTRANT
checking for localtime_r... yes
checking for rand_r... yes
checking for getpwuid_r... yes
checking whether getpwuid_r is posix like... yes
checking whether pthread_getspecific is posix like... yes
checking whether pthread_mutex_trylock is posix like... yes
checking whether pthread_cond_timedwait is posix like... yes
checking size of pthread_mutex_t... 24
checking byte contents of pthread_mutex_t... 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP POLLNVAL... done
updating cache ./config.cache
creating ./config.status
creating glib.spec
creating Makefile
creating glib-config
creating gmodule/gmoduleconf.h
creating gmodule/Makefile
creating gthread/Makefile
creating docs/Makefile
creating docs/glib-config.1
creating tests/Makefile
creating glib.pc
creating gmodule.pc
creating gthread.pc
creating config.h
creating glibconfig.h
[root@liu glib-1.2.10]# make
make  all-recursive
make[1]: Entering directory `/root/tmp/glib-1.2.10'
Making all in .
make[2]: Entering directory `/root/tmp/glib-1.2.10'
CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
creating glibconfig.h
glibconfig.h is unchanged
echo timestamp > stamp-gc-h
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c garray.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c garray.c  -fPIC -DPIC -o .libs/garray.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c garray.c -o garray.o >/dev/null 2>&1
mv -f .libs/garray.lo garray.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gcache.c
rm -f .libs/gcache.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcache.c  -fPIC -DPIC -o .libs/gcache.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcache.c -o gcache.o >/dev/null 2>&1
mv -f .libs/gcache.lo gcache.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gcompletion.c
rm -f .libs/gcompletion.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c  -fPIC -DPIC -o .libs/gcompletion.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c -o gcompletion.o >/dev/null 2>&1
mv -f .libs/gcompletion.lo gcompletion.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gdataset.c
rm -f .libs/gdataset.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c  -fPIC -DPIC -o .libs/gdataset.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c -o gdataset.o >/dev/null 2>&1
mv -f .libs/gdataset.lo gdataset.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gdate.c
rm -f .libs/gdate.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c  -fPIC -DPIC -o .libs/gdate.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c -o gdate.o >/dev/null 2>&1
mv -f .libs/gdate.lo gdate.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gerror.c
rm -f .libs/gerror.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c  -fPIC -DPIC -o .libs/gerror.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c -o gerror.o >/dev/null 2>&1
mv -f .libs/gerror.lo gerror.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c ghash.c
rm -f .libs/ghash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c  -fPIC -DPIC -o .libs/ghash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c -o ghash.o >/dev/null 2>&1
mv -f .libs/ghash.lo ghash.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c ghook.c
rm -f .libs/ghook.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c  -fPIC -DPIC -o .libs/ghook.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c -o ghook.o >/dev/null 2>&1
mv -f .libs/ghook.lo ghook.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c giochannel.c
rm -f .libs/giochannel.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c  -fPIC -DPIC -o .libs/giochannel.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c -o giochannel.o >/dev/null 2>&1
mv -f .libs/giochannel.lo giochannel.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c giounix.c
rm -f .libs/giounix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c  -fPIC -DPIC -o .libs/giounix.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c -o giounix.o >/dev/null 2>&1
mv -f .libs/giounix.lo giounix.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c glist.c
rm -f .libs/glist.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c glist.c  -fPIC -DPIC -o .libs/glist.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c glist.c -o glist.o >/dev/null 2>&1
mv -f .libs/glist.lo glist.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gmain.c
rm -f .libs/gmain.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmain.c  -fPIC -DPIC -o .libs/gmain.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmain.c -o gmain.o >/dev/null 2>&1
mv -f .libs/gmain.lo gmain.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gmem.c
rm -f .libs/gmem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmem.c  -fPIC -DPIC -o .libs/gmem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmem.c -o gmem.o >/dev/null 2>&1
mv -f .libs/gmem.lo gmem.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gmessages.crm -f .libs/gmessages.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmessages.c  -fPIC -DPIC -o .libs/gmessages.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmessages.c -o gmessages.o >/dev/null 2>&1
mv -f .libs/gmessages.lo gmessages.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gmutex.c
rm -f .libs/gmutex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmutex.c  -fPIC -DPIC -o .libs/gmutex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gmutex.c -o gmutex.o >/dev/null 2>&1
mv -f .libs/gmutex.lo gmutex.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gnode.c
rm -f .libs/gnode.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gnode.c  -fPIC -DPIC -o .libs/gnode.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gnode.c -o gnode.o >/dev/null 2>&1
mv -f .libs/gnode.lo gnode.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gprimes.c
rm -f .libs/gprimes.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gprimes.c  -fPIC -DPIC -o .libs/gprimes.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gprimes.c -o gprimes.o >/dev/null 2>&1
mv -f .libs/gprimes.lo gprimes.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c grel.c
rm -f .libs/grel.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c grel.c  -fPIC -DPIC -o .libs/grel.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c grel.c -o grel.o >/dev/null 2>&1
mv -f .libs/grel.lo grel.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gscanner.c
rm -f .libs/gscanner.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gscanner.c  -fPIC -DPIC -o .libs/gscanner.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gscanner.c -o gscanner.o >/dev/null 2>&1
mv -f .libs/gscanner.lo gscanner.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gslist.c
rm -f .libs/gslist.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gslist.c  -fPIC -DPIC -o .libs/gslist.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gslist.c -o gslist.o >/dev/null 2>&1
mv -f .libs/gslist.lo gslist.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gstrfuncs.crm -f .libs/gstrfuncs.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gstrfuncs.c  -fPIC -DPIC -o .libs/gstrfuncs.lo
gstrfuncs.c: In function `g_printf_string_upper_bound':
gstrfuncs.c:870: error: syntax error before string constant
gstrfuncs.c:1037: error: syntax error before string constant
gstrfuncs.c:1080: error: syntax error before string constant
gstrfuncs.c:1111: error: syntax error before string constant
make[2]: *** [gstrfuncs.lo] 错误 1
make[2]: Leaving directory `/root/tmp/glib-1.2.10'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/tmp/glib-1.2.10'
make: *** [all-recursive-am] 错误 2

[root@liu glib-1.2.10]# make
make  all-recursive
make[1]: Entering directory `/root/tmp/glib-1.2.10'
Making all in .
make[2]: Entering directory `/root/tmp/glib-1.2.10'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gstrfuncs.crm -f .libs/gstrfuncs.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gstrfuncs.c  -fPIC -DPIC -o .libs/gstrfuncs.lo
gstrfuncs.c: In function `g_printf_string_upper_bound':
gstrfuncs.c:870: error: syntax error before string constant
gstrfuncs.c:1037: error: syntax error before string constant
gstrfuncs.c:1080: error: syntax error before string constant
gstrfuncs.c:1111: error: syntax error before string constant
make[2]: *** [gstrfuncs.lo] 错误 1
make[2]: Leaving directory `/root/tmp/glib-1.2.10'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/tmp/glib-1.2.10'
make: *** [all-recursive-am] 错误 2

[root@liu glib-1.2.10]#
发表于 2005-3-16 20:08:19 | 显示全部楼层
gstrfuncs.c:870: error: syntax error before string constant
你把gstrfuncs.c这个文件打开,看看870行以及前面的几行有什么内容,一般是头文件少了,有的时候它的configure脚本通过,并不能保证编译所需头文件都有。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-16 20:55:07 | 显示全部楼层
不好意思,我找了好久,但找不到gstrfuncs.c这个文件,应该在什么地方,非常感激tram 版主!!!
回复 支持 反对

使用道具 举报

发表于 2005-3-16 21:18:28 | 显示全部楼层
find ./ | grep gstrfuncs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-16 22:46:37 | 显示全部楼层
gstrfuncs.c  见附件,实在不行就算了,感谢版主!!!

请去掉后缀名.txt

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-3-17 10:00:40 | 显示全部楼层
包含G_GNUC_PRETTY_FUNCTION这个宏的头文件没有,所以就语法错误了。
在google上一查,第一个结果:
www.rocklinux.net/sources/ package/gnome14/glib12/gcc34.patch
好了,原来是没有打补丁:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-17 10:46:02 | 显示全部楼层
非常感谢!!又学了一 招!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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