[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/40153 (pkgsrc/devel/binutils fails to build on solaris 10 sparc)
The following reply was made to PR pkg/40153; it has been noted by GNATS.
From: Tim Zingelman <zingelman%fnal.gov@localhost>
Cc: solaris-pkg-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
Subject: Re: pkg/40153 (pkgsrc/devel/binutils fails to build on solaris 10
Date: Sun, 7 Mar 2010 21:13:49 -0600
On Sat, Mar 6, 2010 at 9:20 PM, David Holland
> =A0Does adding
> =A0 =A0.include "../../devel/gettext-lib/buildlink3.mk"
> =A0to the package makefile solve the problem?
I think the problem may be that the compile 'sees' the pkgsrc include
files but then links against the builtin libintl.
If I add -L/usr/pkg/lib -lintl to the end of the failing link
manually, it links ok.
I see the compile line for size.o includes: -I.././binutils/../intl -I../in=
even when compiled without the added: CONFIGURE_ARGS+=3D --with-included-ge=
so maybe the bad include file is found there?
gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -D_GNU_SOURCE -I.
-I.././binutils -I../bfd -I.././binutils/../bfd
-I.././binutils/../include -I.././binutils/../intl -I../intl
-I/usr/include -I/usr/pkg/include -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -O -I/usr/pkg/gcc34/include
-I/usr/include -I/usr/pkg/include -c size.c
I messed around with adding other things to the package makefile:
but that did not seem to do anything.
Main Index |
Thread Index |