Compile errors out with this message: g++ $_R_CXXFLAGS -c wvaddr.cc wvaddr.cc:641: prototype for `WvIPPortAddr::WvIPPortAddr(unsigned char*, short unsigned int)' does not match any in class `WvIPPortAddr' wvaddr.h:365: candidates are: WvIPPortAddr::WvIPPortAddr(const WvIPPortAddr&) wvaddr.h:382: WvIPPortAddr::WvIPPortAddr(sockaddr_in*) wvaddr.h:380: WvIPPortAddr::WvIPPortAddr(const char*, short unsigned int) wvaddr.h:379: WvIPPortAddr::WvIPPortAddr(short unsigned int) wvaddr.h:376: WvIPPortAddr::WvIPPortAddr(const WvString&) wvaddr.h:374: WvIPPortAddr::WvIPPortAddr(const char*) wvaddr.h:373: WvIPPortAddr::WvIPPortAddr(const WvIPAddr&, short unsigned int = 0) wvaddr.h:372: WvIPPortAddr::WvIPPortAddr(const unsigned char*, short unsigned int = 0) wvaddr.cc:634: WvIPPortAddr::WvIPPortAddr() make[2]: *** [wvaddr.o] Error 1 make[1]: *** [ipstreams] Error 2 make: *** [src] Error 2 There also a message in the forums (search for wvstreams) with someone listing a 2 line 2 file fix (not posted yet). That thread also lists a responce from the wvstreams dev guy blaming gcc3.1. (see also bug 3951 - typo in the ebuild file, when working on this bug)
Created attachment 1676 [details] ebuild for patch This ebuild will use the patch i am also attaching. All unpacking/patching is done in src_unpack() as spec'ed by ebuild docs, and compiling works, with the typo-fixed src_compile() and src_install()
Created attachment 1677 [details, diff] patch to fix compile issues with gcc3.1 - mostly cosmetic compliancy stuff This patch is the actual fix for the source... most of the patch is comments explaining the fix... single line changes to the actual source...
Applied patch and ebuild changes, compiles fine now - and wvdial works. :) (Gentoo 1.3a i686). We should make sure this works with older gcc compilers and get this submitted to the dev guys for inclusion in 3.71 if all goes well.