Re: error compiling bonobo-activation, glib related?
- From: Laszlo PETER <Laszlo Peter ireland sun com>
- To: Darin Adler <darin bentspoon com>
- Cc: Rodrigo Moya <rodrigo gnome-db org>, gnome-2-0-list gnome org
- Subject: Re: error compiling bonobo-activation, glib related?
- Date: Wed, 22 Aug 2001 19:34:46 +0100
I actually got the same error message in today's nightly build
on Solaris. It worked on Linux (using the same source) and it
also worked yesterday. I haven't changed the build env.
Laca
Darin Adler wrote:
>
> 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
>
> _______________________________________________
> gnome-2-0-list mailing list
> gnome-2-0-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-2-0-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]