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

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

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Sep 20, 2010, 20:43 UTC
Message-ID
<20100920204344.GB13017@vidovic>
In-Reply-To
<loom.20100920T203217-346@post.gmane.org>
The 20/09/10, Stefan Näwe wrote:
Show 30 quoted lines
> Nicolas Sebrecht <nicolas.s.dev <at> gmx.fr> writes:
> 
> > 
> > Hi,
> > 
> > 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.
  % gcc -v
  Using built-in specs.
  Target: x86_64-pc-linux-gnu
  Configured with:
  /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
  --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
  --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include
  --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2
  --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man
  --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info
  --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4
  --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
  --enable-nls --without-included-gettext --with-system-zlib
  --disable-checking --disable-werror --enable-secureplt --enable-multilib
  --enable-libmudflap --disable-libssp --enable-java-awt=gtk
  --enable-languages=c,c++,java,treelang,fortran --enable-shared
  --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
  Thread model: posix
  gcc version 4.1.2 (Gentoo 4.1.2 p1.3)
  %
-- 
Nicolas Sebrecht
Previous: Stefan NäweNext: Jonas Fonseca
Message 3 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.