bugmldonkey, a multi-networks file-sharing client - Bugs: bug #14091, charsetstubs.c error !

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14091: charsetstubs.c error !

Submitted by:  Elliot <ellmout>
Submitted on:  Thu 11 Aug 2005 11:23:56 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Compilation problemStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.6.2
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: Intel x86

(Jump to the original submission Jump to the original submission)

Sat 12 Nov 2005 10:35:53 PM UTC, comment #16:

Everything is working well !
I'm using Mldonkey everyday !
[Quote]
MLNet Multi-Network p2p client version 2.6.7.CVS
SCM version info: 2005-11-09 15:54:51
Networks: Global Shares Gnutella G2 Fasttrack FileTP BitTorrent Donkey
Ocaml version: 3.08.4
System info: Linux home.ellmout.net 2.6.14 #1 Fri Nov 4 22:49:33 CET 2005 i686
Build on: Linux i686 2.6.14 with glibc 2.3.5 (DANGER: glibc 2.3.6 present on system)
Configure arguments: /usr/local/share/config.site /usr/local/etc/config.site
Features: threads zlib-1.2.3 bzip2-1.0.3 gd(jpg/png-1.2.8) iconv no-check-bounds sha1new
Language: EN - locale: ANSI_X3.4-1968
max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303
max file descriptors: 1024 - max useable file size: 2^63-1 bits (do the maths ;-p)
[/Quote]

:-)

Elliot <ellmout>
Sat 12 Nov 2005 08:24:39 PM UTC, comment #15:

Please check if this bug still is in current CVS version.
You should find a tarball of current CVS in files section of
this project: http://download.berlios.de/pub/mldonkey/spiralvoice/

spiralvoice <spiralvoice>
Project Administrator
Fri 26 Aug 2005 09:26:34 PM UTC, comment #14:

Do you have libiconv?
Applied codeset.patch as patch #4360 to CVS

spiralvoice <spiralvoice>
Project Administrator
Sun 21 Aug 2005 08:18:00 PM UTC, comment #13:

New bug with that :-S

home:/usr/local/mldonkey/mldonkey-2.5-3/mldonkey# make
ocamlopt -inline 10 -linkall -o mlnet unix.cmxa str.cmxa -ccopt " " -cclib "-lcharset " -ccopt " " -cclib "" -cclib -lz -I build build/cdk.cmxa build/common.cmxa build/client.cmxa build/core.cmxa build/driver.cmxa src/daemon/common/commonMain.cmx
src/utils/lib/charsetstubs.o: In function `ml_iconv':
src/utils/lib/charsetstubs.c:1206: undefined reference to `libiconv'
src/utils/lib/charsetstubs.o: In function `ml_convert':
src/utils/lib/charsetstubs.c:1305: undefined reference to `libiconv_open'
src/utils/lib/charsetstubs.c:1321: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
Error during linking
make: *** [mlnet] Error 2

Elliot <ellmout>
Sun 21 Aug 2005 03:43:03 PM UTC, comment #12:

Any news about this bug?

spiralvoice <spiralvoice>
Project Administrator
Thu 18 Aug 2005 03:59:39 PM UTC, comment #11:

Please test the attached patch and check if configure fails if CODESET can´t be found.

spiralvoice <spiralvoice>
Project Administrator
Thu 18 Aug 2005 02:45:46 PM UTC, comment #10:

Ok, don´t remove libc6-dev, otherwise you will not be able to compile anything.

spiralvoice <spiralvoice>
Project Administrator
Thu 18 Aug 2005 02:36:49 PM UTC, comment #9:

I also have Debian Sarge 3.1 here.
Did you install libconv manually? This was not necessary here.

langinfo.h is part of the libc6-dev package, I also have gettext-base installed.
Could you please de-install your libiconv files and install libc6-dev and
gettext-base if you not have done so already?

spiralvoice <spiralvoice>
Project Administrator
Thu 18 Aug 2005 02:03:33 PM UTC, comment #8:

home:~# uname -a
Linux home.ellmout.net 2.6.12.2 #1 Tue Jul 5 14:56:52 CEST 2005 i686 GNU/Linux
home:~# /usr/local/lib/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.2.
Compiled on a Linux 2.6.12.2 system on 2005-08-09.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Debian Sarge 3.1

Some info here : http://home.ellmout.net/sysinfo/

and i take libiconv from here : http://www.gnu.org/software/libiconv/

:-)

Elliot <ellmout>
Thu 18 Aug 2005 01:49:38 PM UTC, comment #7:

Sorry to bug you again, but ./configure checks for iconv, so
if it was missing and the test passed on your system something
is wrong here.
Could you please tell me which distribution you are using and
from where you got your libiconv package?

spiralvoice <spiralvoice>
Project Administrator
Thu 18 Aug 2005 01:01:47 PM UTC, comment #6:

Libiconv were missing :)
just that :) like you say

Elliot <ellmout>
Thu 18 Aug 2005 12:54:14 PM UTC, comment #5:

The interesting question is, what did you do to solve the problem.
And what was missing on your system before? The reason I am asking
is, I would like to code a ./configure check for this so other
users will get a warning during ./configure.

The compile bug occured in a code segment which is called when the
function locale_charset was not found by ./configure and the file
langinfo.h is not present either.

spiralvoice <spiralvoice>
Project Administrator
Thu 18 Aug 2005 10:12:30 AM UTC, comment #4:

Yes it's a local problem :)
Thx man

Elliot <ellmout>
Wed 17 Aug 2005 12:19:09 AM UTC, comment #3:

Any news? For me it looks like a local problem.

spiralvoice <spiralvoice>
Project Administrator
Thu 11 Aug 2005 12:22:33 PM UTC, comment #2:

Do you have iconv and gettext installed?

spiralvoice <spiralvoice>
Project Administrator
Thu 11 Aug 2005 12:20:52 PM UTC, comment #1:

Compile with --disable-iconv

spiralvoice <spiralvoice>
Project Administrator
Thu 11 Aug 2005 11:23:56 AM UTC, original submission:

home:/usr/local/mldonkey/mldonkey-2.5-3/mldonkey# make
ocamlrun ocamlc -verbose -ccopt "-I /byterun -o src/utils/lib/charsetstubs.o" -ccopt "-g -O2 " -ccopt " " -cclib "-lcharset " -ccopt " " -cclib "" -cclib -lz -c src/utils/lib/charsetstubs.c
+ gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -I /byterun -o src/utils/lib/charsetstubs.o -g -O2 -I'/usr/local/lib/ocaml' 'src/utils/lib/charsetstubs.c'
src/utils/lib/charsetstubs.c: In function 'ml_locale_charset':
src/utils/lib/charsetstubs.c:1369: warning: implicit declaration of function 'nl_langinfo'
src/utils/lib/charsetstubs.c:1369: error: 'CODESET' undeclared (first use in this function)
src/utils/lib/charsetstubs.c:1369: error: (Each undeclared identifier is reported only once
src/utils/lib/charsetstubs.c:1369: error: for each function it appears in.)
src/utils/lib/charsetstubs.c:1369: warning: assignment makes pointer from integer without a cast
make: *** [src/utils/lib/charsetstubs.o] Error 2

With GCC-4.0.1 & Glibc 2.3.5 & Ocaml 3.08.3

Elliot <ellmout>

 

Attached Files
file #3377:  codeset.patch added by spiralvoice (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 12 Nov 2005 10:55:31 PM UTCspiralvoiceStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Fri 26 Aug 2005 09:26:34 PM UTCspiralvoiceStatusWorks For Me=>In Progress
Thu 18 Aug 2005 03:59:39 PM UTCspiralvoiceAttached File-=>Added codeset.patch, #2838
Thu 18 Aug 2005 12:54:14 PM UTCspiralvoiceStatusNone=>Works For Me

Back to the top


Powered by Savane 3.1-cleanup1