wvstreams-4.6.1 fails to compile with gcc-4.5.1:

169 views
Skip to first unread message

Antonio Olivares

unread,
Oct 28, 2010, 6:51:55 PM10/28/10
to wvstreams-devel
Dear folks,

Has anyone got wvstreams to compile on gcc 4.5.1 :

I get the following:


wvstreams-4.6.1 fails to compile with gcc-4.5.1:

wvstreams-4.6.1/win32/pstorec.tlh
wvstreams-4.6.1/win32/utils.cc
wvstreams-4.6.1/win32/wvwin32task.cc
wvstreams-4.6.1/win32/uniregistrygen.cc
bash-4.1# cd wvstreams-4.6.1
bash-4.1# ls
ChangeLog config.guess git-grafts-setup utils
Docs config.mk.in include win32
Doxyfile config.sub install-sh win32.mk
LICENSE configfile install.mk wvrules-posix.mk
Makefile configure ipstreams wvrules.mk
README configure-mingw32 linuxstreams wvstreams.supp
README.TESTS configure.ac pkgconfig wvtestmain.cc
argp crypto qt wvtestrun
autogen.sh dbus streams xplc
autom4te.cache ee uniconf xplc-cxx
config.defaults.mk gen-cc urlget
bash-4.1# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for __attribute__ ((deprecated))... yes
checking argp.h usability... yes
checking argp.h presence... yes
checking for argp.h... yes
checking for argp_parse... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for working alloca.h... yes
checking for alloca... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for error_t... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking for net/ethernet.h... yes
checking for netinet/if_ether.h... yes
checking whether ETHER_ADDR_LEN is declared... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking for cfmakeraw... yes
checking whether ln works...... yes
checking whether __libc_stack_end is public... no
checking for pkg-config... /usr/bin/pkg-config
checking Checking that D-Bus version greater than 1.2.14 installed.... yes
checking dbus/dbus.h usability... yes
checking dbus/dbus.h presence... yes
checking for dbus/dbus.h... yes
checking for bind in -lsocket... no
checking for openssl/ssl.h... yes
checking for X509_free in -lcrypto... yes
checking for SSL_has_matching_session_id in -lssl... yes
checking for POLICY_MAPPING_new in -lssl... yes
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for readline in -lreadline... no
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking for pam_start in -lpam... no
checking for sane PAM implementation... no
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for TclInterpInit in -ltcl8.3... no
checking for Qt... no
checking for moc... moc not found
checking for valgrind... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking tr1/functional usability... yes
checking tr1/functional presence... yes
checking for tr1/functional... yes
checking boost/function.hpp usability... no
checking boost/function.hpp presence... no
checking for boost/function.hpp... no
checking boost/throw_exception.hpp usability... no
checking boost/throw_exception.hpp presence... no
checking for boost/throw_exception.hpp... no
configure: WARNING: PAM is missing.
configure: WARNING: Qt is missing.
configure: WARNING: Valgrind is missing.
configure: WARNING: readline is missing.
configure: creating ./config.status
config.status: creating config.mk
config.status: creating pkgconfig/libuniconf.pc
config.status: creating pkgconfig/libuniconf-uninstalled.pc
config.status: creating pkgconfig/libwvbase.pc
config.status: creating pkgconfig/libwvbase-uninstalled.pc
config.status: creating pkgconfig/libwvdbus.pc
config.status: creating pkgconfig/libwvdbus-uninstalled.pc
config.status: creating pkgconfig/libwvqt.pc
config.status: creating pkgconfig/libwvqt-uninstalled.pc
config.status: creating pkgconfig/libwvstreams.pc
config.status: creating pkgconfig/libwvstreams-uninstalled.pc
config.status: creating pkgconfig/libwvutils.pc
config.status: creating pkgconfig/libwvutils-uninstalled.pc
config.status: creating pkgconfig/libwvtest.pc
config.status: creating pkgconfig/libwvtest-uninstalled.pc
config.status: creating include/wvautoconf.h
bash-4.1# make
* Generating CC using c
* Generating CXX using cc
./CXX -c utils/wvbuffer
./CXX -c utils/wvbufferstore
./CXX -c utils/wvcont
./CXX -c utils/wverror
./CXX -c streams/wvfdstream
./CXX -c utils/wvfork
./CXX -c utils/wvhash
./CXX -c utils/wvhashtable
./CXX -c utils/wvlinklist
./CXX -c utils/wvmoniker
./CXX -c utils/wvregex
./CXX -c utils/wvscatterhash
./CXX -c utils/wvsorter
./CXX -c utils/wvattrs
./CXX -c utils/wvstring
./CXX -c utils/wvstringlist
./CXX -c utils/wvstringmask
./CXX -c utils/strutils
./CXX -c utils/wvtask
./CXX -c utils/wvtimeutils
./CXX -c streams/wvistreamlist
./CXX -c utils/wvstreamsdebugger
./CXX -c streams/wvlog
./CXX -c streams/wvstream
./CXX -c uniconf/uniconf
./CXX -c uniconf/uniconfgen
./CXX -c uniconf/uniconfkey
./CXX -c uniconf/uniconfroot
./CXX -c uniconf/unihashtree
./CXX -c uniconf/unimountgen
./CXX -c uniconf/unitempgen
./CXX -c utils/wvbackslash
./CXX -c utils/wvencoder
./CXX -c utils/wvtclstring
./CXX -c utils/wvstringcache
./CXX -c uniconf/uniinigen
./CXX -c uniconf/unilistiter
./CXX -c streams/wvfile
./CXX -c streams/wvstreamclone
./CXX -c streams/wvconstream
./CXX -c utils/wvcrashbase
./CXX -c xplc-cxx/factory
./CXX -c xplc-cxx/getiface
./CXX -c xplc-cxx/strtouuid
./CXX -c xplc-cxx/uuidtostr
./CXX -c xplc-cxx/xplc
./CXX -c xplc/category
./CXX -c xplc/catiter
./CXX -c xplc/catmgr
./CXX -c xplc/loader
./CXX -c xplc/moduleloader
./CXX -c xplc/modulemgr
./CXX -c xplc/monikers
./CXX -c xplc/new
./CXX -c xplc/servmgr
./CXX -c xplc/statichandler
./CXX -c uniconf/unigenhack
linking libwvbase.so...
./CXX -c utils/strcrypt
./CXX -c utils/verstring
./CXX -c utils/wvargs
./CXX -c utils/wvassert
./CXX -c utils/wvbase64
./CXX -c utils/wvcrash
./CXX -c utils/wvdiriter
./CXX -c utils/wvglob
./CXX -c utils/wvglobdiriter
./CXX -c utils/wvgzip
./CXX -c utils/wvhex
./CXX -c utils/wvmagiccircle
./CXX -c utils/wvmatrix
./CXX -c utils/wvpam
./CXX -c utils/wvrateadjust
./CXX -c utils/wvserialize
./CXX -c utils/wvshmzone
./CXX -c utils/wvstringtable
./CXX -c utils/wvsubproc
./CXX -c utils/wvsubprocqueue
./CXX -c utils/wvsystem
./CXX -c utils/wvtest
./CXX -c utils/wvtr1
./CXX -c utils/wvuid
./CXX -c utils/wvwordwrap
linking libwvutils.so...
./CXX -c configfile/cfgentry
./CXX -c configfile/cfgsection
./CXX -c configfile/wvconf
./CXX -c crypto/wvblowfish
./CXX -c crypto/wvcountermode
./CXX -c crypto/wvcrl
./CXX -c crypto/wvcrypto
./CXX -c crypto/wvdiffiehellman
./CXX -c crypto/wvdigest
./CXX -c crypto/wvdsa
./CXX -c crypto/wvoakley
./CXX -c crypto/wvocsp
./CXX -c crypto/wvrsa
./CC -c crypto/wvsslhacks
./CXX -c crypto/wvsslstream
./CXX -c crypto/wvtripledes
./CXX -c crypto/wvx509
./CXX -c crypto/wvx509mgr
./CXX -c crypto/wvxor
./CXX -c ipstreams/wvaddr
In file included from ipstreams/wvaddr.cc:19:0:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvipraw
In file included from ./include/wvipraw.h:10:0,
from ipstreams/wvipraw.cc:8:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvlistener
In file included from ipstreams/wvlistener.cc:10:0:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvresolver
In file included from ./include/wvresolver.h:10:0,
from ipstreams/wvresolver.cc:7:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvstreamsdebuggerserver
In file included from ./include/wvstreamsdebuggerserver.h:12:0,
from ipstreams/wvstreamsdebuggerserver.cc:6:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvtcp
In file included from ./include/wvtcplistener.h:11:0,
from ipstreams/wvtcp.cc:7:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvudp
In file included from ./include/wvudp.h:10:0,
from ipstreams/wvudp.cc:8:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
./CXX -c ipstreams/wvunixdgsocket
In file included from ./include/wvunixdgsocket.h:13:0,
from ipstreams/wvunixdgsocket.cc:1:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer
will break strict-aliasing rules
ipstreams/wvunixdgsocket.cc: In constructor
'WvUnixDGSocket::WvUnixDGSocket(const WvFastString&, bool, int)':
ipstreams/wvunixdgsocket.cc:50:32: error: 'chmod' was not declared in this scope
make: *** [ipstreams/wvunixdgsocket.o] Error 1


Thanks in Advance,

Antonio

Reply all
Reply to author
Forward
0 new messages