rssreader 0.4 not compiling

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

 



While trying to compile version 0.4 I get the following errors:

make[1]: Entering directory `/usr/src/vdr-hack/vdr-1.3.37/PLUGINS/src/rssreader-0.0.4'
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -I/usr/src/vdr/DVB/linux/include -c -
D_GNU_SOURCE -DPLUGIN_NAME_I18N='"rssreader"' -I../../../include -
I/usr/src/vdr/DVB/includeparser.c
parser.c:165: syntax error before `(' token
parser.c:169: parse error before `;' token
parser.c:171: syntax error before `->' token
parser.c:172: syntax error before `->' token
parser.c:173: syntax error before `->' token
parser.c:180: syntax error before `(' token
parser.c:184: `node' was not declared in this scope
parser.c:184: `el' was not declared in this scope
parser.c:184: ISO C++ forbids declaration of `strncpy' with no type
parser.c:184: `int strncpy' redeclared as different kind of symbol
/usr/include/string.h:86: previous declaration of `char* strncpy(char*, const 
   char*, unsigned int)'
parser.c:184: initializer list being treated as compound expression
parser.c:185: syntax error before `.' token
parser.c:186: syntax error before `.' token
parser.c:190: ISO C++ forbids declaration of `item' with no type
parser.c:190: conflicting types for `int item'
parser.c:151: previous declaration as `cItem*item'
parser.c:190: `tmpitem' was not declared in this scope
parser.c:191: syntax error before `->' token
parser.c:193: syntax error before `++' token
parser.c:197: syntax error before `(' token
parser.c:202: parse error before `if'
parser.c:209: ISO C++ forbids declaration of `strncpy' with no type
parser.c:209: redefinition of `int strncpy'
parser.c:184: `int strncpy' previously defined here
parser.c:209: initializer list being treated as compound expression
parser.c:212: syntax error before `--' token
parser.c:222: syntax error before `->' token
parser.c:249: `txt' was not declared in this scope
parser.c:249: ISO C++ forbids declaration of `striphtml' with no type
parser.c:249: `int striphtml' redeclared as different kind of symbol
parser.c:43: previous declaration of `char* striphtml(char*)'
parser.c:250: `txt' was not declared in this scope
parser.c:250: ISO C++ forbids declaration of `stripspaces' with no type
parser.c:250: `int stripspaces' redeclared as different kind of symbol
parser.c:61: previous declaration of `char* stripspaces(char*)'
parser.c:251: syntax error before `->' token
parser.c:257: ISO C++ forbids declaration of `strcpy' with no type
parser.c:257: `int strcpy' redeclared as different kind of symbol
/usr/include/string.h:83: previous declaration of `char* strcpy(char*, const 
   char*)'
parser.c:257: initializer list being treated as compound expression
parser.c:257: invalid conversion from `const char*' to `int'
parser.c:258: parse error before `}' token
parser.c: In function `int rss_parser(char*)':
parser.c:282: `start' undeclared (first use this function)
parser.c:282: (Each undeclared identifier is reported only once for each 
   function it appears in.)
parser.c:282: `end' undeclared (first use this function)
parser.c:284: `unknownencoding' undeclared (first use this function)
/usr/include/c++/3.2.2/bits/stl_stack.h: At top level:
parser.c:43: warning: `char* striphtml(char*)' defined but not used
parser.c:61: warning: `char* stripspaces(char*)' defined but not used
make[1]: *** [parser.o] Error 1

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --
enable-shared --enable-threads=posix --disable-checking --with-system-zlib -enable-
__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

Kernel 2.4.31

Thilo

-- 
Thilo Wunderlich




[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