git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jonas Fonseca <jonas.fonseca@gmail.com>
Date
Sep 20, 2010, 21:48 UTC
Message-ID
<AANLkTin6YnZTyfeKKoUtGvZx8rBvfYDPG98qYa0TXoW9@mail.gmail.com>
In-Reply-To
<20100920204344.GB13017@vidovic>
On Mon, Sep 20, 2010 at 16:43, Nicolas Sebrecht <nicolas.s.dev@gmx.fr> wrote:
Show 30 quoted lines
> 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
Previous: Nicolas SebrechtNext: Kumar Appaiah
Message 4 of 9 in “[tig] compilation error: undefined reference to `set_tabsize'”
  1. Nicolas SebrechtSep 20, 2010
  2. Stefan NäweSep 20, 2010
  3. [tig] Re: compilation error: undefined reference to `set_tabsize'Nicolas Sebrecht, Sep 20, 2010
  4. Jonas FonsecaSep 20, 2010
  5. Kumar AppaiahSep 20, 2010
  6. Kumar AppaiahSep 20, 2010
  7. Stefan NaeweSep 21, 2010
  8. Jonas FonsecaSep 21, 2010
  9. [tig] Re: compilation error: undefined reference to `set_tabsize'Nicolas Sebrecht, Sep 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.