pkgsrc-Bugs archive

[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)

On Sat, Mar 6, 2010 at 9:20 PM, David Holland 
<> wrote:
>  Does adding
>    .include "../../devel/gettext-lib/"
>  to the package makefile solve the problem?

No change.
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../intl
even when compiled without the added: CONFIGURE_ARGS+= --with-included-gettext
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
-Dbin_dummy_emulation=bin_vanilla_emulation   -I/usr/pkg/gcc34/include
-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:
 LIBS+= -lintl
but that did not seem to do anything.

 - Tim

Home | Main Index | Thread Index | Old Index