Hello, I have compiled libid3tag with mingw on windows. When linking with libid3tag, I have this error :

 configure:20404: gcc -o conftest.exe -g -O2   conftest.c -lid3tag   -lmad -lvorbisfile >&5
 c:/mp3splt_mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libid3tag.a(util.o)(.text+0x152): In function `id3_util_compress':
 C:/MinGW/home/admin/mp3splt/libid3tag/util.c:106: undefined reference to `compress2'
 c:/mp3splt_mingw/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libid3tag.a(util.o)(.text+0x1e4): In function `id3_util_decompress':
 C:/MinGW/home/admin/mp3splt/libid3tag/util.c:139: undefined reference to `uncompress'

You have probably already encountered this error , but I have searched on the net, have found a solution but did not understand it. If I link with -lz it works but why do I have to link with -lz (libid3tag should already be linked with -lz) ?

Any help would be appreciate.

--
Munteanu Alexandru


Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez la version beta.