Re: Bulding midgard packages for ubuntu

Johan Bernhardsson <[email protected]> Sun, 05 Mar 2006 10:47:36 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
--=-e56op/DY0yDTvHuvNNPo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Noticed that i was using gcc-4.0 .. and remembered that there was some
problems with that so i changed to gcc-3.4 and the problem is the same
just a tad clearer.


In file included from src/mgdschema.c:23:
/usr/include/libxml2/libxml/parser.h:1196: error: redeclaration of enumerat=
or `XML_FEATURE_UNICODE'
/usr/include/expat.h:971: error: previous definition of 'XML_FEATURE_UNICOD=
E' was here
make[1]: *** [src_libmidgard_la-mgdschema.lo] Error 1
make[1]: Leaving directory `/home/jobe/Midgard_AllinOne-1.7.4/midgard-core-=
1.7.4'
make: *** [build-stamp] Error 2


I have:
libglib2.0-0    2.8.3-0ubuntu1
libexpat1       1.95.8-3
libxml2         2.6.21-0ubuntu1

using gcc-3.4

/Johan Bernhardsson


On Sun, 2006-03-05 at 10:32 +0100, Johan Bernhardsson wrote:
> I have some problems building packages for ubuntu breezy.
>=20
> Seems like it pukes on some includes. Anyone that has an idea on how to
> solve it ?=20
>=20
> /Johan=20
>=20
> -c src/mgdschema.c  -fPIC -DPIC -o .libs/src_libmidgard_la-mgdschema.o
> In file included from src/mgdschema.c:23:
> /usr/include/libxml2/libxml/parser.h:1196: error: redeclaration of
> enumerator 'XML_FEATURE_UNICODE'
> /usr/include/expat.h:971: error: previous definition of
> 'XML_FEATURE_UNICODE' was here
> src/mgdschema.c: In function '_get_element_names':
> src/mgdschema.c:251: warning: pointer targets in passing argument 2 of
> 'xmlGetProp' differ in signedness
> src/mgdschema.c:279: warning: pointer targets in passing argument 2 of
> 'xmlGetProp' differ in signedness
> src/mgdschema.c:280: warning: pointer targets in passing argument 2 of
> 'midgard_schema_lookup_type_member' differ in signedness
> src/mgdschema.c:280: warning: pointer targets in passing argument 3 of
> 'midgard_schema_lookup_type_member' differ in signedness
> src/mgdschema.c:302: warning: pointer targets in passing argument 1 of
> 'g_ascii_strcasecmp' differ in signedness
> make[1]: *** [src_libmidgard_la-mgdschema.lo] Error 1
> make[1]: Leaving directory
> `/home/jobe/new/Midgard_AllinOne-1.7.4/midgard-core-1.7.4'
> make: *** [build-stamp] Error 2
>=20
>=20
--=20
Johan Bernhardsson

Linux/CMS/Network Consultant

Phone:  +46-13-73244
Mobile: +46-705-111751
Fax:    +46-13-73190
Email/Jabber/Sip:  [email protected]
Web:    www.anykey.se

--=-e56op/DY0yDTvHuvNNPo
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBECrO45oUA6E58WOMRAqT1AJ0aq9sVL3MoTCytZSCkL4kCOkQbaQCfdvlG
G4zSSeilk12A6DTKsgTfUwE=
=CKxU
-----END PGP SIGNATURE-----

--=-e56op/DY0yDTvHuvNNPo--