Re: error compiling bonobo-activation, glib related?
- From: Maciej Stachowiak <mjs noisehavoc org>
- To: Rodrigo Moya <rodrigo gnome-db org>
- Cc: Darin Adler <darin bentspoon com>, Laca ireland sun com, gnome-2-0-list gnome org
- Subject: Re: error compiling bonobo-activation, glib related?
- Date: Wed, 22 Aug 2001 14:20:23 -0700
On 22Aug2001 10:22PM (+0200), Rodrigo Moya wrote:
> On Wed, 2001-08-22 at 21:25, Darin Adler wrote:
> > On Wednesday, August 22, 2001, at 12:09 PM, Rodrigo Moya wrote:
> >
> > > yes, and it worked perfectly well, no error messages
> >
> > OK. Lets try this:
> >
> > gcc -DHAVE_CONFIG_H \
> > -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 -c \
> > test.c -fPIC -DPIC -o test.c.o
> >
> > Does that work?
> >
> no, it gives the same error:
>
> test.c:0: malformed option `-D __STRICT_ANSI__-trigraphs'
>
Maybe it's confused by passing both -ansi and -std=c99 (which is
unnecessary anyway). Try taking out -ansi and leaving in only -st=c99.
- Maciej
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]