binarycrusader / libproxy

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

Solaris 10 compilation failure #195

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
libproxy does not compile on Solaris 10. It fails here:

[ 78%] Building CXX object 
libproxy/CMakeFiles/config_gnome3.dir/modules/config_gnome3.cpp.o
/pkgsrc/source/local/libproxy-0.4.11/libproxy/modules/config_gnome3.cpp: In 
member function 'virtual std::vector<libproxy::url> 
gnome_config_extension::get_config(const libproxy::url&)':
/pkgsrc/source/local/libproxy-0.4.11/libproxy/modules/config_gnome3.cpp:188:3: 
error: 'memset' was not declared in this scope
*** Error code 1
The following command caused the error:
cd /pkgsrc/source/local/libproxy-0.4.11/build/libproxy && 
/usr/local/gcc/gcc-4.7.3/bin/c++   -Dconfig_gnome3_EXPORTS 
-DLIBEXECDIR=\"/usr/local/libexec\" -fvisibility=hidden   -g -DNDEBUG -fPIC 
-I/pkgsrc/source/local/libproxy-0.4.11 
-I/usr/pkgsrc/20130422/include/glib/glib-2.0 
-I/usr/pkgsrc/20130422/lib/glib-2.0/include -I/usr/pkgsrc/20130422/include -o 
CMakeFiles/config_gnome3.dir/modules/config_gnome3.cpp.o -c 
/pkgsrc/source/local/libproxy-0.4.11/libproxy/modules/config_gnome3.cpp
make: Fatal error: Command failed for target 
`libproxy/CMakeFiles/config_gnome3.dir/modules/config_gnome3.cpp.o'
Current working directory /pkgsrc/source/local/libproxy-0.4.11/build
*** Error code 1
The following command caused the error:
make -f libproxy/CMakeFiles/config_gnome3.dir/build.make 
libproxy/CMakeFiles/config_gnome3.dir/build
make: Fatal error: Command failed for target 
`libproxy/CMakeFiles/config_gnome3.dir/all'
Current working directory /pkgsrc/source/local/libproxy-0.4.11/build
*** Error code 1
The following command caused the error:
make -f CMakeFiles/Makefile2 all
make: Fatal error: Command failed for target `all'

The version found in pkgsrc works a little bit better, but reveals that 
networking will probably fail, because the libraries "libsocket" and "libnsl" 
are not used. Finally, libmodman/test uses the linker option "--no-as-needed" 
unconditionally, which is unknown to the Solaris linker.

Original issue reported on code.google.com by joe...@googlemail.com on 31 May 2013 at 11:16

GoogleCodeExporter commented 9 years ago

Original comment by dominiqu...@gmail.com on 27 Aug 2013 at 6:21