Bug #1085
closedvdr-burn-0.2.0 - error: 'PRIO_PGRP' was not declared in this scope
0%
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
Updated by FireFly about 12 years ago
- Category set to Bug
- Status changed from New to Assigned
- Assignee set to FireFly