Project

General

Profile

Actions

Bug #1085

closed

vdr-burn-0.2.0 - error: 'PRIO_PGRP' was not declared in this scope

Added by marco about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bug
Target version:
-
Start date:
10/07/2012
Due date:
% Done:

0%

Estimated time:

Description

vdr-burn-0.2.0 does not compile on Fedora 18, it fails with the following error message:

@make1: Entering directory `/home/martin/rpmbuild/BUILD/vdr-burn-0.2.0/burn-0.2.0/proctools'
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -I.. -o logger.o logger.cc
burn.c:39:2: warning: #warning Compiling WITHOUT teletext subtitle support [-Wcpp]
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DPLUGIN_NAME='"burn"' -DPLUGIN_NAME_I18N='"burn"' -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DTMPDIR='"/tmp"' -DDVDDEV='"/dev/dvdrw"' -DISODIR='"/pub/export"' -I/usr/lib64/vdr/include -I. -I/usr/include -o chain-dvd.o chain-dvd.c
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -I.. -o conlogger.o conlogger.cc
chain-vdr.c: In member function 'std::string vdr_burn::chain_vdr::create_temp_path(const string&)':
chain-vdr.c:93:24: warning: ignoring return value of 'char* mkdtemp(char*)', declared with attribute warn_unused_result [-Wunused-result]
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DPLUGIN_NAME='"burn"' -DPLUGIN_NAME_I18N='"burn"' -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DTMPDIR='"/tmp"' -DDVDDEV='"/dev/dvdrw"' -DISODIR='"/pub/export"' -I/usr/lib64/vdr/include -I. -I/usr/include -o jobs.o jobs.c
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -I.. -o chain.o chain.cc
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -I.. -o environment.o environment.cc
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -I.. -o process.o process.cc
process.cc: In member function 'bool proctools::process::start_if_idle()':
process.cc:66:16: error: 'PRIO_PGRP' was not declared in this scope
process.cc:66:32: error: 'setpriority' was not declared in this scope
process.cc:53:29: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
process.cc:55:27: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result]
process.cc:56:27: warning: ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result]
make1: *** [process.o] Error 1

attached is a patch for Fedora 18


Files

vdr-burn-0.2.0-PRIO_PGRP.patch (258 Bytes) vdr-burn-0.2.0-PRIO_PGRP.patch vdr-burn-0.2.0-PRIO_PGRP.patch marco, 10/07/2012 07:10 PM
Actions #1

Updated by FireFly about 12 years ago

  • Category set to Bug
  • Status changed from New to Assigned
  • Assignee set to FireFly
Actions #2

Updated by FireFly almost 12 years ago

  • Status changed from Assigned to Closed

fixed in 0.2.1

Actions

Also available in: Atom PDF