Re: [tig] Re: compilation error: undefined reference to `set_tabsize'

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

 



On Mon, Sep 20, 2010 at 16:43, Nicolas Sebrecht <nicolas.s.dev@xxxxxx> wrote:
> The 20/09/10, Stefan NÃwe wrote:
>> Nicolas Sebrecht <nicolas.s.dev <at> gmx.fr> writes:
>>
>> > tig don't compile anymore here:
>> >
>> > Â % make
>> >  gcc  tig.o Â-lncursesw Â-o tig
>> > Â tig.o: In function `init_display': tig.c:7113: undefined reference to
>> `set_tabsize'
>> > Â collect2: ld returned 1 exit status
>> > Â make: *** [tig] Error 1
>> > Â %
>> >
>> > and bisected on
>> >
>> > commit f1fe753be71ef3ce5abcbb16c2a359f97e5c7e7d
>> > Author: Stefan Naewe <>
>> > Date: Â Sun Sep 12 11:03:52 2010 +0200
>> >
>> > Â Â Use function set_tabsize()
>> >
>> > Â Â this fixes the following compile error on cygwin:
>> > Â Â tig.c: In function `init_display':
>> > Â Â tig.c:7112: error: invalid lvalue in assignment
>>
>> That change works for me on Cygwin, Ubuntu 10.04, Debian 5.0.6
>>
>> Maybe you should say something about your system/OS version ?
>
> Naturally. I'm running on Gentoo.

One possibility is to add a check to configure, but I don't know if
you are even using that. Alternatively, I think it would also be safe
to simply just delete the line in question, since tig expands all tabs
to strings since quite a few releases.

-- 
Jonas Fonseca
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]