git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roberto Nibali <ratz@drugphish.ch>
To: git@vger.kernel.org
Subject: git-core-0.99.9g: mailinfo.c:448: undefined reference to `libiconv_open'
Date: Sat, 12 Nov 2005 11:27:10 +0100	[thread overview]
Message-ID: <4375C37E.6030509@drugphish.ch> (raw)

Hello,

I've tried to compile git-core-0.99.9g on an old SuSE 9.1 box with a
self-compiled libiconv. Anyone can shed a light on the following?

gcc -o mailinfo.o -c -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' mailinfo.c
gcc -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' -o git-mailinfo
mailinfo.o libgit.a
mailinfo.o(.text+0x799): In function `convert_to_utf8':
/data/down/git-core-0.99.9g/mailinfo.c:448: undefined reference to
`libiconv_open'
mailinfo.o(.text+0x7f6):/data/down/git-core-0.99.9g/mailinfo.c:460:
undefined reference to `libiconv'
mailinfo.o(.text+0x801):/data/down/git-core-0.99.9g/mailinfo.c:461:
undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [git-mailinfo] Error 1

# nm /usr/local/lib/libiconv.so | grep -E "libiconv_open|libiconv_close"
0000f550 T libiconv_close
0000f580 T libiconv_open

I might be missing something really obvious. It's not very important;
just if you happen to know something regarding this issue I'd be interested.

Regards,
Roberto Nibali, ratz
-- 
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

             reply	other threads:[~2005-11-12 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12 10:27 Roberto Nibali [this message]
2005-11-12 10:30 ` git-core-0.99.9g: mailinfo.c:448: undefined reference to `libiconv_open' Roberto Nibali

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=4375C37E.6030509@drugphish.ch \
    --to=ratz@drugphish.ch \
    --cc=git@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).