Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Compiling with gcc3.04



Hi,

I use gcc3.04 to compile vdr, i notice a lot of warning but all is fine. 

But :

1) When i compile vdr0.99 + mvdr-0.99-mp3-0.37.diff  with gcc3.04 i get this error :
# make MP3=1
g++ -g -O2 config.o dvbapi.o dvbosd.o dvd.o eit.o font.o i18n.o interface.o menu.o osd.o
recording.o remote.o remux.o ringbuffer.o svdrp.o thread.o tools.o vdr.o videodir.o mp3.o
mp3-menu.o mp3-dvb.o -lncurses -ljpeg -lpthread  -lz -lmad -lid3tag  ./libdtv/libdtv.a -o
vdr
  mp3-menu.o: In function `cMenuPlayList::ProcessKey(eKeys)':
  /dvb/VDR/mp3-menu.c:716: undefined reference to `cSources::GetBasedir()'
  mp3-menu.o: In function `cMenuMP3::Instant(bool)':
  /dvb/VDR/mp3-menu.c:908: undefined reference to `cSources::GetBasedir()'
  collect2: ld returned 1 exit status

2) When i compile vdr0.99 + vdr-0.99-AIO-ELCHI-24.02.diff with gcc 3.04 i get this :

# make DVD=1 VCD=1 MP3=1 MPLAYER=1 ONLY48KHZ=1
g++ -g -O2 -Wall -Woverloaded-virtual -m486 -c -DDVDSUPPORT -D_LARGEFILE64_SOURCE 
-DVCDSUPPORT -DREMOTE_KBD -D_GNU_SOURCE -DMP3SUPPORT -DMPLAYER -I../DVB/ost/include
-I../DVD/libdvdread eit.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from ../DVD/libdvdread/dvdread/dvd_reader.h:24,
 from dvd.h:17,
 from dvbapi.h:34,
 from config.h:18,
 from eit.c:38:
  /usr/include/inttypes.h: In function `intmax_t wcstoimax(const __gwchar_t*,
   __gwchar_t**, int)':
  /usr/include/inttypes.h:432: cannot convert `const __gwchar_t* __restrict' to
   `const wchar_t*' for argument `1' to `long long int __wcstoll_internal(const
    wchar_t*, wchar_t**, int, int)'
  /usr/include/inttypes.h: In function `uintmax_t wcstoumax(const __gwchar_t*,
    __gwchar_t**, int)':
  /usr/include/inttypes.h:451: cannot convert `const __gwchar_t* __restrict' to
   `const wchar_t*' for argument `1' to `long long unsigned int
    __wcstoull_internal(const wchar_t*, wchar_t**, int, int)'
In file included from eit.c:38:
 tools.h: At global scope:
 tools.h:121: warning: `virtual bool cListObject::operator<(const cListObject&)'
   was hidden
config.h:146: warning:   by `bool cTimer::operator<(const cTimer&)'
make: *** [eit.o] Erreur 1
										  
Are these errors due to gcc3.04 or me ? 
What is the good version of gcc for vdr and patches ?

Guy Roussin



Home | Main Index | Thread Index