Mailing List archive

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

[vdr] Problems compiling vdr on slackware 8.1 kernel 2.5.69-bk15



Hello, I am having problems compiling vdr-1.1.32, on a slackware 8.1 system. I am using the latest cvs updates (for dvb) but upon typing make I get the the output in the attached file.
To give you some more insight into my system configuration:

bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)

glibc-2.2.5
glib2-2.2.1
glib-1.2.10


Monchi
--
g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -I../DVB/include audio.c
In file included from audio.h:13,
                 from audio.c:10:
thread.h:17: parse error before `cMutex'
thread.h:17: warning: type defaults to `int' in declaration of `cMutex'
thread.h:17: warning: data definition has no type or storage class
thread.h:19: parse error before `cCondVar'
thread.h:19: syntax error before `{'
thread.h:25: parse error before `&'
thread.h:26: parse error before `TimedWait'
thread.h:26: parse error before `&'
thread.h:26: warning: type defaults to `int' in declaration of `TimedWait'
thread.h:26: warning: data definition has no type or storage class
thread.h:29: parse error before `}'
thread.h:31: parse error before `cMutex'
thread.h:31: syntax error before `{'
thread.h:37: parse error before `:'
thread.h:42: parse error before `}'
thread.h:44: parse error before `cThread'
thread.h:44: syntax error before `{'
thread.h:48: warning: type defaults to `int' in declaration of `mutex'
thread.h:48: warning: data definition has no type or storage class
thread.h:50: parse error before `running'
thread.h:50: warning: type defaults to `int' in declaration of `running'
thread.h:50: warning: data definition has no type or storage class
thread.h:51: parse error before `emergencyExitRequested'
thread.h:51: warning: type defaults to `int' in declaration of `emergencyExitRequested'
thread.h:51: warning: data definition has no type or storage class
thread.h:52: parse error before `signalHandlerInstalled'
thread.h:52: warning: type defaults to `int' in declaration of `signalHandlerInstalled'
thread.h:52: warning: data definition has no type or storage class
thread.h:54: parse error before `*'
thread.h:55: parse error before `:'
thread.h: In function `Unlock':
thread.h:57: request for member `Unlock' in something not a structure or union
thread.h: At top level:
thread.h:59: syntax error before `void'
thread.h:59: function `Action' is initialized like a variable
thread.h:60: parse error before `='
thread.h:61: parse error before `:'
thread.h:64: warning: type defaults to `int' in declaration of `Start'
thread.h:64: warning: data definition has no type or storage class
thread.h:65: parse error before `Active'
thread.h:65: warning: type defaults to `int' in declaration of `Active'
thread.h:65: warning: data definition has no type or storage class
thread.h:66: parse error before `EmergencyExit'
thread.h:66: parse error before `Request'
thread.h:66: warning: type defaults to `int' in declaration of `EmergencyExit'
thread.h:66: warning: data definition has no type or storage class
thread.h:75: parse error before `cMutexLock'
thread.h:75: syntax error before `{'
thread.h:78: warning: type defaults to `int' in declaration of `locked'
thread.h:78: warning: data definition has no type or storage class
thread.h:79: parse error before `:'
thread.h:82: parse error before `*'
thread.h:82: warning: type defaults to `int' in declaration of `Lock'
thread.h:82: conflicting types for `Lock'
thread.h:40: previous declaration of `Lock'
thread.h:82: warning: data definition has no type or storage class
thread.h:91: parse error before `cThreadLock'
thread.h:91: syntax error before `{'
thread.h:94: warning: type defaults to `int' in declaration of `locked'
thread.h:94: warning: data definition has no type or storage class
thread.h:95: parse error before `:'
thread.h:98: parse error before `*'
thread.h:98: warning: type defaults to `int' in declaration of `Lock'
thread.h:98: warning: data definition has no type or storage class
thread.h:106: parse error before `cPipe'
thread.h:106: syntax error before `{'
thread.h:110: parse error before `:'
thread.h:113: syntax error before `FILE'
thread.h:113: parse error before `)'
thread.h:114: warning: type defaults to `int' in declaration of `Open'
thread.h:114: warning: data definition has no type or storage class
thread.h:116: parse error before `}'
In file included from audio.h:14,
                 from audio.c:10:
tools.h:49: parse error before `<'
tools.h:52: warning: type defaults to `int' in declaration of `a'
tools.h:52: `b' undeclared here (not in a function)
tools.h:52: warning: data definition has no type or storage class
tools.h:52: warning: type defaults to `int' in declaration of `b'
tools.h:52: `t' undeclared here (not in a function)
tools.h:52: warning: data definition has no type or storage class
tools.h:52: parse error before `}'
tools.h:62: conflicting types for `strreplace'
tools.h:61: previous declaration of `strreplace'
tools.h:67: parse error before `startswith'
tools.h:67: warning: type defaults to `int' in declaration of `startswith'
tools.h:67: warning: data definition has no type or storage class
tools.h:68: parse error before `endswith'
tools.h:68: warning: type defaults to `int' in declaration of `endswith'
tools.h:68: warning: data definition has no type or storage class
tools.h:69: parse error before `isempty'
tools.h:69: warning: type defaults to `int' in declaration of `isempty'
tools.h:69: warning: data definition has no type or storage class
tools.h:73: parse error before `isnumber'
tools.h:73: warning: type defaults to `int' in declaration of `isnumber'
tools.h:73: warning: data definition has no type or storage class
tools.h:76: parse error before `='
tools.h:77: parse error before `bool'
tools.h:77: warning: type defaults to `int' in declaration of `DirectoryOk'
tools.h:77: warning: data definition has no type or storage class
tools.h:78: parse error before `MakeDirs'
tools.h:78: parse error before `bool'
tools.h:78: warning: type defaults to `int' in declaration of `MakeDirs'
tools.h:78: warning: data definition has no type or storage class
tools.h:79: parse error before `RemoveFileOrDir'
tools.h:79: parse error before `bool'
tools.h:79: warning: type defaults to `int' in declaration of `RemoveFileOrDir'
tools.h:79: warning: data definition has no type or storage class
tools.h:80: parse error before `RemoveEmptyDirectories'
tools.h:80: parse error before `bool'
tools.h:80: warning: type defaults to `int' in declaration of `RemoveEmptyDirectories'
tools.h:80: warning: data definition has no type or storage class
tools.h:82: parse error before `SpinUpDisk'
tools.h:82: warning: type defaults to `int' in declaration of `SpinUpDisk'
tools.h:82: warning: data definition has no type or storage class
tools.h:84: parse error before `='
tools.h:86: parse error before `cPoller'
tools.h:86: syntax error before `{'
tools.h:89: parse error before `pfd'
tools.h:89: `MaxPollFiles' undeclared here (not in a function)
tools.h:89: warning: type defaults to `int' in declaration of `pfd'
tools.h:89: warning: data definition has no type or storage class
tools.h:91: parse error before `:'
tools.h:93: parse error before `bool'
tools.h:93: warning: type defaults to `int' in declaration of `Add'
tools.h:93: warning: data definition has no type or storage class
tools.h:94: parse error before `Poll'
tools.h:94: parse error before `='
tools.h:94: warning: type defaults to `int' in declaration of `Poll'
tools.h:94: warning: data definition has no type or storage class
tools.h:97: parse error before `cFile'
tools.h:97: syntax error before `{'
tools.h:101: conflicting types for `f'
thread.h:109: previous declaration of `f'
tools.h:102: parse error before `:'
tools.h:105: syntax error before `int'
tools.h:106: parse error before `='
tools.h:107: warning: type defaults to `int' in declaration of `Open'
tools.h:107: conflicting types for `Open'
thread.h:114: previous declaration of `Open'
tools.h:107: warning: data definition has no type or storage class
tools.h:108: conflicting types for `Close'
thread.h:115: previous declaration of `Close'
tools.h:109: parse error before `IsOpen'
tools.h:109: warning: return-type defaults to `int'
tools.h:110: parse error before `Ready'
tools.h:110: parse error before `Wait'
tools.h:110: warning: type defaults to `int' in declaration of `Ready'
tools.h:110: warning: data definition has no type or storage class
tools.h:111: parse error before `AnyFileReady'
tools.h:111: parse error before `='
tools.h:111: warning: type defaults to `int' in declaration of `AnyFileReady'
tools.h:111: warning: data definition has no type or storage class
tools.h:112: parse error before `FileReady'
tools.h:112: parse error before `='
tools.h:112: warning: type defaults to `int' in declaration of `FileReady'
tools.h:112: warning: data definition has no type or storage class
tools.h:113: parse error before `FileReadyForWriting'
tools.h:113: parse error before `='
tools.h:113: warning: type defaults to `int' in declaration of `FileReadyForWriting'
tools.h:113: warning: data definition has no type or storage class
tools.h:116: parse error before `cSafeFile'
tools.h:116: syntax error before `{'
tools.h:121: parse error before `:'
tools.h:124: syntax error before `FILE'
tools.h:124: parse error before `)'
tools.h:125: warning: type defaults to `int' in declaration of `Open'
tools.h:125: conflicting types for `Open'
tools.h:107: previous declaration of `Open'
tools.h:125: warning: data definition has no type or storage class
tools.h:126: parse error before `Close'
tools.h:126: warning: type defaults to `int' in declaration of `Close'
tools.h:126: conflicting types for `Close'
tools.h:108: previous declaration of `Close'
tools.h:126: warning: data definition has no type or storage class
tools.h:127: parse error before `}'
tools.h:129: parse error before `cLockFile'
tools.h:129: syntax error before `{'
tools.h:133: parse error before `:'
tools.h:136: parse error before `='
tools.h:136: warning: type defaults to `int' in declaration of `Lock'
tools.h:136: warning: data definition has no type or storage class
tools.h:138: parse error before `}'
tools.h:140: parse error before `cListObject'
tools.h:140: syntax error before `{'
tools.h:147: parse error before `*'
tools.h:148: parse error before `*'
tools.h:151: parse error before `*'
tools.h:151: warning: return-type defaults to `int'
tools.h: In function `Prev':
tools.h:151: parse error before `{'
tools.h:152: `next' undeclared (first use in this function)
tools.h:152: (Each undeclared identifier is reported only once
tools.h:152: for each function it appears in.)
tools.h:152: warning: control reaches end of non-void function
tools.h: At top level:
tools.h:153: parse error before `}'
tools.h:155: parse error before `cListBase'
tools.h:155: syntax error before `{'
tools.h:158: warning: type defaults to `int' in declaration of `cListBase'
tools.h:158: warning: data definition has no type or storage class
tools.h:159: parse error before `:'
tools.h:161: parse error before `*'
tools.h:162: parse error before `*'
tools.h:163: parse error before `*'
tools.h:164: syntax error before `void'
tools.h:165: parse error before `*'
tools.h:166: syntax error before `void'
tools.h:167: parse error before `*'
tools.h:167: warning: return-type defaults to `int'
tools.h: In function `Get':
tools.h:167: warning: empty declaration
tools.h:168: parse error before `const'
tools.h:167: parm types given both in parmlist and separately
tools.h:174: `T' undeclared (first use in this function)
tools.h:174: parse error before `int'
tools.h:174: warning: label `public' defined but not used
tools.h:174: warning: control reaches end of non-void function
tools.h: At top level:
tools.h:175: parse error before `*'
tools.h:175: warning: return-type defaults to `int'
tools.h: In function `First':
tools.h:175: parse error before `{'
tools.h:176: `T' undeclared (first use in this function)
tools.h:176: parse error before `)'
tools.h:176: warning: control reaches end of non-void function
tools.h: At top level:
tools.h:177: parse error before `*'
tools.h:177: warning: type defaults to `int' in declaration of `T'
tools.h:177: parse error before `*'
tools.h:177: warning: return-type defaults to `int'
tools.h:177: redefinition of `Prev'
tools.h:151: `Prev' previously defined here
tools.h: In function `Prev':
tools.h:178: `T' undeclared (first use in this function)
tools.h:178: parse error before `)'
tools.h:178: warning: control reaches end of non-void function
In file included from audio.c:10:
audio.h: At top level:
audio.h:16: parse error before `cAudio'
audio.h:21: syntax error before `void'
audio.h:21: function `Play' is initialized like a variable
audio.h:26: syntax error before `void'
audio.h:26: parse error before `On'
audio.h:26: function `Mute' is initialized like a variable
audio.h:29: syntax error before `void'
audio.h:29: function `Clear' is initialized like a variable
audio.h:31: parse error before `}'
audio.h:33: parse error before `cAudios'
audio.h:36: parse error before `On'
audio.h:38: parse error before `}'
audio.h:40: parse error before `Audios'
audio.h:40: warning: type defaults to `int' in declaration of `Audios'
audio.h:40: warning: data definition has no type or storage class
audio.h:42: parse error before `cExternalAudio'
audio.h:45: warning: type defaults to `int' in declaration of `pipe'
audio.h:45: warning: data definition has no type or storage class
audio.h:46: parse error before `mute'
audio.h:46: warning: type defaults to `int' in declaration of `mute'
audio.h:46: warning: data definition has no type or storage class
audio.h:47: parse error before `:'
audio.h:50: syntax error before `void'
audio.h:51: syntax error before `void'
audio.h:51: parse error before `On'
audio.h:52: syntax error before `void'
audio.h:53: parse error before `}'
audio.c:15: parse error before `:'
audio.c:26: warning: type defaults to `int' in declaration of `Audios'
audio.c:26: warning: data definition has no type or storage class
audio.c:28: parse error before `:'
audio.c:30: warning: type defaults to `int' in declaration of `audio'
audio.c:30: warning: data definition has no type or storage class
audio.c:30: warning: type defaults to `int' in declaration of `audio'
audio.c:30: warning: implicit declaration of function `Next'
audio.c:30: initializer element is not constant
audio.c:30: parse error before `)'
audio.c:34: parse error before `:'
audio.c:36: warning: type defaults to `int' in declaration of `audio'
audio.c:36: warning: data definition has no type or storage class
audio.c:36: warning: type defaults to `int' in declaration of `audio'
audio.c:36: redefinition of `audio'
audio.c:30: `audio' previously defined here
audio.c:36: initializer element is not constant
audio.c:36: parse error before `)'
audio.c:40: parse error before `:'
audio.c:42: warning: type defaults to `int' in declaration of `audio'
audio.c:42: warning: data definition has no type or storage class
audio.c:42: warning: type defaults to `int' in declaration of `audio'
audio.c:42: redefinition of `audio'
audio.c:36: `audio' previously defined here
audio.c:42: initializer element is not constant
audio.c:42: parse error before `)'
audio.c:50: `__len' undeclared here (not in a function)
audio.c:50: initializer element is not constant
audio.c:50: parse error before `if'
audio.c:50: warning: type defaults to `int' in declaration of `__retval'
audio.c:50: conflicting types for `__retval'
audio.c:50: previous declaration of `__retval'
audio.c:50: warning: data definition has no type or storage class
audio.c:50: parse error before `}'
audio.c:51: warning: type defaults to `int' in declaration of `mute'
audio.c:51: `false' undeclared here (not in a function)
audio.c:51: warning: data definition has no type or storage class
audio.c:52: parse error before `}'
audio.c:59: parse error before `:'
audio.c:82: warning: type defaults to `int' in declaration of `free'
audio.c:82: warning: parameter names (without types) in function declaration
audio.c:82: conflicting types for `free'
/usr/include/stdlib.h:538: previous declaration of `free'
audio.c:82: warning: data definition has no type or storage class
audio.c:83: warning: type defaults to `int' in declaration of `command'
audio.c:83: warning: initialization makes integer from pointer without a cast
audio.c:83: warning: data definition has no type or storage class
audio.c:84: parse error before `}'
audio.c:88: parse error before `:'
audio.c:95: parse error before `:'
thread.h:53: warning: `SignalHandler' declared `static' but never defined
thread.h:54: warning: `StartThread' declared `static' but never defined
tools.h:100: warning: `maxFiles' defined but not used
make: *** [audio.o] Error 1

Home | Main Index | Thread Index