binarycrusader / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Build fails on Fedora 17 #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The build of 0.4.7 fails with the following on Fedora 17:

[ 16%] Building CXX object 
libproxy/CMakeFiles/pxgsettings.dir/modules/pxgsettings.cpp.o
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp: In member function ‘char* 
libproxy::url::get_pac()’:
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp:398:37: error: ‘read’ was 
not declared in this scope
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp:423:13: error: ‘close’ 
was not declared in this scope
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp:439:13: error: ‘close’ 
was not declared in this scope
make[2]: *** [libproxy/test/CMakeFiles/url-test.dir/__/url.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Linking CXX executable pxgsettings
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp: In member function ‘char* 
libproxy::url::get_pac()’:
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp:398:37: error: ‘read’ was 
not declared in this scope
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp:423:13: error: ‘close’ 
was not declared in this scope
/data/src/jhbuild/libproxy-0.4.7/libproxy/url.cpp:439:13: error: ‘close’ 
was not declared in this scope
make[2]: *** [libproxy/test/CMakeFiles/url-encode.dir/__/url.cpp.o] Error 1
make[1]: *** [libproxy/test/CMakeFiles/url-encode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 16%] Built target pxgsettings
make[1]: *** [libproxy/test/CMakeFiles/url-test.dir/all] Error 2
Linking CXX static library libmodman.a
[ 16%] Built target modman
make: *** [all] Error 2

Will attach a patch which fixes the problem.

Original issue reported on code.google.com by stefwal...@gmail.com on 24 Apr 2012 at 12:04

GoogleCodeExporter commented 9 years ago
This patch fixes the problem.

[stef@stef-desktop libproxy-read-only]$ gcc --version
gcc (GCC) 4.7.0 20120416 (Red Hat 4.7.0-2)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Original comment by stefwal...@gmail.com on 24 Apr 2012 at 12:07

Attachments:

GoogleCodeExporter commented 9 years ago
This particular issue has been reported earlier and has already been addressed 
in svn trunk, r833.

Original comment by dominiqu...@gmail.com on 25 Apr 2012 at 11:27