Errors building 0.25

John C. Turnbull ozemale at ozemail.com.au
Fri Aug 26 04:47:10 PDT 2011


I initially tried building 0.26 but read online that there were problems
with dependencies so I am trying 0.25 instead.  The build environment is
MSYS on Windows 7 64-bit.

 

I successfully rang configure but now get the following errors when running
make:

 

gcc -DHAVE_CONFIG_H -I.
-DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:
/usr/lib/pkgconfig:
/usr/share/pkgconfig\"" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I./popt   -g -Wall -O2 -g -O2
-MT pkg.o -MD -MP -MF .deps/pkg.Tpo -c -o pkg.o pkg.c

In file included from pkg.h:26,

                 from pkg.c:25:

glib-1.2.10/glib.h:66:24: glibconfig.h: No such file or directory

In file included from pkg.h:26,

                 from pkg.c:25:

glib-1.2.10/glib.h:502: error: syntax error before "gssize"

glib-1.2.10/glib.h:502: warning: type defaults to `int' in declaration of
`gssize'

glib-1.2.10/glib.h:502: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:503: error: syntax error before "gsize"

glib-1.2.10/glib.h:503: warning: type defaults to `int' in declaration of
`gsize'

glib-1.2.10/glib.h:503: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:504: error: syntax error before "GQuark"

glib-1.2.10/glib.h:504: warning: type defaults to `int' in declaration of
`GQuark'

glib-1.2.10/glib.h:504: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:505: error: syntax error before "GTime"

glib-1.2.10/glib.h:505: warning: type defaults to `int' in declaration of
`GTime'

glib-1.2.10/glib.h:505: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:769: error: syntax error before "key_id"

glib-1.2.10/glib.h:840: error: syntax error before "guint8"

glib-1.2.10/glib.h:840: warning: no semicolon at end of struct or union

glib-1.2.10/glib.h:842: error: syntax error before '}' token

glib-1.2.10/glib.h:1573: error: syntax error before "mask"

glib-1.2.10/glib.h:1591: error: syntax error before "mask"

glib-1.2.10/glib.h:1737: warning: type defaults to `int' in declaration of
`guint8'

glib-1.2.10/glib.h:1737: error: syntax error before '*' token

glib-1.2.10/glib.h:1740: warning: type defaults to `int' in declaration of
`guint8'

glib-1.2.10/glib.h:1740: error: syntax error before '*' token

glib-1.2.10/glib.h:1773: error: syntax error before "g_quark_try_string"

glib-1.2.10/glib.h:1773: warning: type defaults to `int' in declaration of
`g_quark_try_string'

glib-1.2.10/glib.h:1773: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:1774: error: syntax error before
"g_quark_from_static_string"

glib-1.2.10/glib.h:1774: warning: type defaults to `int' in declaration of
`g_quark_from_static_string'

glib-1.2.10/glib.h:1774: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:1775: error: syntax error before "g_quark_from_string"

glib-1.2.10/glib.h:1775: warning: type defaults to `int' in declaration of
`g_quark_from_string'

glib-1.2.10/glib.h:1775: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:1776: error: syntax error before "quark"

glib-1.2.10/glib.h:1785: error: syntax error before "GQuark"

glib-1.2.10/glib.h:1787: error: syntax error before "GQuark"

glib-1.2.10/glib.h:1791: error: syntax error before "GQuark"

glib-1.2.10/glib.h:1816: error: syntax error before "GQuark"

glib-1.2.10/glib.h:1818: error: syntax error before "GQuark"

glib-1.2.10/glib.h:1822: error: syntax error before "GQuark"

glib-1.2.10/glib.h:2094: error: syntax error before "GDateYear"

glib-1.2.10/glib.h:2094: warning: type defaults to `int' in declaration of
`GDateYear'

glib-1.2.10/glib.h:2094: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2095: error: syntax error before "GDateDay"

glib-1.2.10/glib.h:2095: warning: type defaults to `int' in declaration of
`GDateDay'

glib-1.2.10/glib.h:2095: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2168: error: syntax error before "day"

glib-1.2.10/glib.h:2171: error: syntax error before "julian_day"

glib-1.2.10/glib.h:2180: error: syntax error before "day"

glib-1.2.10/glib.h:2182: error: syntax error before "year"

glib-1.2.10/glib.h:2184: error: syntax error before "julian_date"

glib-1.2.10/glib.h:2185: error: syntax error before "day"

glib-1.2.10/glib.h:2191: error: syntax error before "g_date_year"

glib-1.2.10/glib.h:2191: warning: type defaults to `int' in declaration of
`g_date_year'

glib-1.2.10/glib.h:2191: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2192: error: syntax error before "g_date_day"

glib-1.2.10/glib.h:2192: warning: type defaults to `int' in declaration of
`g_date_day'

glib-1.2.10/glib.h:2192: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2193: error: syntax error before "g_date_julian"

glib-1.2.10/glib.h:2193: warning: type defaults to `int' in declaration of
`g_date_julian'

glib-1.2.10/glib.h:2193: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2219: error: syntax error before "GTime"

glib-1.2.10/glib.h:2223: error: syntax error before "GDateDay"

glib-1.2.10/glib.h:2225: error: syntax error before "GDateYear"

glib-1.2.10/glib.h:2227: error: syntax error before "GDateDay"

glib-1.2.10/glib.h:2231: error: syntax error before "guint32"

glib-1.2.10/glib.h:2252: error: syntax error before "year"

glib-1.2.10/glib.h:2253: error: syntax error before "g_date_days_in_month"

glib-1.2.10/glib.h:2254: error: syntax error before "GDateYear"

glib-1.2.10/glib.h:2254: warning: type defaults to `int' in declaration of
`g_date_days_in_month'

glib-1.2.10/glib.h:2254: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2255: error: syntax error before
"g_date_monday_weeks_in_year"

glib-1.2.10/glib.h:2255: error: syntax error before "year"

glib-1.2.10/glib.h:2255: warning: type defaults to `int' in declaration of
`g_date_monday_weeks_in_year'

glib-1.2.10/glib.h:2255: warning: data definition has no type or storage
class

glib-1.2.10/glib.h:2256: error: syntax error before
"g_date_sunday_weeks_in_year"

glib-1.2.10/glib.h:2256: error: syntax error before "year"

glib-1.2.10/glib.h:2256: warning: type defaults to `int' in declaration of
`g_date_sunday_weeks_in_year'

 

...and several more.

 

It clearly can't find glibconfig.h

 

How can I get this to build?

 

Thanks,

 

-jct

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pkg-config/attachments/20110826/3aa6854b/attachment.htm>


More information about the pkg-config mailing list