Can't compile streamdev-server

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

 



kafifi wrote:
> Hello,
>
> I am using vdr-1.3.31 (under Kernel 2.6.13), and
> streamdev-cvs_for_vdr-1.3.23.
> No problem with "streamdev-client", but "streamdev-server" doesn't
compile,
> and return theses errors :
>

Try this:

--- streamdev/server/connectionVTP.c.orig       2005-05-29
12:20:40.000000000 -0700
+++ streamdev/server/connectionVTP.c    2005-05-29 12:25:30.000000000 -0700
@@ -369,8 +369,8 @@
      if (isnumber(Option)) {
         cRecording *recording = Recordings.Get(strtol(Option, NULL, 10) -
1);
         if (recording) {
-           if (recording->Summary()) {
-              char *summary = strdup(recording->Summary());
+           if (recording->Info()->Description()) {
+              char *summary = strdup(recording->Info()->Description());
               Reply(250, "%s", strreplace(summary,'\n','|'));
               free(summary);
               }



Sorry, it seems to be worst... Here is the log :
Did I missed something ?


make -C ./libdvbmpeg libdvbmpegtools.a
make[2]: Entering directory
`/usr/local/src/vdr-1.3.31/PLUGINS/src/streamdev/libdvbmpeg'
g++  -M ctools.c remux.c ringbuffy.c transform.c cpptools.cc   -I.> .depend
make[2]: Leaving directory
`/usr/local/src/vdr-1.3.31/PLUGINS/src/streamdev/libdvbmpeg'
make[2]: Entering directory
`/usr/local/src/vdr-1.3.31/PLUGINS/src/streamdev/libdvbmpeg'
cc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64
_SOURCE -I.  ctools.c
cc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64
_SOURCE -I.  ringbuffy.c
cc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64
_SOURCE -I.  remux.c
cc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64
_SOURCE -I.  transform.c
g++ -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE6
4_SOURCE -I.  cpptools.cc
ar -rcs libdvbmpegtools.a ctools.o ringbuffy.o remux.o transform.o
cpptools.o
make[2]: Leaving directory
`/usr/local/src/vdr-1.3.31/PLUGINS/src/streamdev/libdvbmpeg'
g++ -W -Woverloaded-virtual -O2 -shared streamdev-client.o client/socket.o
client/device.o client/setup.o client/menu.o client/remote.o
client/assembler.o client/filter.o common.o i18n.o tools/file.o
tools/source.o tools/select.o tools/shared.o tools/socket.o tools/string.o
tools/tools.o libdvbmpeg/libdvbmpegtools.a -o libvdr-streamdev-client.so
g++ -W -Woverloaded-virtual -O2 -c -D_GNU_SOURCE -DHAVE_AUTOPID -I../../../i
nclude -I../../../../DVB/include -I. -o streamdev-server.o
streamdev-server.c
g++ -W -Woverloaded-virtual -O2 -c -D_GNU_SOURCE -DHAVE_AUTOPID -I../../../i
nclude -I../../../../DVB/include -I. -o server/server.o server/server.c
g++ -W -Woverloaded-virtual -O2 -c -D_GNU_SOURCE -DHAVE_AUTOPID -I../../../i
nclude -I../../../../DVB/include -I. -o server/connectionVTP.o
server/connectionVTP.c
server/connectionVTP.c: In member function `bool
cConnectionVTP::CmdLSTR(char*)':
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:374: error: invalid token
server/connectionVTP.c:375:3: invalid preprocessing directive #Patch
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:376: error: invalid token
server/connectionVTP.c:377: error: invalid token
server/connectionVTP.c:377: error: 'class cRecording' has no member named
'Summary'
server/connectionVTP.c:378: error: invalid token
server/connectionVTP.c:378: error: 'class cRecording' has no member named
'Summary'
server/connectionVTP.c:409: error: a function-definition is not allowed here
before '{' token
server/connectionVTP.c:409: error: expected `,' or `;' before '{' token
server/connectionVTP.c:431: error: a function-definition is not allowed here
before '{' token
server/connectionVTP.c:431: error: expected `,' or `;' before '{' token
server/connectionVTP.c:458: error: a function-definition is not allowed here
before '{' token
server/connectionVTP.c:458: error: expected `,' or `;' before '{' token
server/connectionVTP.c:506: error: a function-definition is not allowed here
before '{' token
server/connectionVTP.c:506: error: expected `,' or `;' before '{' token
server/connectionVTP.c:531: error: a function-definition is not allowed here
before '{' token
server/connectionVTP.c:531: error: expected `,' or `;' before '{' token
server/connectionVTP.c:557: error: a function-definition is not allowed here
before '{' token
server/connectionVTP.c:557: error: expected `,' or `;' before '{' token
server/connectionVTP.c:564: error: expected `}' at end of input
make[1]: *** [server/connectionVTP.o] Erreur 1
make[1]: Leaving directory `/usr/local/src/vdr-1.3.31/PLUGINS/src/streamdev'
make[1]: Entering directory
`/usr/local/src/vdr-1.3.31/PLUGINS/src/svdrpdemo'
make[1]: Leaving directory `/usr/local/src/vdr-1.3.31/PLUGINS/src/svdrpdemo'
make[1]: Entering directory
`/usr/local/src/vdr-1.3.31/PLUGINS/src/svdrpdemo'
g++ -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"svd
rpdemo"' -I../../../include -I../../../../DVB/include svdrpdemo.c
svdrpdemo.c:13: warning: 'MAINMENUENTRY' defined but not used
g++ -O2 -Wall -Woverloaded-virtual -shared svdrpdemo.o -o
libvdr-svdrpdemo.so
make[1]: Leaving directory `/usr/local/src/vdr-1.3.31/PLUGINS/src/svdrpdemo'








[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux