[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]
Re: [MPlayer-users] [BUGREPORT] Latest CVS does not build
Hi,
On Fri, Mar 10, 2006 at 03:16:29AM -0500, John Brown wrote:
> See output below:
>
> gcc -I. codec-cfg.c mp_msg.c -o codec-cfg -DCODECS2HTML
> mp_msg.c: In function `mp_msg':
> mp_msg.c:106: warning: passing arg 2 of `libiconv' from incompatible
> pointer type
> c:/windows/temp/ccqEcaaa.o(.text+0x1ad):mp_msg.c: undefined reference to
> `libiconv_close'
> c:/windows/temp/ccqEcaaa.o(.text+0x1c2):mp_msg.c: undefined reference to
> `libiconv_open'
> c:/windows/temp/ccqEcaaa.o(.text+0x22c):mp_msg.c: undefined reference to
> `libiconv'
> collect2: ld returned 1 exit status
> make: *** [codec-cfg] Error 1
>
> When I manually compile the offending file with:
> gcc -I. codec-cfg.c mp_msg.c -o codec-cfg -DCODECS2HTML -liconv, the
> build continues successfully to the end and produces MPlayer
> dev-CVS-060310-01:05-3.4.2.
>
> I am using gcc-3.4.2, GNU ld version 2.15.91 20040904, MSYS 1.0.10 on
> Windows XP SP2.
Try attached patch.
Greetings,
Reimar Döffinger
codec-cfg.diff
Description: Text document
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users