Hi,
I use alpinelinux (2.6.0) 64bit.
When I try to compile vdr I get the following error message:
--snip--
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -rdynamic audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skinlcars.o skins.o skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig /usr/src/vdr-2.0.2/libsi/libsi.a -o vdr
i18n.o: In function `I18nInitialize(char const*)':
/usr/src/vdr-2.0.2/i18n.c:109: undefined reference to `libintl_textdomain'
/usr/src/vdr-2.0.2/i18n.c:110: undefined reference to `libintl_bindtextdomain'
i18n.o: In function `SetEnvLanguage':
/usr/src/vdr-2.0.2/i18n.c:100: undefined reference to `_nl_msg_cat_cntr'
i18n.o: In function `I18nInitialize(char const*)':
/usr/src/vdr-2.0.2/i18n.c:119: undefined reference to `libintl_gettext'
/usr/src/vdr-2.0.2/i18n.c:126: undefined reference to `libintl_gettext'
i18n.o: In function `SetEnvLanguage':
/usr/src/vdr-2.0.2/i18n.c:100: undefined reference to `_nl_msg_cat_cntr'
i18n.o: In function `I18nRegister(char const*)':
/usr/src/vdr-2.0.2/i18n.c:167: undefined reference to `libintl_bindtextdomain'
i18n.o: In function `SetEnvLanguage':
/usr/src/vdr-2.0.2/i18n.c:100: undefined reference to `_nl_msg_cat_cntr'
i18n.o: In function `I18nTranslate(char const*, char const*)':
/usr/src/vdr-2.0.2/i18n.c:211: undefined reference to `libintl_dgettext'
/usr/src/vdr-2.0.2/i18n.c:211: undefined reference to `libintl_gettext'
tools.o: In function `cCharSetConv::cCharSetConv(char const*, char const*)':
/usr/src/vdr-2.0.2/tools.c:871: undefined reference to `libiconv_open'
tools.o: In function `cCharSetConv::Convert(char const*, char*, unsigned long)':
/usr/src/vdr-2.0.2/tools.c:930: undefined reference to `libiconv'
tools.o: In function `cCharSetConv::~cCharSetConv()':
/usr/src/vdr-2.0.2/tools.c:880: undefined reference to `libiconv_close'
/usr/src/vdr-2.0.2/libsi/libsi.a(si.o): In function `SI::convertCharacterTable(char const*, unsigned long, char*, unsigned long, char const*)':
/usr/src/vdr-2.0.2/libsi/si.c:384: undefined reference to `libiconv_open'
/usr/src/vdr-2.0.2/libsi/si.c:388: undefined reference to `libiconv'
/usr/src/vdr-2.0.2/libsi/si.c:401: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
make: *** [vdr] Error 1
--snip--
when I add '-liconv -lintl' to the g++ command, I get the vdr binary
linked together without an error.
--snip--
template:/usr/src/vdr-2.0.2# g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -rdynamic audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skinlcars.o skins.o skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig /usr/src/vdr-2.0.1/libsi/libsi.a -liconv -lintl -o vdr
template:/usr/src/vdr-2.0.2# ls -l vdr
-rwxr-xr-x 1 root root 7495892 May 21 20:06 vdr
--snip--
do other people have to add this two libraries, too ?
Does anybody know how to add these two libraries permanent, or is this a
bug somewhere ?
--
Best regards
Dieter
--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.