Re: Compilation Error in pango-scan.c?



Eric Mader <mader jtcsv com> writes:

> Hi,
> 
> I just brought over the latest CVS, and when I try to build Pango, I
> get some compilation errors in docs/pango-scan.c:
> 
> Making all in docs
> make[2]: Entering directory `/home/emader/pango/docs'
> *** Scanning header files ***
> if grep -l '^..*$' ./pango.types > /dev/null ; then \
>      CC="/bin/sh ../libtool --mode=compile gcc" LD="/bin/sh ../libtool
> --mode=link gcc" CFLAGS="-g -O2 -Wall -D_REENTRANT
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -DPANGO_ENABLE_BACKEND -I.. -I.." LDFLAGS="../pango/libpango-1.0.la"
> gtkdoc-scangobj --module=pango --output-dir=. ; \
> else \
>      cd . ; \
>      for i in pango.args pango.hierarchy pango.signals ; do \
>                 test -f $i || touch $i ; \
>      done \
> fi
> gcc -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -DPANGO_ENABLE_BACKEND -I.. -I.. -c
> pango-scan.c  -fPIC -DPIC -o pango-scan.o
> pango-scan.c: In function `main':
> pango-scan.c:67: warning: implicit declaration of function `gtk_init'
> pango-scan.c: In function `output_widget_args':
> pango-scan.c:668: structure has no member named `n_property_specs'
> pango-scan.c:670: structure has no member named `property_specs'
> Compilation of scanner failed
> make[2]: *** [scan-build.stamp] Error 1
> make[2]: Leaving directory `/home/emader/pango/docs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/emader/pango'
> make: *** [all-recursive-am] Error 2
> [emader doramichan pango]$

I think you probably have an old version of gtk-doc ... you'll either need
to grab the current gtk-doc CVS, or configure Pango with --disable-gtk-doc.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]