Modify

#223 closed defect (fixed)

iconv error when compiling

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 1.0.3
Keywords: compile iconv Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

When I am trying to compile bitlbee I get these errors: root@bua:~/bitlbee-1.0.3# ./configure --oscar=0 --jabber=0 BitlBee configure

Architecture: Linux

Configuration done:

Debugging disabled. Binary stripping enabled. Using SSL library: gnutls Building with these protocols: msn yahoo

root@bua:~/bitlbee-1.0.3# make

  • Compiling account.c
  • Compiling bitlbee.c
  • Compiling commands.c
  • Compiling conf.c
  • Compiling crypting.c
  • Compiling help.c
  • Compiling ini.c
  • Compiling irc.c
  • Compiling log.c
  • Compiling nick.c
  • Compiling query.c
  • Compiling set.c
  • Compiling unix.c
  • Compiling url.c
  • Compiling user.c
  • Compiling util.c

util.c: In function `do_iconv': util.c:432: warning: passing arg 2 of `libiconv' from incompatible pointer type make[1]: Đang vào thư mục « /root/bitlbee-1.0.3/protocols »

  • Compiling md5.c
  • Compiling nogaim.c
  • Compiling proxy.c
  • Compiling sha.c
  • Compiling ssl_gnutls.c

make[2]: Đang vào thư mục « /root/bitlbee-1.0.3/protocols/msn »

  • Compiling msn.c
  • Compiling msn_util.c
  • Compiling ns.c
  • Compiling passport.c
  • Compiling sb.c
  • Compiling tables.c
  • Linking msn_mod.o

make[2]: Đang rời khỏi thư mục « /root/bitlbee-1.0.3/protocols/msn » make[2]: Đang vào thư mục « /root/bitlbee-1.0.3/protocols/yahoo »

  • Compiling yahoo.c
  • Compiling crypt.c
  • Compiling libyahoo2.c
  • Compiling yahoo_fn.c
  • Compiling yahoo_httplib.c
  • Compiling yahoo_list.c
  • Compiling yahoo_util.c
  • Linking yahoo_mod.o

make[2]: Đang rời khỏi thư mục « /root/bitlbee-1.0.3/protocols/yahoo »

  • Linking protocols.o

make[1]: Đang rời khỏi thư mục « /root/bitlbee-1.0.3/protocols »

  • Linking bitlbee

util.o(.text+0x8ee): In function `do_iconv': : undefined reference to `libiconv_open' util.o(.text+0x927): In function `do_iconv': : undefined reference to `libiconv' util.o(.text+0x938): In function `do_iconv': : undefined reference to `libiconv_close' util.o(.text+0x9aa): In function `set_eval_charset': : undefined reference to `libiconv_open' util.o(.text+0x9bd): In function `set_eval_charset': : undefined reference to `libiconv_close' collect2: ld returned 1 exit status make: * [bitlbee] Lỗi 1 root@bua:~/bitlbee-1.0.3#

I have tried to both the newest libiconv (1.11) and some older I dont remember the name of.. Any idea why it wont compile?

Attachments (0)

Change History (1)

comment:1 Changed at 2007-12-12T22:48:52Z by wilmer

Resolution: fixed
Status: newclosed

Hmm... I was going to fixed this, but noticed that this problem should be gone in development versions already because it uses GLib for character set conversion. Please try out 1.1.1dev, it's better in many ways.

(If you really want to use 1.0.x, IIRC this problem usually goes away if you add -liconv to EFLAGS in Makefile.settings.)

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.