I do not know if this has been covered or not but when I was trying to compile wvdial it needed wvstream but it has the following error
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
I did a google search and found this page
http://code.google.com/p/wvstreams/issues/detail?id=28 I then downloaded the
patch file and edit to work in the T2 build system and got wvstream to
compile. I have attached the patch file.
--
Live and let live
MyWolfe at Sourceforge <https://sourceforge.net/projects/mywolfe/>
MyWolfe blogspot <http://mywolfe.blogspot.com/>
MyWolfe Google groups <http://groups.google.com/group/mywolfe-linux>
wvstreams-4.6.1-glibc212.patch
Description: Binary data
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
