From: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
To: "Stefan Näwe" <stefan.naewe@googlemail.com>
Cc: git@vger.kernel.org, Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
Subject: [tig] Re: compilation error: undefined reference to `set_tabsize'
Date: Mon, 20 Sep 2010 22:43:44 +0200 [thread overview]
Message-ID: <20100920204344.GB13017@vidovic> (raw)
In-Reply-To: <loom.20100920T203217-346@post.gmane.org>
The 20/09/10, Stefan Näwe wrote:
> 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
next prev parent reply other threads:[~2010-09-20 20:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 17:42 [tig] compilation error: undefined reference to `set_tabsize' Nicolas Sebrecht
2010-09-20 18:36 ` Stefan Näwe
2010-09-20 20:43 ` Nicolas Sebrecht [this message]
2010-09-20 21:48 ` [tig] " Jonas Fonseca
2010-09-20 23:05 ` Kumar Appaiah
2010-09-20 23:13 ` Kumar Appaiah
2010-09-21 6:37 ` Stefan Naewe
2010-09-21 12:57 ` Jonas Fonseca
2010-09-21 17:34 ` Nicolas Sebrecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100920204344.GB13017@vidovic \
--to=nicolas.s.dev@gmx.fr \
--cc=git@vger.kernel.org \
--cc=stefan.naewe@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.