Re: error compiling bonobo-activation, glib related?



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]