Re: error compiling bonobo-activation, glib related?
- From: Darin Adler <darin bentspoon com>
- To: Rodrigo Moya <rodrigo gnome-db org>
- Cc: gnome-2-0-list gnome org
- Subject: Re: error compiling bonobo-activation, glib related?
- Date: Wed, 22 Aug 2001 11:19:58 -0700
On Wednesday, August 22, 2001, at 11:11 AM, Rodrigo Moya wrote:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..
-DBONOBO_ACTIVATION_LOCALEDIR=\"/gnome/head/INSTALL/share/locale\"
-DORBIT2=1 -I/gnome/head/INSTALL/include/glib-2.0
-I/gnome/head/INSTALL/lib/glib-2.0/include -I/gnome/head/INSTALL/include
-DVERSION=\"0.9.1\" -ansi -std=c99 -D_POSIX_C_SOURCE=199506L
-D_BSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -g -O2 -Wp,-MD,.deps/Bonobo_Unknown-common.pp -c
Bonobo_Unknown-common.c -fPIC -DPIC -o Bonobo_Unknown-common.o
Bonobo_Unknown-common.c:0: malformed option `-D
__STRICT_ANSI__-trigraphs'
Looks to me like something wrong with your gcc installation's handling of
-ansi. The -D__STRICT_ANSI__-trigraphs bit comes from inside the compiler
driver script, I think. And the lack of a space seems to indicate a
mistake in there.
One quick way to test this is by typing this:
echo "int main() { }" > test.c
gcc -ansi test.c
If that gives you the same warning, you know that you have a gcc problem.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]