bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: devel branch build failure


From: Chet Ramey
Subject: Re: devel branch build failure
Date: Wed, 12 Dec 2012 09:40:29 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/12/12 8:56 AM, Raphaël Droz wrote:
> Hi,
> 
> using the devel/ branch, linking fails with:
>> bashline.o: In function `attempt_shell_completion':
>> bashline.c:1406: undefined reference to `parser_in_command_position'
>> collect2: ld returned 1 exit status

I see what happened.  git (or the process used to create the devel tree)
makes the mod time of all files in the tree the same, so y.tab.c doesn't
get rebuilt from parse.y.  You can fix this with

rm y.tab.?
make

Maybe I will remove y.tab.[ch] from the devel tree, but that introduces a
dependency on bison.

> But since f14388d  (bash-20120914 snapshot), the build fails with the
> above error. Some of the later revisions also add the failure below:
>> ./builtins/libbuiltins.a(help.o): In function `wdispcolumn':
>> builtins/./help.def:409: undefined reference to `wcsnwidth'
>> builtins/./help.def:449: undefined reference to `wcsnwidth'
>> collect2: ld returned 1 exit statu

I don't see this.  wcsnwidth.c is present in the tree and (seemingly)
correctly specified in the Makefiles.  The definitions and uses all
depend on HANDLE_MULTIBYTE.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]