Mailing List archive

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

[vdr] Error while compileing with AIO with new gcc



I have updated to binutils 2.11.2 and gcc 3.0.4
If I try to compile vdr-1.0.0pre4 patched with
the latest AIO I get the error:

Makefile:99: .dependencies: No such file or directory
spu.c:79:1: warning: "LOG_DEBUG" redefined
/usr/include/sys/syslog.h:58:1: warning: this is the location of the previous definition
g++ -g -O2 -Wall -Woverloaded-virtual -m486 -c -D_GNU_SOURCE -DDVDSUPPORT -D_LARGEFILE64_SOURCE  -DREMOTE_KBD -DMP3SUPPORT -DMPLAYER -I../DVB/ost/include config.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from config.c:10:
tools.h:122: warning: `virtual bool cListObject::operator<(const cListObject&)'
   was hidden
config.h:152: warning:   by `bool cTimer::operator<(const cTimer&)'
In file included from svdrp.h:13,
                 from interface.h:16,
                 from config.c:15:
config.h:224: warning: `bool cConfig<T>::Load(const char*, bool) [with T =
   cMark]' was hidden
recording.h:87: warning:   by `bool cMarks::Load(const char*)'
g++ -g -O2 -Wall -Woverloaded-virtual -m486 -c -D_GNU_SOURCE -DDVDSUPPORT -D_LARGEFILE64_SOURCE  -DREMOTE_KBD -DMP3SUPPORT -DMPLAYER -I../DVB/ost/include dvbapi.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from dvbapi.c:32:
tools.h:122: warning: `virtual bool cListObject::operator<(const cListObject&)'
   was hidden
config.h:152: warning:   by `bool cTimer::operator<(const cTimer&)'
In file included from dvbapi.c:33:
config.h:224: warning: `bool cConfig<T>::Load(const char*, bool) [with T =
   cMark]' was hidden
recording.h:87: warning:   by `bool cMarks::Load(const char*)'
g++ -g -O2 -Wall -Woverloaded-virtual -m486 -c -D_GNU_SOURCE -DDVDSUPPORT -D_LARGEFILE64_SOURCE  -DREMOTE_KBD -DMP3SUPPORT -DMPLAYER -I../DVB/ost/include dvbosd.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
make -C ./libdtv all
make[1]: Entering directory `/usr/local/src/vdr-1.0.0pre4/libdtv'
making all distributions...
make[2]: Entering directory `/usr/local/src/vdr-1.0.0pre4/libdtv/liblx'
cleaning workspace...
gcc -O2 -g -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wimplicit -D__USE_FIXED_PROTOTYPES__    -c -o xMemMgt.o xMemMgt.c
xMemMgt.c:1:1: warning: C++ style comments are not allowed in ISO C89
xMemMgt.c:1:1: warning: (this will be reported only once per input file)
In file included from xMemMgt.c:31:
liblx.h:1:1: warning: C++ style comments are not allowed in ISO C89
liblx.h:1:1: warning: (this will be reported only once per input file)
xMemMgt.c: In function `xMemAllo':
xMemMgt.c:108: warning: implicit declaration of function `exit'
xMemMgt.c: In function `xSetText':
xMemMgt.c:617: warning: implicit declaration of function `strlen'
xMemMgt.c:618: warning: implicit declaration of function `strcpy'
gcc -O2 -g -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wimplicit -D__USE_FIXED_PROTOTYPES__    -c -o xListFuncs.o xListFuncs.c
xListFuncs.c:1:1: warning: C++ style comments are not allowed in ISO C89
xListFuncs.c:1:1: warning: (this will be reported only once per input file)
In file included from xListFuncs.c:28:
liblx.h:1:1: warning: C++ style comments are not allowed in ISO C89
liblx.h:1:1: warning: (this will be reported only once per input file)
xListFuncs.c: In function `xNewNode':
xListFuncs.c:100: warning: implicit declaration of function `strlen'
xListFuncs.c:101: warning: implicit declaration of function `strcpy'
xListFuncs.c: In function `xFindName':
xListFuncs.c:184: warning: implicit declaration of function `strcmp'
updating library...
distributing liblx.a and liblx.h...
make[2]: Leaving directory `/usr/local/src/vdr-1.0.0pre4/libdtv/liblx'
make[2]: Entering directory `/usr/local/src/vdr-1.0.0pre4/libdtv/libsi'
updating dependencies...
make[2]: Leaving directory `/usr/local/src/vdr-1.0.0pre4/libdtv/libsi'
make[2]: Entering directory `/usr/local/src/vdr-1.0.0pre4/libdtv/libsi'
cleaning workspace...
compiling si_parser.c...
si_parser.c: In function `siParseDescriptor':
si_parser.c:595: warning: implicit declaration of function `memcpy'
compiling si_debug_services.c...
updating library...
distributing libsi.a to ../lib...
make[2]: Leaving directory `/usr/local/src/vdr-1.0.0pre4/libdtv/libsi'
make[2]: Entering directory `/usr/local/src/vdr-1.0.0pre4/libdtv/libvdr'
cleaning workspace...
gcc -O2 -g -Wmissing-prototypes -Wstrict-prototypes -Wimplicit -D__USE_FIXED_PROTOTYPES__ -I../include    -c -o libvdr.o libvdr.c
updating library...
distributing libvdr.a and libvdr.h...
make[2]: Leaving directory `/usr/local/src/vdr-1.0.0pre4/libdtv/libvdr'
making libdtv.a/libdtv.h...
make[1]: Leaving directory `/usr/local/src/vdr-1.0.0pre4/libdtv'
g++ -g -O2 -Wall -Woverloaded-virtual -m486 -c -D_GNU_SOURCE -DDVDSUPPORT -D_LARGEFILE64_SOURCE  -DREMOTE_KBD -DMP3SUPPORT -DMPLAYER -I../DVB/ost/include eit.c
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from ogle-dvd.h:22,
                 from dvdevents.h:22,
                 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:122: warning: `virtual bool cListObject::operator<(const cListObject&)'
   was hidden
config.h:152: warning:   by `bool cTimer::operator<(const cTimer&)'
make: *** [eit.o] Error 1


It is compiling if I use a clean vdr (with no AIO) or 
if I use the old gcc (2.95.3) (with AIO)

Maybe a bug in my gcc update?


-- 
best regards
Martin Neuditschko



Home | Main Index | Thread Index