Can't compile g-warp-1.3.2
David Hampton
hampton@employees.org
28 Oct 2002 12:25:13 -0800
--=-kUp+Y/++uAU7cOBjaB0z
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2002-10-28 at 11:58, Nathan A. Smith wrote:
> Hi,=20
>=20
> When I try to compile g-wrap I am getting the following output:
>=20
>=20
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Wno-uninitialized
> -Wno-unused -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -I/usr/include -c
> gw-standard.c -MT gw-standard.lo -MD -MP -MF .deps/gw-standard.TPlo=20=20=
=20=20
> -fPIC -DPIC -o .libs/gw-standard.lo
> cc1: changing search order for system directory "/usr/include"
> cc1: as it has already been specified as a non-system directory
> make[2]: *** [gw-standard.lo] Error 1
> make[2]: Leaving directory
> `/usr/local/development/Gnucash/g-wrap-1.3.2/g-wrap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/development/Gnucash/g-wrap-1.3.2'
> make: *** [all] Error 2
>=20
>=20
> What is going wrong? I am using Mandrake 9.0. Thanks a lot
GCC 3.x is extremely picky. Edit g-wrap/Makefile.am and
test/Makefile.am and remove all instances of the '-Werror' flag.
David
--=-kUp+Y/++uAU7cOBjaB0z
Content-Type: application/DEFANGED-13; name="signature_asc.DEFANGED-13"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQA9vZ0plSwHWMdNRQQRAgdkAJ4ipG5GcRhyLO/ptmRQTGmQamhjUQCePEqf
r7j/e0ngnK0wzd6mQ+IATMo=
=48XE
-----END PGP SIGNATURE-----
--=-kUp+Y/++uAU7cOBjaB0z--